Re: [squid-users] Expires: vs. Cache-Control: max-age

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 02 Oct 2008 12:41:02 +0200

On ons, 2008-10-01 at 15:42 +1000, Mark Nottingham wrote:

> I.e., the max-age cache-control directive takes precedence over Expires.
> I've tested Squid and a number of other caches with Co-Advisor, and if
> Expires indicates the response is fresh, but CC: max-age says it's
> stale, it will treat it as stale, for just about any given cache.

Correct. Squid ignores Expires if there is a CC max-age response
directive.

See HttpReply::hdrExpirationTime() / httpReplyHdrExpirationTime().

Regards
Henrik

Received on Thu Oct 02 2008 - 10:41:07 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 02 2008 - 12:00:02 MDT