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

From: Calvin Park <carrot_at_carrotis.com>
Date: Fri, 18 Sep 2009 15:25:49 +0900

Then...

How can I modify squid source file for it check cache-control and
expire header's value?

2009/9/18 Jeff Pang <pangj_at_arcor.de>:
> 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 - 06:25:56 MDT

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