Compression & media
Per-domain rule
boolean
enable_compression
Compress responses for this domain before sending them.
- Config key
enable_compression- Scope
- Per-domain rule
- Type
- boolean
- Default
true
Turns on response compression for the domain. Which algorithms are offered is controlled by compression_flags; the proxy negotiates the best one the client accepts.
⚡Already-compressed content
Images, video and archives are already compressed — re-compressing wastes CPU for no gain. The proxy focuses compression on text types where it pays off.
enable_compression = true