Re: [squid-users] always_direct dont work

From: Henrik Nordstrom <[email protected]>
Date: Mon, 11 Aug 2003 22:38:25 +0200

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

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [email protected]
Received on Mon Aug 11 2003 - 14:39:26 MDT

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