Re: [squid-users] Cache and Vary: Accept-Encoding header

From: Adrian Chadd <[email protected]>
Date: Thu, 10 Jan 2008 23:02:32 +0900

Its a known shortcoming with Vary header processing.

I've brainstormed with the Wikipedia admins and they've got a hack they
use somewhere to work around it, but its too "specific" to include into
Squid in that state.

It gets worse than that. What about:

Accept-Encoding: gzip, x-gzip, deflate, x-deflate

versus

Accept-Encoding: gzip,deflate

Its pretty horrible, isn't it? :)

I'd love to fix it but I'm too busy trying to get this support company sorted
out and nut out contracts so I can work on projects like this. :)

Adrian

On Thu, Jan 10, 2008, Guillaume Smet wrote:
> Hi all,
>
> I'm currently debugging a problem and digging into the Squid cache. I
> noticed that even with 2.6, "Accept-Encoding: gzip, deflate" used by
> IE and "Accept-Encoding: gzip,deflate" used by Firefox are considered
> 2 different values and so pages are cached twice when using a Vary:
> Accept-Encoding header.
> I may have misunderstood something but I had in mind this problem was
> at least partially fixed in 2.6 (mostly from this email of Henrik I
> read a long time ago:
> http://www.squid-cache.org/mail-archive/squid-users/200608/0249.html
> ).
>
> I use squid-2.6.STABLE6-4.el5 (the RHEL5 package maintained by RH). I
> checked the ChangeLog from 2.6-stable6 to stable17 and I didn't find
> anything relevant about this behaviour.
>
> Any hint on how to avoid this problem?
>
> Thanks.
>
> --
> Guillaume

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Thu Jan 10 2008 - 06:53:21 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST