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
This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT