Output Compression plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://craz8.com/svn/trunk/plugins/output_compression/
Some notes:
* The request must be checked to see if the browser supports gzip encoding before sending the compressed data
* I don’t do the gzip detection entirely to spec, if q=0 in the accept encoding header, GZIP should be disabled.
Since the request accept-encoding header must be checked, and the content-encoding header added, the original code example could never have worked correctly. My version of the code should work in most cases.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago

