[squid-users] Authorization header

From: Ricardo Newbery <lists@dont-contact.us>
Date: Mon, 30 Jul 2007 05:04:18 -0700

Under "How come some objects do not get cached?"

http://wiki.squid-cache.org/SquidFaq/InnerWorkings#head-
aed2acb07aed79ef1f7a590447b6a45a8dd8e7d1

we read:

> Responses for requests with an Authorization header are cachable
> ONLY if the reponse includes Cache-Control: Public.
>
> Responses with Vary headers are NOT cachable because Squid
> does not yet support Vary features.

The second line is no longer true. Correct?

And regarding the first line, is this behavior overridden if we
include any "no_cache" or "cache" directives in the squid.conf? I'm
trying to determine if the following Authorization line in my
squid.conf is superfluous:

acl ac_cookie req_header Cookie [-1] __ac
acl auth_header req_header Authorization [-1] .*
cache deny ac_cookie auth_header

Would I get the same result with just:

acl ac_cookie req_header Cookie [-1] __ac
cache deny ac_cookie

Ric
Received on Mon Jul 30 2007 - 06:04:21 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:04 MDT