Re: no_cache tag..

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 01 Feb 2000 09:49:59 +0100

Marc-Adrian Napoli wrote:

> Will
>
> acl HOME dst 203.17.36.0/255.255.255.0
> no_cache deny HOME
>
> work?

Most o the time, but not to 100% unless you patch Squid to make no_cache
a fullblown ACL check.

I the destination IP address isn't in Squids DNS cache when no_cache is
evaluated then the above fails on a non-patched Squid. no_cache is
evaluated quite early in the process, so this will probably happen for
the first page accessed from each domain name.

You can limit this effect by using dst type ACL's in http_access
processing, thus forcing Squid to look up the IP before no_cache is
evaluated.

acl nowhere dst 0.0.0.0/32
http_access deny nowhere

--
Henrik Nords
Received on Tue Feb 01 2000 - 02:22:48 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:51 MST