Re: [squid-users] prevent 301 sites to be cached - solved

From: Carsten Bachert <bachert_at_bachert.info>
Date: Wed, 21 Jan 2009 07:10:34 +0100

Chris Robertson schrieb:
> Carsten Bachert wrote:
>> Hi all,
>>
>> I use squid as revers proxy to server web pages.
>> Therefore I want to disable 301 sites to be cached.
>> My rule is:
>>
>> acl stat301 http_status 301
>> cache deny stat301
>>
>> //some lines deeper
>> acl aclname http_status 200 301 302 500- 400-403 ... #
>> status
>> code in reply
>>
>> I mention 301 sites are cached. So why does "cache deny stat301" does
>> not
>> work properly?
>>
Hi,

ok., think it is solved now. The second acl has been uncommented by someone
and is not needed. The first part works well.

acl stat301 http_status 301
cache deny stat301

The fault has been on a second cache, which is located in front of the
site. My mistake was, not to
look in the access log. I only checked the headers and did not mention,
that there is
another cache (content engine) between. Once this cache has been purged,
all is working fine.

Thanks for your help.

Carsten
Received on Wed Jan 21 2009 - 06:10:44 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 21 2009 - 12:00:19 MST