Search squid archive

Re: cache of 404 and redirects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
To: Adrian Chadd <adrian@xxxxxxxxxxxxxxx>
Cc: Chris Robertson <crobertson@xxxxxxx>; squid-users@xxxxxxxxxxxxxxx
Sent: Wednesday, May 7, 2008 5:18:34 AM
Subject: Re:  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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux