Always sending gzip?
simon at darkmere.gen.nz
Mon Mar 14 00:12:50 CET 2011
On Sun, 13 Mar 2011, Per Buer wrote:
> On Sun, Mar 13, 2011 at 10:22 PM, Simon Lyall <simon at darkmere.gen.nz> wrote:
> Getting a weird thing where the server is returning gzip'd content even when we don't ask for it.
> If your server is not sending "Vary: Accept-Encoding" Varnish won't know that it needs to Vary on the A-E header. Just add it
> and Varnish will do the right thing.
Of course, it was turning up sometimes but not always. I've changed the
backend to force it in and that seems to have fixed the problem (and
hopefully another we are seeing).
Simon Lyall | Very Busy | Web: http://www.darkmere.gen.nz/
"To stay awake all night adds a day to your life" - Stilgar | eMT.
More information about the varnish-misc