]> git.draconx.ca Git - homepage.git/commitdiff
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)
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.


No differences found