2008年5月9日

Re: [squid-users] cache of 404 and redirects

On ons, 2008-05-07 at 07:50 -0700, Christian Seifert wrote:
> Chris, I tried the below and also added
>
> The Cache Control header is now set to "public", but it still fails to retrieve the content from the cache. A bug?

header_replace only applies to the headers sent out by Squid, not it's
view of the received headers. You can not overrite cache-control within
Squid using header_replace.

But you MAY be able to override this using refresh_pattern, but it's a
rather blunt tool and does not give you much control on when to
override...

Regards
Henrik

0 条评论:

发表评论

<< 主页