Re: [squid-users] unexplainable MISSes - found the problem

From: Amos Jeffries <>
Date: Wed, 10 Nov 2010 02:41:08 +0000

On Tue, 09 Nov 2010 17:37:55 +0200, Adrian Dascalu
<> wrote:
> Ok, it's a bit late for me but for other people browsing this list I'm
> sharing my findings:
> It looks like squid is really picky about the way Vary header text is
> formed: the vary headers in my case where not "identical" due to a bug
> in the backed server. A header name was repeated for the anonymous users

> (", Accept-encoding" added at the end of the list). Developer tools in
> firefox and chrome were silently correcting this and even squid
> access.log with headers (see below) was only showing an extra coma that
> was difficult to spot.

Aha! great.

Hmm, squid should be logging exactly what it received (URL-encoded to
protect against binary blobs). And sure enough now that you point out what
to look for it is there...

>> GMT\r\nVary: Accept-Encoding, Accept,
>> X-Username,\r\n%09Accept-Encoding\r\nLast-Modified: Fri, 28 Nov 2008

NOTE: the "%09" or tab character folded-line .

Received on Wed Nov 10 2010 - 02:41:15 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 10 2010 - 12:00:03 MST