getpelican/pelican — pull request #586 by mblayman (2012-11-19 01:48:27+00:00)
Title: Gzip caching plugin

This is a plugin that will create a gzipped cache file for all the text file types. I wrote this so I could take advantage of gzip_static in Nginx which looks for files with a .gz extension when attempting to serve compressed versions (e.g., foo.html would look for foo.html.gz in the same directory).

This will enable a pelican project to run from a webserver without needing the webserver to do on-the-fly gzip compression (which will help to reduce CPU load).

I'm not sure why the plugin documentation file looks like I completely redid it. All I did was add a section for the "Gzip cache" plugin and added the section to the bulleted list of plugins. Perhaps it's because I edited the file through Cygwin and used the GitHub Windows client. Maybe it's an issue with dos2unix or unix2dos file formatting.