Re: no_cache/always_direct

From: Henrik Nordstrom <[email protected]>
Date: Sat, 24 Jul 1999 00:23:05 +0200

Brian wrote:

> acl local1 dst 208.206.76.0/24
> no_cache deny local1
>
> Now correct me if I am wrong, but what this means is that objects
> from web sites on the 208.206.76.0/24 networks will not get cached.

Yes.

> Or should it read acl local1 src 208.206.76.0/24?

No. That would make objects requested by clients on the 208.206.76.0/24
uncachable regardless of where the server is located.

> acl local1 dst 208.206.76.0/24
> always_direct allow local1
>
> My understanding of the above is that if the destination of an http
> request is in 208.206.76.0/24, then always go DIRECT.

Yes, but keep in mind that it is Squid who goes direct, not the browser.
To make the browser go direct you need to configure the no_proxy
settings in the browser (or use a PAC script).

> acl local1 dst 208.206.76.0/24
> no_cache deny local1
> always_direct allow local1
>
> Would totally make sure that any content from 208.206.76.0/24 was not
> cached and that the client went directly to the source.

See above.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Fri Jul 23 1999 - 16:30:55 MDT

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