Re: [squid-users] how .htaccess gets cached and works with Last-Modified

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Thu, 13 May 2010 13:44:33 +0200

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
Received on Thu May 13 2010 - 11:44:38 MDT

This archive was generated by hypermail 2.2.0 : Thu May 13 2010 - 12:00:06 MDT