fre 2006-09-29 klockan 22:48 -0700 skrev Edward Rosinzonsky:

> I have some pages that I don't want to cache because they have http
> authentication.  In squid 2.5 I used to do that with the following
> line in squid.conf:
> 
> refresh_pattern ^http:.+/page1/      0     0%    0
>
> but in squid 2.6, this doesn't seem to work.  The page doesn't authenticate.

The rules about refresh_pattern haven't changed.

But it's more effective to use the cache directive to block things from
caching. refresh_pattern only applies on pages where there is no
explicit expiry information set by the origin server.

acl page1 urlpath_regex /page1/
cache deny page1

Regards
Henrik

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to