Search squid archive

Re: Why no cache revisited...

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

 



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


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

  Powered by Linux