Add a postprocess hook to gzip output text items.
authorNick Bowler <nbowler@draconx.ca>
Thu, 10 Jan 2019 03:00:58 +0000 (22:00 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 10 Jan 2019 03:00:58 +0000 (22:00 -0500)
commit6eafcf5e8667fd376e66e1662f44ceeacde54a74
tree81007c509b8a3d20c50f32840c0747eb4dcf6117
parente568824ea21f983841b8ab9e2afbcf0c57573f0b
Add a postprocess hook to gzip output text items.

This enables the use of nginx gzip_static functionality, reducing
per-request processing.  This is only done if GZIP_SITE is set to
a nonempty value in the environment so it can be run only when
publishing to avoid noise when authoring.
Rules