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

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 7 May 2008 12:05:16 +0800

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..

Adrian

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

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Wed May 07 2008 - 04:04:24 MDT

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