Vary and gzip

Andreas Plesner Jacobsen apj at
Fri Jul 20 00:44:12 CEST 2012

On Thu, Jul 19, 2012 at 10:50:13PM +0200, Andreas Plesner Jacobsen wrote:
> * When the backend does support gzip, but doesn't send Vary on non-gzip
> requests. Varnish should fix the Vary header as part of the gzip support.
> I don't believe this works today.

This is wrong. This would work for cached content, because varnish would fetch
from the backend with A-E: gzip, but it would be broken for passes, and there's
no way we can detect a mis-behaving backend, so that should be fixed in the
backend or in VCL.


More information about the varnish-dev mailing list