Search squid archive

Re: A bug? (was "cache deny and the 'public' token")

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

 



On Sat, 2008-03-22 at 03:29 -0700, Ric wrote:

> Okay... after much trial and error, I think this is a bug.
> 
> I stripped my config down to the bare essentials and these two lines  
> consistently break caching.
> 
> acl public rep_header Cache-Control public
> cache allow public
> 
> In fact, if I try to use any rep_header acl in the cache directive,  
> the object is no longer cached.  Other acls seem to work (although I  
> haven't tested all of them) but not rep_header.

Probably only request data is available in the cache directive, not the
reply data..

Checking.. yes, the cache directive is evaluated before the request is
forwarded, which means that any acl that depends on the response will
always be false there.

Regards
Henrik


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

  Powered by Linux