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

From: Christian Seifert <cs5b@dont-contact.us>
Date: Wed, 7 May 2008 08:00:46 -0700 (PDT)

currently I have the following options (using 2.7):

refresh_pattern . 999999 100% 999999 override-expire ignore-reload override-lastmod ignore-no-cache ignore-private ignore-auth ignore-stale-while-revalidate negative-ttl=9999999999999999999999999

As you see, there is the ignore-no-cache, but it seems like its not affecting the 404 responses...should it with these options?

Thanks for all your help with this...really appreciate it!

Christian

----- Original Message ----
From: Amos Jeffries <squid3@treenet.co.nz>
To: Adrian Chadd <adrian@creative.net.au>
Cc: Chris Robertson <crobertson@gci.net>; squid-users@squid-cache.org
Sent: Wednesday, May 7, 2008 5:18:34 AM
Subject: Re: [squid-users] cache of 404 and redirects

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
      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Received on Wed May 07 2008 - 15:00:57 MDT

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