Tonbrand Software Logo
Home Products Downloads Reviews Awards Purchase Support Contact 
 

What do our optimizers remove from your code? A short explanation:

Go back

These are the optimization preferences of Web Site Maestro on Mac OS X.
All other optimizers share the checked optimization options. Shown here is the advanced mode.

Optimization preferences

Treating all code as XHTML is useful when HTML pages are included in XHTML pages, as happens with certain template engines.
Optimizing script code deals with all code that is not pure HTML code. Each script code type gets its own special treatment in order to get the best result without corrupting it.
Removing script comments is obvious. These are only useful for yourself, so why put them online. In some cases you may want to only remove single-line or multi-line comments.
Removing returns is a very effective method to save bytes but measures should be taken that very long lines - over 2048 bytes - are avoided by this process. Our optimizers take care of this.
You have a choice to remove all returns or only waste returns to keep the code readable to humans.
Removing waste white space and tabs is obvious too, but sometimes multiple white space is not just waste white space and removing it would corrupt the (script) code. Our optimizers take care of this as well.
Removing all tabs can safely be done in 99.9% of all cases.
Removing "\n" and "\t" or "\t\t" or "\t\t\t\" etc. from FluxBB code.
Redundant custom tags are mostly inserted by HTML Editors for their own purpose and nothing else.

Optional end tags like </option> can be removed but this is forbidden in XML or XHTML code, so our optimizers take care of that.
(X)HTML and CF comments can safely be removed. You may decide to also remove comments that start with <!--#.
Removing unneeded quotation marks from attribute values and hyperlink strings is done where permitted.
JPEG images can be optimized, saving about half their size. You can specify in Preferences the image quality (default 70%).
PNG images with and without a mask can be optimized as well. You can specify in Preferences the compression level.
Adding missing width and height attributes to image links - not available in HTML-Optimizer (Plus) - contributes to building up the page faster by the client's browser.
Adding missing alt attributes on the fly - not available in HTML-Optimizer (Plus) - can be tricky if you add more than an empty string. Read the Manual for Mac to learn about the details.
Note that you can also check beforehand if the attributes concerned are missing.
Encoding email addresses is recommended if you have 'mailto:' links in your HTML code. The encoding will protect you from spam harvesters. This option works only for HTML code, not script code.
Qualifying URLs makes that external pages are loaded faster.

  Copyright (©) 2010 Tonbrand Software. All rights reserved. Back to top