caddy/modules/caddyhttp/encode
Klaus Post 69c914483d
encode: Tweak compression settings (#4215)
* Tweak compression settings

zstd: Limit window sizes to 128K to keep memory in control both server and client size.
zstd: Write 0 length frames. This may be needed for compatibility.
zstd: Create fewer encoders. Small memory improvement.
gzip: Allow -2 (Huffman only) and -3 (stateless) compression modes.

* Update modules/caddyhttp/encode/zstd/zstd.go

Update docs.

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
2021-06-18 11:49:49 -06:00
..
brotli encode,staticfiles: Content negotiation, precompressed files (#4045) 2021-03-29 18:47:19 -06:00
gzip encode: Tweak compression settings (#4215) 2021-06-18 11:49:49 -06:00
zstd encode: Tweak compression settings (#4215) 2021-06-18 11:49:49 -06:00
caddyfile.go encode: Drop prefer from Caddyfile (#4156) 2021-05-10 11:12:59 -06:00
encode_test.go encode,staticfiles: Content negotiation, precompressed files (#4045) 2021-03-29 18:47:19 -06:00
encode.go encode,staticfiles: Content negotiation, precompressed files (#4045) 2021-03-29 18:47:19 -06:00