Re: Only fetch sibling hits

From: Robert Moss <RM@dont-contact.us>
Date: Tue, 8 Dec 1998 16:57:12 +1100

Sure its possible;

You'll need an ACL for the ip ranges or domain names that can access your
cache, and add it to the http_access and icp_access entries. But be sure
NOT to add it to miss_access.

Example:

Goodguys can fetch anything (including misses),
Badguys can only fetch hits (not misses)

acl goodguys src 192.168.1.0/255.255.255.0
acl badguys src 192.168.2.0/255.255.255.0
acl all src 0.0.0.0/0.0.0.0

http_access allow goodguys
http_access allow badguys
http_access deny all

icp_access allow goodguys
icp_access allow badguys
icp_access deny all

miss_access allow goodguys
miss_access deny !goodguys

You may or may not want goodguys or badguys to request ICP queries, but
thats up to you.

>I am trying to setup a cache to only deliver local or sibling hits, but do
>nothing in the event of a miss (ie. do not make a direct or parent
>request).
>
>I'm not sure this is possible, anyone have any ideas?
>
>
>Regards,
>Graham
>----------------------------------------------------------------
>Systems Administrator - Internet Information Group
>Graham Maltby <gmaltby@iig.com.au>
Received on Mon Dec 07 1998 - 22:53:27 MST

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