Re: always_direct and never_direct dang it

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 3 Mar 2000 09:46:17 -0700

On Fri, 3 Mar 2000, Carpenter, Dean wrote:

> always_direct and never_direct are confusing ... double-negatives ...
>
> I want all accesses to x.x.x.x/y.y.y.y to always go right to the origin
> servers. Should be a simple setup, right ?
>
> acl testing dst x.x.x.x/y.y.y.y
> always_direct allow testing
>
> According to the notes in the squid.conf file for always_direct, this should
> do what I want : force requests for x.x.x.x to go directly to the servers
> there.
>
> It doesn't. At least, the log shows a TCP_MEM_HIT for stuff in x.x.x.x

always_direct applies to cache misses. You're having a cache hit.

If you don't want cache hits, use 'no_cache'.

Duane W.
Received on Sat Mar 04 2000 - 03:36:02 MST

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