pingora icon indicating copy to clipboard operation
pingora copied to clipboard

Fixes #233 – Set `Vary` response header when compression is enabled

Open palant opened this issue 8 months ago • 2 comments

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.

palant avatar Jun 15 '24 11:06 palant