Re: [squid-users] deny cache of all .asp dynamic pages

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 21 Feb 2009 17:33:58 +1300

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_at_gci.net> 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
Received on Sat Feb 21 2009 - 04:35:24 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 21 2009 - 12:00:02 MST