Search squid archive

Re: Squid return compressed page even when the request does not contains Accept-Encoding header

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

 



Thanks so much for your quick response.

Indeed the server has not responded with "Vary: Accept-Encoding"
header, but actually this server do relate to the request
Accept-Encoding header and respond with two different pages
(compressed and uncompressed).
Is there a way to configure Squid to cache two different objects,
according to the request Accept-Encoding value?

Thanks,
Dror


On Tue, Jun 24, 2008 at 9:43 AM, Henrik Nordstrom
<henrik@xxxxxxxxxxxxxxxxxxx> wrote:
> On tis, 2008-06-24 at 09:25 +0300, Dror Galron wrote:
>> I'm using Squid version 2.6 stable 12.
>>
>> When initially requesting the page http://ads1.msn.com/library/dap.js
>> with Accept-Encoding: gzip, I get the response properly. At the second
>> time, when requesting the same object with no Accept-Encoding header
>> at the request, I get again, the compressed response internally from
>> the cache. My browser is unable to parse this response.
>
> This is because there is no "Vary: Accept-Encoding" in the servers
> response heders, which means that the server claims that the gzip
> encoded variant is all there is.
>
> Regards
> Henrik
>



-- 
Dror Galron

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

  Powered by Linux