Compression & media
Per-domain rule
string (csv)
compression_flags
Which compression algorithms to offer: gzip, deflate, br, zstd.
- Config key
compression_flags- Scope
- Per-domain rule
- Type
- string (csv)
- Default
br
A comma-separated list of the algorithms the proxy may use. Supported values:
- br (Brotli) — best ratio for text; the modern default, supported by all current browsers.
- gzip — universal compatibility, slightly worse ratio than Brotli.
- deflate — legacy; rarely needed.
- zstd — very fast with strong ratios where clients support it.
⚡Recommended
Offer
br, gzip: Brotli for modern clients, gzip as the universal fallback. Add zstd when your audience supports it.compression_flags = "br, gzip"