Re: [squid-users] Why no cache revisited...

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 09 May 2008 23:37:26 +0200

fre 2008-05-09 klockan 18:49 +0200 skrev Anton Melser:

> HTTP/1.x 200 OK
> Date: Fri, 09 May 2008 16:39:39 GMT
> Server: Apache/2.2.3 (CentOS)
> Set-Cookie: prtl_2330=2334; Expires=Sat, 10-May-2008 02:39:39 GMT
> Cache-Control: public
> Content-Type: text/html;charset=UTF-8
> X-Cache: MISS from www.myserver.com
> X-Cache-Lookup: MISS from www.myserver.com:9090
> Via: 1.0 www.myserver.com:9090 (squid/2.6.STABLE6)
> Connection: close

There is no expiry information in this response, so by default Squid
will consider it stale..

You can tell Squid to cache this with a min-age refresh_pattern rule,
but it's much better if you teach the web server to return some
meaningful expiry information using Cache-Control: max-age=NN or
Expires:

Regards
Henrik
Received on Fri May 09 2008 - 21:39:24 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:13 MDT