]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Minify/README
Maximum character limit with utf8mb4 is 191 in varchar
[quix0rs-gnu-social.git] / plugins / Minify / README
index 8f2eefa2c7d0800f4e4829889dea4dc36919cef0..97fa7dadf9e01e639095346ed4aba829197c0e99 100644 (file)
@@ -1,9 +1,14 @@
-The Minify plugin minifies your CSS and Javascript, removing whitespace and comments.
+The Minify plugin minifies your CSS and Javascript, removing whitespace and
+comments.
 
 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,10 +17,18 @@ 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
 =======
 
 addPlugin('minify', array());
-