The options that are available in this feature are as follows:
- Automatic Settings
The Automatic Settings are are six pre-configured settings that automatically configure the granular settings in the
Automatic Settingsare found in the
Automatic Settings Groupthat normally appear in a collapsed section below the
- HTML minification level
Minify HTML,setting is enabled, then this setting determines the level of minification. There are three options to choose from, the first being the default setting.
Basic. All runs of whitespace outside elements are reduced to one space. If a line end is included then it is reduced to one line end instead.
Advanced. In addition to
Basicminification, HTML comments are reduced and whitespaces are removed from around block elements such as
<div>and undisplayed elements like
Ultra. In addition to
Advancedminification, redundant HTML attributes like
- Combine files delivery
PHP using url rewrite with .htaccess . As above but the plugin uses an .htaccess file to perform url-rewriting to remove the query and make the link appears like a static file. So the link is rewritten to look like this instead:
The advantage of using url-rewriting is that, besides making the link look more aesthetic, this promotes proxy caching as some DNS or proxy servers will not cache a filename if it contains a query.
PHP using url rewrite (Without Options +FollowSymLinks) . As above except that an .htaccess file that doesn't contain the directive
Options +FollowSymLinksis used instead as this is prohibited in .htaccess files by some servers' configuration.