Re: [squid-users] proper use of "no_cache" ?

From: Илья Шипицин <ilia@dont-contact.us>
Date: Tue, 28 Jan 2003 07:16:03 +0500 (YEKT)

Salut, Henrik Nordstrom !

On Mon, 27 Jan 2003, Henrik Nordstrom wrote:

> On Sunday 26 January 2003 09.29, Илья Шипицин wrote:
>
> > I don't want certain objects to be cached (even if were previously
> > cached!) so I tried two combinations of "no_cache"
> >
> > 1) acl QUERY urlpath_regex cgi-bin \?
> > acl DrWeb urlpath_regex drweb
> > no_cache deny QUERY
> > no_cache deny DrWeb
>
>
> This one is correct use of no_cache for denying multiple difference
> things from beeing cached.

so, just curious... when I specify multiple ACLs within just one
"no_cache" or whatever else directive - "AND" logic is applied ?
It was not so clear for, maybe I didn't read documenttion well, but
I was not sure wether there's "OR" or "AND" logic.

>
> But your definition of DrWeb looks odd.. see the acl type descriptions
> in squid.conf.default. I do not think urlpath_regex is what you want
> there.. (the URLs you posted did not have drweb in their URL paths..)

??

ftp://ftp.drweb.ru/pub/updates/free/windows<bla-blah-blah>

actually, I'd block from cacheing URLs like "http://drweb.csu.ru/**" and
"ftp://ftp.drweb.ru/**", both of them contain "drweb"

>
> Regards
> Henrik
>

Regards, (Наилучшие пожелания)
Ilia Chipitsine (Илья Шипицин)
Received on Tue Jan 28 2003 - 08:07:33 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:54 MST