X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FMinify%2FREADME;h=f7763735ed7adb91a24ba2ea6c574d24acd437bd;hb=07963a2a1061b8904c7c4df338c6e828ad6d8c40;hp=7fb7e239a31ccd12b0ab19b8606e97b1ba3b7b2a;hpb=01b089d9be046db1253cb3bb90e8635b50fddd84;p=quix0rs-gnu-social.git diff --git a/plugins/Minify/README b/plugins/Minify/README index 7fb7e239a3..f7763735ed 100644 --- a/plugins/Minify/README +++ b/plugins/Minify/README @@ -1,7 +1,12 @@ The Minify plugin minifies your CSS and Javascript, removing whitespace and comments. -Note that if enabled this plugin and use a theme server - ($config['theme']['server']), your theme server will not be used. +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 ============ @@ -11,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 =======