Search squid archive

Re: not caching pages with http auth in squid 2.6

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

 



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 =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux