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

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

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.

>
> On Tue, May 06, 2008, Chris Robertson wrote:
>> Christian Seifert wrote:
>>> no way to overwrite this, I guess?
>>>
>> Hmmm... Try this...
>>
>> acl from_google dstdomain .google.com
>> header_access Cache-Control deny google
>>
>> I give no warranties that this won't mess other things up (like caching
>> bits of gMail it shouldn't), but it's a start.
>>
>> Chris
>

Amos

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

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