Kurt McKee

lessons learned in production

Archive

Hey there! This article was written in 2020.

It might not have aged well for any number of reasons, so keep that in mind when reading (or clicking outgoing links!).

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!

☕ Like my work? I accept tips!