Manual Reference Pages - JIFTY::PLUGIN::COMPRESSEDCSSANDJS (3)
# In your jifty config.yml under the framework section:
This plugin provides auto-compilation and on-wire compression of your
your ConfigFileVersion is greater or equal than 2.
It also supports js minifier, you will need to specify the full path.
The jsmin can be obtained from
Note that you will need to use ConfigFileVersion 2 to be able to
configure jsmin feature.
skipped_js is a list of js that you dont want to compress for some reason.
generate_early tells the plugin to compress the CSS and JS at process start
rather than on the first request. This can save time, especially if your
JS minifier is slow, for the poor sucker who makes the first request. Enabled
Initializes the compression object. Takes a paramhash containing keys
css and js which can be used to disable compression on files of
Returns whether JS compression is enabled (which it is by default)
Returns whether CSS compression is enabled (which it is by default)
Checks if the compressed CSS is generated, and if it isnt, generates
and caches it. (In devel mode, it always regenerates it)
Checks if the compressed JS is generated, and if it isnt, generates
and caches it.
Runs the given JS through jsmin
psgi app wrapper to serve url controlled by us
|perl v5.20.3 ||JIFTY::PLUGIN::COMPRESSEDCSSANDJS (3) ||2010-09-25 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.