Kurt McKee

lessons learned in production

Announcing pelican_precompress

Posted 5 February 2020 in pelican, plugin, python, software, and website

As discussed, I'm pleased to announce a new Pelican plugin: pelican_precompress!

If you only install the plugin, it will automatically gzip your text content (like HTML, CSS, and Javascript). But if you install the Python zopfli and brotli modules it'll instantly start outputting Zopfli-optimized gzip files and Brotli files.

Version 1.0.0 is available now. Go get it!