mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
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 |
||
|---|---|---|
| .. | ||
| kandra | ||
| zulip | ||
| deps.yaml | ||