1 The Minify plugin minifies your CSS and Javascript, removing whitespace and comments.
3 Note that if enabled this plugin and use a theme server,
4 (if any of $config['theme']['server'], $config['theme']['path'],
5 $config['theme']['dir'] are set) theme CSS will not be minified.
7 This plugin will use memcache, if it is available, for storing minified inline
8 and file javascript and css. Because minification is non-trivial, using
9 memcache is recommended.
13 add "addPlugin('minify',
14 array('setting'=>'value', 'setting2'=>'value2', ...);"
15 to the bottom of your config.php
19 minifyInlineJs (true): Minify inline javascript.
20 Because caching isn'tas effective for inline resources (due to its more
21 dynamic nature) than static files, minifying inline resources may adversely
22 affect performance for higher volume sites. Testing (and memcache usage)
23 are highly recommended.
24 minifyInlineCss (true): Minify inline CSS.
25 Because caching isn'tas effective for inline resources (due to its more
26 dynamic nature) than static files, minifying inline resources may adversely
27 affect performance for higher volume sites. Testing (and memcache usage)
28 are highly recommended.
33 addPlugin('minify', array());