gnu-social/plugins/Minify
Mikael Nordfeldth 871912a00a Plugins didn't match lib/plugin.php onPluginVersion function definition
I ran:
for i in `grep -R onPluginVersion...version plugins/|cut -d: -f1`; do sed -i '{ s/\(onPluginVersion(\)\(\&\$versions\)/\1array \2/ }' $i; done
2015-06-06 22:04:01 +02:00
..
actions Cosmetic changes to common_redirect, clientError, serverError 2014-03-10 00:25:57 +01:00
extlib/minify remove unit tests for minify 2009-12-07 12:13:42 -05:00
locale Snapshot of the Transifex translation project - February 2015 2015-03-08 09:34:38 +01:00
MinifyPlugin.php Plugins didn't match lib/plugin.php onPluginVersion function definition 2015-06-06 22:04:01 +02:00
README Use profile->getBestName() instead of more complex i18n unfriendly construction. 2011-04-25 22:44:21 +02:00

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',
    array('setting'=>'value', 'setting2'=>'value2', ...);"
to the bottom of your config.php

Settings
========
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());