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
Received on Sat Mar 22 2008 - 15:48:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT