Search squid archive

Re: how .htaccess gets cached and works with Last-Modified

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

 



tor 2010-05-13 klockan 14:17 +0300 skrev Reverse Squid:
> Response looks like:
> 
> HTTP/1.0 200 OK
> Date: Thu, 13 May 2010 11:14:12 GMT
> Server: Apache
> Last-Modified: Sun, 09 May 2010 09:21:50 GMT
> Accept-Ranges: bytes
> Content-Length: 97736
> Pragma: TEST
> Cache-Control: must-revalidate
> Content-Type: text/html; charset=utf-8
> Vary: Accept-Encoding
> Age: 12
> X-Cache: HIT server.com
> Via: 1.1 server.com:80 (squid)
> Connection: keep-alive
> 
> How does Vary accept encoding help?

It does not if the server is actually looking at User-Agent.

Vary: User-Agent

or perhaps

Vary: User-Agent, Accept-Encoding

if the server is also looking at Accept-Encoding.

Regards
Henrik


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

  Powered by Linux