Search squid archive

Re: cache deny and the 'public' token

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

 




On Mar 21, 2008, at 3:06 PM, Henrik Nordstrom wrote:


On Thu, 2008-03-20 at 20:11 -0700, Ric wrote:
In reverse-proxy setup, I would like to prevent requests authenticated via cookies from being cached while retaining the ability of the Cache-
Control: public token to override this behavior as if were a regular
authenticated request.

Will the following work?

  acl public rep_header Cache-Control public
  cache allow public

  acl auth_cookie req_header Cookie -i  auth=
  cache deny auth_cookie

Looks reasonable to me.

Try it and see how it fares.


I have tried and it doesn't seem to work. But perhaps there is something else wrong with my config. I figured I would check to see if my expectations are correct before wasting too much time trying to debug this thing.

Ric



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

  Powered by Linux