Hi Henrik, it worked!

        Thanks, "no_cache deny <acl>" do what I wanted. I had also
to purge the object from the cache with "client -m PURGE -p 8080 
http://web.to.be.checked/";

Followings request to the url are not cached now.

Thanks also to Bart Schelstraete, Adam Aube and Siew Wing who replied. 

Jordi


On Mon, 11 Aug 2003, Henrik Nordstrom wrote:

> On Monday 11 August 2003 18.45, Jordi Vidal wrote:
> > I'm trying to setup a rule to avoid Nagios from fetching web pages
> > from the cache of my squid transparent proxy, forcing to check
> > directly with remote server, but squids seems to ignore completely
> > the rule.
> 
> Well.. Squid probably reads the rule, but the rule maybe does not mean 
> what you intend.
> 
> What you can tell Squid is only what Squid should do with requests 
> Squid has received. If you do not want the request to reach Squid 
> then this must be addressed somewhere before the request is sent to 
> Squid, for example in your router if doing interception caching to 
> not intercept traffic for certain destinations.
> 
> > My question is: is the rule "always_direct"  usable in a
> > transparent proxy configuration?
> 
> Not quite. This directive only applies to cache misses and indicates 
> to Squid that it may not use any cache_peer when fetching the 
> requested object.
> 
> If you do not have any cache_peer then always_direct have no meaning.
> 
> 
> Maybe you are loking for no_cache, but see above first.
> 
> Regards
> Henrik
> 
> 


Reply via email to