Search squid archive

Re: deny cache of all .asp dynamic pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



squid proxy wrote:
thx, but the first code seems to work better, but I need more time for tests.
does this code the same job at squid2 and squid3?

Yes. But please replace "no_cache" with "cache". The old name is deprecated.

Amos


On Fri, Feb 20, 2009 at 9:36 PM, Chris Robertson <crobertson@xxxxxxx> wrote:
squid proxy wrote:
thx a lot,but do I understand correctly?

acl mydomain dstdomain .domain.net
always_direct allow mydomain
acl ASP urlpath_regex .asp
acl ASP urlpath_regex \.asp
acl ASP urlpath_regex asp$
acl ASP urlpath_regex \.asp\?.+
no_cache deny mydomain ASP

is the same like:

acl mydomain dstdomain .domain.net
always_direct allow mydomain
acl ASP urlpath_regex .asp
no_cache deny mydomain ASP

It's close enough that it probably won't make a difference.

Chris



--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.5

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux