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

From: Anton Melser <melser.anton_at_gmail.com>
Date: Wed, 14 May 2008 11:52:58 +0200

2008/5/9 Henrik Nordstrom <henrik_at_henriknordstrom.net>:
>
> 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:

Set-Cookie: prtl_2330=2334; Expires=Sat, 10-May-2008 02:39:39 GMT

So this is the cookie that Expires and not the page then?
Thanks
Anton

-- 
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc
This will help you for 99.9% of your problems ...
Received on Wed May 14 2008 - 09:53:10 MDT

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