gnu-social/plugins/Minify
Siebrand Mazeland 7a9b989349 Localisation updates from http://translatewiki.net.
Location information removed from translation files with msgmerge --no-location to decrease size of files and reduce diff size. Unfortunately there does not appear to be a setting in msgmerge or msgattrib to remove the extracted comments ("#.") from translation files. If you do know of such a switch, please let me know!
2011-03-06 02:52:28 +01:00
..
extlib/minify remove unit tests for minify 2009-12-07 12:13:42 -05:00
locale Localisation updates from http://translatewiki.net. 2011-03-06 02:52:28 +01:00
minify.php Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x 2010-10-04 12:54:36 -07:00
MinifyPlugin.php Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x 2010-10-04 12:54:36 -07:00
README Minify inline JS and CSS (can be disable in configuration) 2009-12-05 00:41:22 -05: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());