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