zulip/puppet
Alex Vandiver 2840e68548 static: Pre-compress with zopfli, for better compression.
Zopfli[^1] performs very good, but time-intensive, zlib compression.
It is hence only suitable for pre-compressing objects, not on-the-fly
compression.

Use a webpack plugin to write pre-compressed versions of JS and CSS
assets using Zopfli, and configure nginx to serve those assets when
`Accept-Encoding: gzip` is provided.

This reduces the size of the JS and CSS assets on initial pageload
from 1422872 bytes to 1108267 bytes, or about a 22% savings.

[^1]: https://github.com/google/zopfli
2024-08-13 09:01:06 -07:00
..
kandra presence: Remove the queue worker. 2024-07-31 16:46:42 -07:00
zulip static: Pre-compress with zopfli, for better compression. 2024-08-13 09:01:06 -07:00
deps.yaml puppet: Update dependencies. 2023-05-11 10:51:37 -07:00