W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2012

WGLC #353: Multiple Values in Cache-Control headers

From: Mark Nottingham <mnot@mnot.net>
Date: Thu, 31 May 2012 21:58:13 +1000
Message-Id: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/353>

I think this issue is a re-hash of the discussions around error-handling. 

At most, we might add a note to <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-cache.html#calculating.freshness.lifetime> like this:

"""
When there is more than one value present for a given directive (e.g., two Expires headers, multiple Cache-Control: max-age directives), it is considered invalid. Caches SHOULD consider responses that have invalid freshness information to be stale, but MAY attempt to recover (e.g., by using the most conservative value).
"""

The issue also suggests other places to look, but I'm inclined not to go too far down this path. 

Thoughts?

--
Mark Nottingham   http://www.mnot.net/
Received on Thursday, 31 May 2012 11:58:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 31 May 2012 11:58:54 GMT