Re: [squid-users] cache of 404 and redirects

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 08 May 2008 00:34:04 +1200

Adrian Chadd wrote:
> On Thu, May 08, 2008, Amos Jeffries wrote:
>> Adrian Chadd wrote:
>>> Well, what you really want to do is ignore cache-control for certain
>>> response codes
>>> (all driven through ACL matching or something.)
>>>
>>> It wouldn't be that hard to code up..
>> Already done in 3.0 and later.
>> Alongside independent request and reply controls.
>
> Where is it hiding?
>

http://www.squid-cache.org/Versions/v3/3.0/cfgman/acl.html

   acl ... http_status 200 304 ...

and:
http://www.squid-cache.org/Versions/v3/3.0/cfgman/reply_header_access.html

http://www.squid-cache.org/Versions/v3/3.0/cfgman/request_header_access.html

Though I think status would have no meaning or result on requests.

Amos

-- 
Please use Squid 2.6.STABLE20 or 3.0.STABLE5
Received on Wed May 07 2008 - 12:34:07 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:03 MDT