Re: no local caching

From: Duane Wessels <[email protected]>
Date: Mon, 29 Jun 1998 11:12:55 -0600

"Christian Schreier" writes:

>Hello Squidders,
>
>I am trying to tell Squid 1.2.beta22-3 not to cache the domains on the same
>server with
>
>acl local-servers dstdomain www.foo.de www.bar.de www.domain1.de
>..........etc
>always_direct allow local-servers
>
>in /etc/squid/squid.conf.
>
>But when I request a domain from outside with proxy squid enabled, I get
>timeouts. Netscape tells me:
>
>The following error was encountered:
> Read Timeout
>The system returned:
> [No Error]
>A Timeout occurred while waiting to read data from the network. The network
>or server may be down or congested. Please retry your
>request.
>
>
>Any idea, what�s going wrong here ??

I don't know why you got the timeouts, but 'always_direct' doesn't
prevent something from being cached.

Use 'no_cache' instead. Also note with no_cache you have to use 'deny':

        no_cache deny local-servers

Duane W.
Received on Mon Jun 29 1998 - 10:13:58 MDT

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