Search squid archive

Re: unexplainable MISSes - found the problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 09 Nov 2010 17:37:55 +0200, Adrian Dascalu
<adrian.dascalu@xxxxxxxxxxxxx> 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 .


Amos


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux