W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2009

What are "appropriate Cache-Control or Expires header fields"

From: Brian Smith <brian@briansmith.org>
Date: Mon, 12 Oct 2009 20:22:58 -0500
To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
Message-ID: <000401ca4ba3$b3891b60$1a9b5220$@org>
What, precisely, must the Cache-Control or Expires header fields contain in
order to make a response to a POST, a 302 response, a 303 response, or a 307
response cacheable? This seems to not be specified anywhere in the
specification.

The definition of POST says: "Responses to this method are not cacheable,
unless the response includes appropriate Cache-Control or Expires header
fields."

The definitions of 302 Found and 307 Temporary Redirect both say: "This
response is only cacheable if indicated by a Cache-Control or Expires header
field."

The definition of 303 See Other says: "Response SHOULD NOT be cached unless
it is indicated as cacheable by Cache-Control or Expires header fields."

Thanks,
Brian
Received on Tuesday, 13 October 2009 01:23:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:12 GMT