summaryrefslogtreecommitdiff
path: root/plugins/Minify/README
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-12-05 00:41:22 -0500
committerCraig Andrews <candrews@integralblue.com>2009-12-05 00:41:22 -0500
commitc08d7f1aa4ac235f524da3994c2f1aef3b0fd079 (patch)
tree75098405fbfe5873678703cb765bad56d6b7cac1 /plugins/Minify/README
parent88e50003ae7840358c2a520c6cb808231b958769 (diff)
Minify inline JS and CSS (can be disable in configuration)
Diffstat (limited to 'plugins/Minify/README')
-rw-r--r--plugins/Minify/README15
1 files changed, 14 insertions, 1 deletions
diff --git a/plugins/Minify/README b/plugins/Minify/README
index 8f2eefa2c..f7763735e 100644
--- a/plugins/Minify/README
+++ b/plugins/Minify/README
@@ -4,6 +4,10 @@ Note that if enabled this plugin and use a theme server,
(if any of $config['theme']['server'], $config['theme']['path'],
$config['theme']['dir'] are set) theme CSS will not be minified.
+This plugin will use memcache, if it is available, for storing minified inline
+ and file javascript and css. Because minification is non-trivial, using
+ memcache is recommended.
+
Installation
============
add "addPlugin('minify',
@@ -12,7 +16,16 @@ to the bottom of your config.php
Settings
========
-None at the moment
+minifyInlineJs (true): Minify inline javascript.
+ Because caching isn'tas effective for inline resources (due to its more
+ dynamic nature) than static files, minifying inline resources may adversely
+ affect performance for higher volume sites. Testing (and memcache usage)
+ are highly recommended.
+minifyInlineCss (true): Minify inline CSS.
+ Because caching isn'tas effective for inline resources (due to its more
+ dynamic nature) than static files, minifying inline resources may adversely
+ affect performance for higher volume sites. Testing (and memcache usage)
+ are highly recommended.
Example
=======