pingora
pingora copied to clipboard
Fixes #233 – Set `Vary` response header when compression is enabled
See #229 and #233 for the rationale behind these changes.
The Vary
insertion logic might be a bit overzealous, it will insert the header even if upstream produced an encoding that we cannot decompress. This is a rather unlikely scenario however, and having this Vary
header won’t hurt.