Re: [squid-users] How can I expire cache object by Apache's expire time?

From: Jeff Pang <pangj_at_arcor.de>
Date: Fri, 18 Sep 2009 12:27:33 +0800

2009/9/18 Calvin Park <carrot_at_carrotis.com>:

> HTTP/1.0 200 OK
> Date: Tue, 01 Sep 2009 07:54:40 GMT
> Server: thumbd-64bits/0.2.51
> Content-Length: 2798
> Content-Type: image/gif
> Cache-Control: max-age=604800
> Last-Modified: Mon, 17 Aug 2009 04:40:33 GMT    ===> It's ok
> Expires: Tue, 08 Sep 2009 07:54:40 GMT              ===> It's problem for me
> Accept-Ranges: bytes

Here you have both cache-control and expire headers.
So squid will use cache-control firstly.
It doesn't mean squid will not use the rules set by mod_expire.

Jeff.
Received on Fri Sep 18 2009 - 04:27:48 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 18 2009 - 12:00:03 MDT