Re: no_cache tag..

From: Marc-Adrian Napoli <marcadrian@dont-contact.us>
Date: Tue, 1 Feb 2000 13:33:28 +1100

Cliffton,

> > acl MSN dst fdl.msn.com
> > acl QUERY urlpath_regex cgi \?
> > no_cache deny QUERY
> > no_cache deny MSN
> >
> > How do i put an acl to block caching for a certain IP block?
> >
> > Will
> >
> > acl HOME dst 203.17.36.0/255.255.255.0
> > no_cache deny HOME
> >
> > work?
>
> As far as I can tell, this is working fine here.

Yep, i tried it and it works.

> I've listed all our network blocks in a dst ACL, and then use it with
> both always_direct (so it will ignore any cache hierarchy or peer and
> hit the local server directly) and no_cache (so it won't populate the
> cache disk with it.) To be safe, I am also using a dst_domain rule for
> the domains hosted here, to make sure that if the name hasn't been
> resolved to an IP yet, Squid will still refrain from caching it or
> feeding it up the hierarchy.

How many domains do you have listed there? We have quite a few.. but they're
all on the 203.17.36.0 block. Do you think that leaving just the acl to deny
the 203.17.36. will suffice or i should add in all our domains?

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750
Received on Mon Jan 31 2000 - 19:43:32 MST

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