source: draft-ietf-httpbis/latest/p6-cache.xml @ 1418

Last change on this file since 1418 was 1418, checked in by mnot@…, 8 years ago

de-wordify additional text on date parsing

  • Property svn:eol-style set to native
File size: 115.0 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type='text/xsl' href='../myxml2rfc.xslt'?>
3<!DOCTYPE rfc [
4  <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>">
5  <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST</bcp14>">
6  <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST NOT</bcp14>">
7  <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>OPTIONAL</bcp14>">
8  <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>RECOMMENDED</bcp14>">
9  <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>REQUIRED</bcp14>">
10  <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL</bcp14>">
11  <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL NOT</bcp14>">
12  <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD</bcp14>">
13  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
14  <!ENTITY ID-VERSION "latest">
15  <!ENTITY ID-MONTH "August">
16  <!ENTITY ID-YEAR "2011">
17  <!ENTITY notation                    "<xref target='Part1' x:rel='#notation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
18  <!ENTITY acks                        "<xref target='Part1' x:rel='#acks' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
19  <!ENTITY basic-rules                 "<xref target='Part1' x:rel='#basic.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
20  <!ENTITY field-rules                 "<xref target='Part1' x:rel='#field.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
21  <!ENTITY uri                         "<xref target='Part1' x:rel='#uri' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
22  <!ENTITY effective-request-uri       "<xref target='Part1' x:rel='#effective.request.uri' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
23  <!ENTITY messaging                   "<xref target='Part1' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
24  <!ENTITY semantics                   "<xref target='Part2' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
25  <!ENTITY conditional                 "<xref target='Part4' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
26  <!ENTITY partial                     "<xref target='Part5' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
27  <!ENTITY combining-byte-ranges       "<xref target='Part5' x:rel='#combining.byte.ranges' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
28  <!ENTITY full-date                   "<xref target='Part1' x:rel='#date.time.formats.full.date' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
29  <!ENTITY header-authorization        "<xref target='Part7' x:rel='#header.authorization' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
30  <!ENTITY header-connection           "<xref target='Part1' x:rel='#header.connection' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
31  <!ENTITY header-date                 "<xref target='Part1' x:rel='#header.date' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
32  <!ENTITY header-via                  "<xref target='Part1' x:rel='#header.via' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
33  <!ENTITY header-last-modified        "<xref target='Part4' x:rel='#header.last-modified' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
34  <!ENTITY header-fields               "<xref target='Part1' x:rel='#header.fields' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
35  <!ENTITY safe-methods                "<xref target='Part2' x:rel='#safe.methods' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
36  <!ENTITY entity-tags                 "<xref target='Part4' x:rel='#header.etag' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
37  <!ENTITY weak-and-strong             "<xref target='Part4' x:rel='#weak.and.strong.validators' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
38  <!ENTITY lastmod-comparison          "<xref target='Part4' x:rel='#lastmod.comparison' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
39  <!ENTITY status-codes                "<xref target='Part2' x:rel='#status.codes' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
40  <!ENTITY status.2xx                  "<xref target='Part2' x:rel='#status.2xx' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
41]>
42<?rfc toc="yes" ?>
43<?rfc symrefs="yes" ?>
44<?rfc sortrefs="yes" ?>
45<?rfc compact="yes"?>
46<?rfc subcompact="no" ?>
47<?rfc linkmailto="no" ?>
48<?rfc editing="no" ?>
49<?rfc comments="yes"?>
50<?rfc inline="yes"?>
51<?rfc rfcedstyle="yes"?>
52<?rfc-ext allow-markup-in-artwork="yes" ?>
53<?rfc-ext include-references-in-index="yes" ?>
54<rfc category="std" docName="draft-ietf-httpbis-p6-cache-&ID-VERSION;" ipr="pre5378Trust200902"
55  obsoletes="2616" x:maturity-level="draft" xmlns:x="http://purl.org/net/xml2rfc/ext">
56<front>
57
58  <title abbrev="HTTP/1.1, Part 6">HTTP/1.1, part 6: Caching</title>
59
60  <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
61    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
62    <address>
63      <postal>
64        <street>345 Park Ave</street>
65        <city>San Jose</city>
66        <region>CA</region>
67        <code>95110</code>
68        <country>USA</country>
69      </postal>
70      <email>fielding@gbiv.com</email>
71      <uri>http://roy.gbiv.com/</uri>
72    </address>
73  </author>
74
75  <author initials="J." surname="Gettys" fullname="Jim Gettys">
76    <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
77    <address>
78      <postal>
79        <street>21 Oak Knoll Road</street>
80        <city>Carlisle</city>
81        <region>MA</region>
82        <code>01741</code>
83        <country>USA</country>
84      </postal>
85      <email>jg@freedesktop.org</email>
86      <uri>http://gettys.wordpress.com/</uri>
87    </address>
88  </author>
89
90  <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
91    <organization abbrev="HP">Hewlett-Packard Company</organization>
92    <address>
93      <postal>
94        <street>HP Labs, Large Scale Systems Group</street>
95        <street>1501 Page Mill Road, MS 1177</street>
96        <city>Palo Alto</city>
97        <region>CA</region>
98        <code>94304</code>
99        <country>USA</country>
100      </postal>
101      <email>JeffMogul@acm.org</email>
102    </address>
103  </author>
104
105  <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
106    <organization abbrev="Microsoft">Microsoft Corporation</organization>
107    <address>
108      <postal>
109        <street>1 Microsoft Way</street>
110        <city>Redmond</city>
111        <region>WA</region>
112        <code>98052</code>
113        <country>USA</country>
114      </postal>
115      <email>henrikn@microsoft.com</email>
116    </address>
117  </author>
118
119  <author fullname="Larry Masinter" initials="L." surname="Masinter">
120    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
121    <address>
122      <postal>
123        <street>345 Park Ave</street>
124        <city>San Jose</city>
125        <region>CA</region>
126        <code>95110</code>
127        <country>USA</country>
128      </postal>
129      <email>LMM@acm.org</email>
130      <uri>http://larry.masinter.net/</uri>
131    </address>
132  </author>
133
134  <author fullname="Paul J. Leach" initials="P." surname="Leach">
135    <organization abbrev="Microsoft">Microsoft Corporation</organization>
136    <address>
137      <postal>
138        <street>1 Microsoft Way</street>
139        <city>Redmond</city>
140        <region>WA</region>
141        <code>98052</code>
142      </postal>
143      <email>paulle@microsoft.com</email>
144    </address>
145  </author>
146
147  <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
148    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
149    <address>
150      <postal>
151        <street>MIT Computer Science and Artificial Intelligence Laboratory</street>
152        <street>The Stata Center, Building 32</street>
153        <street>32 Vassar Street</street>
154        <city>Cambridge</city>
155        <region>MA</region>
156        <code>02139</code>
157        <country>USA</country>
158      </postal>
159      <email>timbl@w3.org</email>
160      <uri>http://www.w3.org/People/Berners-Lee/</uri>
161    </address>
162  </author>
163
164  <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
165    <organization abbrev="W3C">World Wide Web Consortium</organization>
166    <address>
167      <postal>
168        <street>W3C / ERCIM</street>
169        <street>2004, rte des Lucioles</street>
170        <city>Sophia-Antipolis</city>
171        <region>AM</region>
172        <code>06902</code>
173        <country>France</country>
174      </postal>
175      <email>ylafon@w3.org</email>
176      <uri>http://www.raubacapeu.net/people/yves/</uri>
177    </address>
178  </author>
179
180  <author fullname="Mark Nottingham" initials="M." role="editor" surname="Nottingham">
181    <address>
182      <email>mnot@mnot.net</email>
183      <uri>http://www.mnot.net/</uri>
184    </address>
185  </author>
186
187  <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
188    <organization abbrev="greenbytes">greenbytes GmbH</organization>
189    <address>
190      <postal>
191        <street>Hafenweg 16</street>
192        <city>Muenster</city><region>NW</region><code>48155</code>
193        <country>Germany</country>
194      </postal>
195      <phone>+49 251 2807760</phone>
196      <facsimile>+49 251 2807761</facsimile>
197      <email>julian.reschke@greenbytes.de</email>
198      <uri>http://greenbytes.de/tech/webdav/</uri>
199    </address>
200  </author>
201
202  <date month="&ID-MONTH;" year="&ID-YEAR;" />
203  <workgroup>HTTPbis Working Group</workgroup>
204
205<abstract>
206<t>
207   The Hypertext Transfer Protocol (HTTP) is an application-level protocol for
208   distributed, collaborative, hypertext information systems. HTTP has been in
209   use by the World Wide Web global information initiative since 1990. This
210   document is Part 6 of the seven-part specification that defines the protocol
211   referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616.
212</t>
213<t>
214   Part 6 defines requirements on HTTP caches and the associated header fields
215   that control cache behavior or indicate cacheable response messages.
216</t>
217</abstract>
218
219<note title="Editorial Note (To be removed by RFC Editor)">
220  <t>
221    Discussion of this draft should take place on the HTTPBIS working group
222    mailing list (ietf-http-wg@w3.org), which is archived at
223    <eref target="http://lists.w3.org/Archives/Public/ietf-http-wg/"/>.
224  </t>
225  <t>
226    The current issues list is at
227    <eref target="http://tools.ietf.org/wg/httpbis/trac/report/3"/> and related
228    documents (including fancy diffs) can be found at
229    <eref target="http://tools.ietf.org/wg/httpbis/"/>.
230  </t>
231  <t>
232    The changes in this draft are summarized in <xref target="changes.since.16"/>.
233  </t>
234</note>
235
236   </front>
237   <middle>
238
239<section anchor="caching" title="Introduction">
240<t>
241   HTTP is typically used for distributed information systems, where
242   performance can be improved by the use of response caches. This document
243   defines aspects of HTTP/1.1 related to caching and reusing response
244   messages.
245</t>
246
247<section anchor="intro.purpose" title="Purpose">
248<iref item="cache" />
249<t>
250   An HTTP <x:dfn>cache</x:dfn> is a local store of response messages and the
251   subsystem that controls its message storage, retrieval, and deletion. A
252   cache stores cacheable responses in order to reduce the response time and
253   network bandwidth consumption on future, equivalent requests. Any client or
254   server &MAY; employ a cache, though a cache cannot be used by a server that
255   is acting as a tunnel.
256</t>
257<t>
258   The goal of caching in HTTP/1.1 is to significantly improve performance
259   by reusing a prior response message to satisfy a current request.
260   A stored response is considered "fresh", as defined in
261   <xref target="expiration.model" />, if the response can be reused without
262   "validation" (checking with the origin server to see if the cached response
263   remains valid for this request).  A fresh cache response can therefore
264   reduce both latency and network transfers each time it is reused.
265   When a cached response is not fresh, it might still be reusable if it can
266   be freshened by validation (<xref target="validation.model" />) or if the
267   origin is unavailable.
268</t>
269</section>
270
271<section anchor="intro.terminology" title="Terminology">
272<t>
273   This specification uses a number of terms to refer to the roles played by
274   participants in, and objects of, HTTP caching.
275</t>
276<t>
277   <iref item="cache" />
278   <x:dfn>cache</x:dfn>
279   <list>
280      <t>A conformant implementation of a HTTP cache. Note that this implies
281        an HTTP/1.1 cache; this specification does not define conformance
282        for HTTP/1.0 caches.</t>
283   </list>
284</t>
285<t anchor="shared.and.non-shared.caches">
286   <iref item="shared cache" />
287   <x:dfn>shared cache</x:dfn>
288   <list>
289      <t>A cache that stores responses to be reused by more than one user;
290         usually (but not always) deployed as part of an intermediary.</t>
291   </list>
292</t>
293<t>
294   <iref item="private cache" />
295   <x:dfn>private cache</x:dfn>
296   <list>
297      <t>A cache that is dedicated to a single user.</t>
298   </list>
299</t>
300<t>
301   <iref item="cacheable" />
302   <x:dfn>cacheable</x:dfn>
303   <list>
304      <t>A response is cacheable if a cache is allowed to store a copy of the
305      response message for use in answering subsequent requests. Even when a
306      response is cacheable, there might be additional constraints on whether
307      a cache can use the stored copy to satisfy a particular request.</t>
308   </list>
309</t>
310<t>
311   <iref item="explicit expiration time" />
312   <x:dfn>explicit expiration time</x:dfn>
313   <list>
314      <t>The time at which the origin server intends that a representation
315      no longer be returned by a cache without further validation.</t>
316   </list>
317</t>
318<t>
319   <iref item="heuristic expiration time" />
320   <x:dfn>heuristic expiration time</x:dfn>
321   <list>
322      <t>An expiration time assigned by a cache when no explicit expiration
323      time is available.</t>
324   </list>
325</t>
326<t>
327   <iref item="age" />
328   <x:dfn>age</x:dfn>
329   <list>
330      <t>The age of a response is the time since it was sent by, or
331      successfully validated with, the origin server.</t>
332   </list>
333</t>
334<t>
335   <iref item="first-hand" />
336   <x:dfn>first-hand</x:dfn>
337   <list>
338      <t>A response is first-hand if the freshness model is not in use; i.e.,
339      its age is 0.</t>
340   </list>
341</t>
342<t>
343   <iref item="freshness lifetime" />
344   <x:dfn>freshness lifetime</x:dfn>
345   <list>
346      <t>The length of time between the generation of a response and its
347      expiration time.</t>
348   </list>
349</t>
350<t>
351   <iref item="fresh" />
352   <x:dfn>fresh</x:dfn>
353   <list>
354      <t>A response is fresh if its age has not yet exceeded its freshness
355      lifetime.</t>
356   </list>
357</t>
358<t>
359   <iref item="stale" />
360   <x:dfn>stale</x:dfn>
361   <list>
362      <t>A response is stale if its age has passed its freshness lifetime
363      (either explicit or heuristic).</t>
364   </list>
365</t>
366<t>
367   <iref item="validator" />
368   <x:dfn>validator</x:dfn>
369   <list>
370      <t>A protocol element (e.g., an entity-tag or a Last-Modified time) that
371      is used to find out whether a stored response is an equivalent copy of
372      a representation. See &weak-and-strong;.</t>
373   </list>
374</t>
375<t>
376   <iref item="strong validator" />
377   <iref item="validator" subitem="strong" />
378   <x:dfn>strong validator</x:dfn>
379   <list>
380      <t>A validator that is defined by the origin server such that its
381         current value will change if the representation body changes; i.e.,
382         an entity-tag that is not marked as weak (&entity-tags;) or,
383         if no entity-tag is provided, a Last-Modified value that is strong
384         in the sense defined by &lastmod-comparison;.</t>
385   </list>
386</t>
387</section>
388
389<section anchor="intro.requirements" title="Requirements">
390<t>
391   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
392   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
393   document are to be interpreted as described in <xref target="RFC2119"/>.
394</t>
395<t>
396   An implementation is not compliant if it fails to satisfy one or more of
397   the "MUST" or "REQUIRED" level requirements for the protocols it
398   implements. An implementation that satisfies all the "MUST" or "REQUIRED"
399   level and all the "SHOULD" level requirements for its protocols is said to
400   be "unconditionally compliant"; one that satisfies all the "MUST" level
401   requirements but not all the "SHOULD" level requirements for its protocols
402   is said to be "conditionally compliant".
403</t>
404</section>
405
406<section title="Syntax Notation" anchor="notation">
407   <x:anchor-alias value="ALPHA"/>
408   <x:anchor-alias value="CR"/>
409   <x:anchor-alias value="DIGIT"/>
410   <x:anchor-alias value="DQUOTE"/>
411   <x:anchor-alias value="LF"/>
412   <x:anchor-alias value="OCTET"/>
413   <x:anchor-alias value="SP"/>
414   <x:anchor-alias value="VCHAR"/>
415   <x:anchor-alias value="WSP"/>
416<t>
417   This specification uses the ABNF syntax defined in &notation; (which
418   extends the syntax defined in <xref target="RFC5234"/> with a list rule).
419   <xref target="collected.abnf"/> shows the collected ABNF, with the list
420   rule expanded.
421</t>
422<t>
423   The following core rules are included by reference, as defined in <xref
424   target="RFC5234" x:fmt="," x:sec="B.1"/>: ALPHA (letters), CR (carriage
425   return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double
426   quote), HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit
427   sequence of data), SP (space), VCHAR (any visible USASCII character), and
428   WSP (whitespace).
429</t>
430
431<section title="Core Rules" anchor="core.rules">
432   <x:anchor-alias value="quoted-string"/>
433   <x:anchor-alias value="token"/>
434   <x:anchor-alias value="OWS"/>
435<t>
436   The core rules below are defined in <xref target="Part1"/>:
437</t>
438<figure><artwork type="abnf2616">
439  <x:ref>OWS</x:ref>           = &lt;OWS, defined in &basic-rules;&gt;
440  <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in &field-rules;&gt;
441  <x:ref>token</x:ref>         = &lt;token, defined in &field-rules;&gt;
442</artwork></figure>
443</section>
444
445<section title="ABNF Rules defined in other Parts of the Specification"
446    anchor="abnf.dependencies">
447   <x:anchor-alias value="field-name"/>
448   <x:anchor-alias value="HTTP-date"/>
449   <x:anchor-alias value="port"/>
450   <x:anchor-alias value="pseudonym"/>
451   <x:anchor-alias value="uri-host"/>
452<t>
453   The ABNF rules below are defined in other parts:
454</t>
455<figure><!--Part1--><artwork type="abnf2616">
456  <x:ref>field-name</x:ref>    = &lt;field-name, defined in &header-fields;&gt;
457  <x:ref>HTTP-date</x:ref>     = &lt;HTTP-date, defined in &full-date;&gt;
458  <x:ref>port</x:ref>          = &lt;port, defined in &uri;&gt;
459  <x:ref>pseudonym</x:ref>     = &lt;pseudonym, defined in &header-via;&gt; 
460  <x:ref>uri-host</x:ref>      = &lt;uri-host, defined in &uri;&gt;
461</artwork></figure>
462</section>
463</section>
464
465<section title="Delta Seconds" anchor="delta-seconds">
466<t>
467   The delta-seconds rule specifies a non-negative integer, representing time
468   in seconds.
469</t>
470<figure><artwork type="abnf2616"><iref item="Grammar" primary="true" subitem="delta-seconds" />
471  <x:ref>delta-seconds</x:ref>  = 1*<x:ref>DIGIT</x:ref>
472</artwork></figure>
473<t>
474   If an implementation receives a delta-seconds value larger than the largest
475   positive integer it can represent, or if any of its subsequent calculations
476   overflows, it &MUST; consider the value to be 2147483648 (2<x:sup>31</x:sup>).
477   Recipients parsing a delta-seconds value &SHOULD; use an arithmetic type of
478   at least 31 bits of range, and senders &MUST-NOT; send delta-seconds with a
479   value greater than 2147483648.
480</t>
481</section>
482
483</section>
484
485<section anchor="caching.overview" title="Cache Operation">
486<iref item="cache entry" />
487<iref item="cache key" />
488<t>
489   Proper cache operation preserves the semantics of HTTP transfers
490   (&semantics;) while eliminating the transfer of information already held
491   in the cache.  Although caching is an entirely &OPTIONAL; feature of HTTP,
492   we assume that reusing the cached response is desirable and that such
493   reuse is the default behavior when no requirement or locally-desired
494   configuration prevents it.  Therefore, HTTP cache requirements are focused
495   on preventing a cache from either storing a non-reusable response or
496   reusing a stored response inappropriately.
497</t>
498<t>
499   Each <x:dfn>cache entry</x:dfn> consists of a cache key and one or more
500   HTTP responses corresponding to prior requests that used the same key.
501   The most common form of cache entry is a successful result of a retrieval
502   request: i.e., a 200 (OK) response containing a representation of the
503   resource identified by the request target.  However, it is also possible
504   to cache negative results (e.g., 404 not found), incomplete results
505   (e.g., 206 partial content), and responses to safe methods other than
506   GET if the method's definition allows such caching and defines something
507   suitable for use as a cache key.
508</t>
509<t>
510   The default <x:dfn>cache key</x:dfn> consists of the request method and
511   target URI.  However, since HTTP caches in common use today are typically
512   limited to caching responses to GET, most implementations simply decline
513   other methods and use only the URI as the key.
514</t>
515<t>
516   If a request target is subject to content negotiation, its cache entry
517   might consist of multiple stored responses, each differentiated by a
518   secondary key for the values of the original request's selecting header
519   fields (<xref target="caching.negotiated.responses"/>).
520</t>
521
522<section anchor="response.cacheability" title="Response Cacheability">
523<t>
524   A cache &MUST-NOT; store a response to any request, unless:
525   <list style="symbols">
526      <t>The request method is understood by the cache and defined as being
527      cacheable, and</t>
528      <t>the response status code is understood by the cache, and</t>
529      <t>the "no-store" cache directive (see <xref
530      target="header.cache-control" />) does not appear in request or response
531      header fields, and</t>
532      <t>the "private" cache response directive (see <xref
533      target="cache-response-directive" /> does not appear in the response, if
534      the cache is shared, and</t>
535      <t>the "Authorization" header field (see &header-authorization;) does not
536      appear in the request, if the cache is shared, unless the response
537      explicitly allows it (see <xref target="caching.authenticated.responses"
538      />), and</t>
539      <t>the response either:
540         <list style="symbols">
541            <t>contains an Expires header field (see <xref target="header.expires"
542            />), or</t>
543            <t>contains a max-age response cache directive (see <xref
544            target="cache-response-directive" />), or</t>
545            <t>contains a s-maxage response cache directive and the cache is
546            shared, or</t>
547            <t>contains a Cache Control Extension (see <xref
548            target="cache.control.extensions" />) that allows it to be cached,
549            or</t>
550            <t>has a status code that can be served with heuristic freshness
551            (see <xref target="heuristic.freshness" />).</t>
552         </list>
553      </t>
554   </list>
555</t>
556<t>
557   Note that any of the requirements listed above can be overridden by a
558   cache-control extension; see <xref target="cache.control.extensions" />.
559</t>
560<t>
561   In this context, a cache has "understood" a request method or a response
562   status code if it recognizes it and implements any cache-specific
563   behavior.
564</t>
565<t>
566   Note that, in normal operation, most caches will not store a response that
567   has neither a cache validator nor an explicit expiration time, as such
568   responses are not usually useful to store. However, caches are not
569   prohibited from storing such responses.
570</t>
571<t>
572   A response message is considered complete when all of the octets
573   indicated by the message framing (&messaging;) are received
574   prior to the connection being closed.
575   If the request is GET, the response status is 200 (OK), and the entire
576   response header block has been received, a cache &MAY; store an incomplete
577   response message-body if the cache entry is recorded as incomplete.
578   Likewise, a 206 (Partial Content) response &MAY; be stored as if it were
579   an incomplete 200 (OK) cache entry.  However, a cache &MUST-NOT; store
580   incomplete or partial content responses if it does not support the Range
581   and Content-Range header fields or if it does not understand the
582   range units used in those fields.
583</t>
584<t>
585   A cache &MAY; complete a stored incomplete response by making a subsequent
586   range request (&partial;) and combining the successful response with the
587   stored entry, as defined in <xref target="combining.responses"/>.
588   A cache &MUST-NOT; use an incomplete response to answer requests
589   unless the response has been made complete or the request is partial and
590   specifies a range that is wholly within the incomplete response.
591   A cache &MUST-NOT; send a partial response to a client without explicitly
592   marking it as such using the 206 (Partial Content) status code.
593</t>
594</section>
595
596
597<section anchor="constructing.responses.from.caches" 
598   title="Constructing Responses from Caches">
599<t>
600   For a presented request, a cache &MUST-NOT; return a stored response,
601   unless:
602   <list style="symbols">
603      <t>The presented effective request URI (&effective-request-uri;) and
604      that of the stored response match, and</t>
605      <t>the request method associated with the stored response allows it to
606      be used for the presented request, and</t>
607      <t>selecting header fields nominated by the stored response (if any)
608      match those presented (see <xref target="caching.negotiated.responses"
609      />), and</t>
610      <t>the presented request and stored response are free from directives
611      that would prevent its use (see <xref target="header.cache-control" />
612      and <xref target="header.pragma"/>), and</t>
613      <t>the stored response is either:
614         <list style="symbols">
615            <t>fresh (see <xref target="expiration.model" />), or</t>
616            <t>allowed to be served stale (see <xref
617            target="serving.stale.responses" />), or</t>
618            <t>successfully validated (see <xref target="validation.model"
619            />).</t>
620         </list>
621      </t>
622  </list>
623</t>
624<t>
625   Note that any of the requirements listed above can be overridden by a
626   cache-control extension; see <xref target="cache.control.extensions" />.
627</t>
628<t>
629   When a stored response is used to satisfy a request without validation,
630   a cache &MUST; include a single Age header field (<xref target="header.age"
631   />) in the response with a value equal to the stored response's
632   current_age; see <xref target="age.calculations" />.
633</t>
634<t>
635   A cache &MUST; write through requests with methods that are unsafe
636   (&safe-methods;) to the origin server; i.e., a cache must not generate
637   a reply to such a request before having forwarded the request and having
638   received a corresponding response.
639</t>
640<t>
641   Also, note that unsafe requests might invalidate already stored responses;
642   see <xref target="invalidation.after.updates.or.deletions" />.
643</t>
644<t>
645   When more than one suitable response is stored, a cache &MUST; use the
646   most recent response (as determined by the Date header field). It can also
647   forward a request with "Cache-Control: max-age=0" or "Cache-Control:
648   no-cache" to disambiguate which response to use.
649</t>
650<t>
651   A cache that does not have a clock available &MUST-NOT; use stored responses
652   without revalidating them on every use. A cache, especially a shared
653   cache, &SHOULD; use a mechanism, such as NTP <xref target="RFC1305"/>, to
654   synchronize its clock with a reliable external standard.
655</t>
656
657</section>
658
659<section anchor="expiration.model" title="Freshness Model">
660<t>
661   When a response is "fresh" in the cache, it can be used to satisfy
662   subsequent requests without contacting the origin server, thereby improving
663   efficiency.
664</t>
665<t>
666   The primary mechanism for determining freshness is for an origin server to
667   provide an explicit expiration time in the future, using either the Expires
668   header field (<xref target="header.expires" />) or the max-age response cache
669   directive (<xref target="cache-response-directive" />). Generally, origin
670   servers will assign future explicit expiration times to responses in the
671   belief that the representation is not likely to change in a semantically
672   significant way before the expiration time is reached.
673</t>
674<t>
675   If an origin server wishes to force a cache to validate every request, it
676   can assign an explicit expiration time in the past to indicate that the
677   response is already stale. Compliant caches will normally validate the
678   cached response before reusing it for subsequent requests (see <xref
679   target="serving.stale.responses" />).
680</t>
681<t>
682   Since origin servers do not always provide explicit expiration times,
683   a cache &MAY; assign a heuristic expiration time when an explicit time is not
684   specified, employing algorithms that use other header field values (such as the
685   Last-Modified time) to estimate a plausible expiration time. This
686   specification does not provide specific algorithms, but does impose
687   worst-case constraints on their results.
688</t>
689<figure>
690<preamble>
691  The calculation to determine if a response is fresh is:
692</preamble>
693<artwork type="code">
694   response_is_fresh = (freshness_lifetime &gt; current_age)
695</artwork>
696</figure>
697<t>
698   The freshness_lifetime is defined in <xref
699   target="calculating.freshness.lifetime" />; the current_age is defined in
700   <xref target="age.calculations" />.
701</t>
702<t>
703   Additionally, clients might need to influence freshness calculation. They
704   can do this using several request cache directives, with the effect of
705   either increasing or loosening constraints on freshness. See <xref
706   target="cache-request-directive" />.
707</t>
708<t>
709   Note that freshness applies only to cache operation; it cannot be used to
710   force a user agent to refresh its display or reload a resource. See <xref
711   target="history.lists" /> for an explanation of the difference between
712   caches and history mechanisms.
713</t>
714
715<section anchor="calculating.freshness.lifetime" 
716   title="Calculating Freshness Lifetime">
717<t>
718   A cache can calculate the freshness lifetime (denoted as
719   freshness_lifetime) of a response by using the first match of:
720   <list style="symbols">
721      <t>If the cache is shared and the s-maxage response cache directive
722      (<xref target="cache-response-directive" />) is present, use its value,
723      or</t>
724      <t>If the max-age response cache directive (<xref
725      target="cache-response-directive" />) is present, use its value, or</t>
726      <t>If the Expires response header field (<xref target="header.expires" />) is
727      present, use its value minus the value of the Date response header field,
728      or</t>
729      <t>Otherwise, no explicit expiration time is present in the response. A
730      heuristic freshness lifetime might be applicable; see <xref
731      target="heuristic.freshness" />.</t>
732   </list>
733</t>
734<t>
735   Note that this calculation is not vulnerable to clock skew, since all of
736   the information comes from the origin server.
737</t>
738
739<section anchor="heuristic.freshness" title="Calculating Heuristic Freshness">
740<t>
741   If no explicit expiration time is present in a stored response that has a
742   status code whose definition allows heuristic freshness to be used
743   (including the following in &status-codes;: 200, 203, 206, 300, 301 and
744   410), a cache &MAY; calculate a heuristic expiration time. A cache &MUST-NOT; 
745   use heuristics to determine freshness for responses with status codes that do
746   not explicitly allow it.
747</t>
748<t>
749   When a heuristic is used to calculate freshness lifetime, a cache
750   &SHOULD; attach a Warning header field with a 113 warn-code to the response if
751   its current_age is more than 24 hours and such a warning is not already
752   present.
753</t>
754<t>
755   Also, if the response has a Last-Modified header field (&header-last-modified;),
756   a cache &SHOULD-NOT; use a heuristic expiration value that is more than some
757   fraction of the interval since that time. A typical setting of this fraction
758   might be 10%.
759</t>
760<x:note>
761   <t>
762      <x:h>Note:</x:h> RFC 2616 (<xref target="RFC2616" x:fmt=","
763      x:sec="13.9"/>) required that caches do not calculate heuristic
764      freshness for URIs with query components (i.e., those containing '?').
765      In practice, this has not been widely implemented. Therefore, servers
766      are encouraged to send explicit directives (e.g., Cache-Control:
767      no-cache) if they wish to preclude caching.
768   </t>
769</x:note>
770</section>
771</section>
772
773<section anchor="age.calculations" title="Calculating Age">
774<t>
775   HTTP/1.1 uses the Age header field to convey the estimated age of the
776   response message when obtained from a cache. The Age field value is the
777   cache's estimate of the amount of time since the response was generated or
778   validated by the origin server. In essence, the Age value is the sum of the
779   time that the response has been resident in each of the caches along the
780   path from the origin server, plus the amount of time it has been in transit
781   along network paths.
782</t>
783<t>
784   The following data is used for the age calculation:
785</t>
786<t>
787   <x:dfn>age_value</x:dfn>
788   <list>
789      <t>
790         The term "age_value" denotes the value of the Age header field (<xref
791         target="header.age"/>), in a form appropriate for arithmetic
792         operation; or 0, if not available.
793      </t>
794   </list>
795</t>
796<t>
797   <x:dfn>date_value</x:dfn>
798   <list>
799      <t>
800         HTTP/1.1 requires origin servers to send a Date header field, if possible,
801         with every response, giving the time at which the response was
802         generated. The term "date_value" denotes the value of the Date
803         header field, in a form appropriate for arithmetic operations. See
804         &header-date; for the definition of the Date header field, and for
805         requirements regarding responses without it.
806      </t>
807   </list>
808</t>
809<t>
810   <x:dfn>now</x:dfn>
811   <list>
812      <t>
813         The term "now" means "the current value of the clock at the host
814         performing the calculation". A cache &SHOULD; use NTP (<xref
815         target="RFC1305"/>) or some similar protocol to synchronize its
816         clocks to a globally accurate time standard.
817      </t>
818   </list>
819</t>
820<t>
821   <x:dfn>request_time</x:dfn>
822   <list>
823      <t>
824         The current value of the clock at the host at the time the request
825         resulting in the stored response was made.
826      </t>
827   </list>
828</t>
829<t>
830   <x:dfn>response_time</x:dfn>
831   <list>
832      <t>
833         The current value of the clock at the host at the time the response
834         was received.
835      </t>
836   </list>
837</t>
838<t>
839   A response's age can be calculated in two entirely independent ways:
840   <list style="numbers">
841      <t>the "apparent_age": response_time minus date_value, if the local
842      clock is reasonably well synchronized to the origin server's clock. If
843      the result is negative, the result is replaced by zero.</t>
844      <t>the "corrected_age_value", if all of the caches along the response
845      path implement HTTP/1.1. A cache &MUST; interpret this value relative
846      to the time the request was initiated, not the time that the response
847      was received.</t>
848   </list>
849</t>
850<figure>
851<artwork type="code">
852  apparent_age = max(0, response_time - date_value);
853
854  response_delay = response_time - request_time;
855  corrected_age_value = age_value + response_delay; 
856</artwork>
857</figure>
858<figure>
859<preamble>These are combined as</preamble>
860<artwork type="code">
861  corrected_initial_age = max(apparent_age, corrected_age_value);
862</artwork></figure>
863<t>
864   The current_age of a stored response can then be calculated by adding the
865   amount of time (in seconds) since the stored response was last validated by
866   the origin server to the corrected_initial_age.
867</t>
868<figure><artwork type="code">
869  resident_time = now - response_time;
870  current_age = corrected_initial_age + resident_time;
871</artwork></figure>
872<t>
873   Additionally, to avoid common problems in date parsing:
874</t>
875<t>
876  <list style="symbols">
877     <t>HTTP/1.1 clients and caches &SHOULD; assume that an RFC-850 date
878        which appears to be more than 50 years in the future is in fact
879        in the past (this helps solve the "year 2000" problem).</t>
880
881     <t>Although all date formats are specified to be case-sensitive,
882        recipients &SHOULD; match day, week and timezone names
883        case-insensitively.</t>
884             
885     <t>An HTTP/1.1 implementation &MAY; internally represent a parsed
886        Expires date as earlier than the proper value, but &MUST-NOT;
887        internally represent a parsed Expires date as later than the
888        proper value.</t>
889
890     <t>All expiration-related calculations &MUST; be done in GMT. The
891        local time zone &MUST-NOT; influence the calculation or comparison
892        of an age or expiration time.</t>
893
894     <t>If an HTTP header field incorrectly carries a date value with a time
895        zone other than GMT, it &MUST; be converted into GMT using the
896        most conservative possible conversion.</t>
897  </list>
898</t>
899</section>
900
901<section anchor="serving.stale.responses" title="Serving Stale Responses">
902<t>
903   A "stale" response is one that either has explicit expiry information or is
904   allowed to have heuristic expiry calculated, but is not fresh according to
905   the calculations in <xref target="expiration.model" />.
906</t>
907<t>
908   A cache &MUST-NOT; return a stale response if it is prohibited by an
909   explicit in-protocol directive (e.g., by a "no-store" or "no-cache" cache
910   directive, a "must-revalidate" cache-response-directive, or an applicable
911   "s-maxage" or "proxy-revalidate" cache-response-directive; see <xref
912   target="cache-response-directive"/>).
913</t>
914<t>
915   A cache &SHOULD-NOT; return stale responses unless it is disconnected
916   (i.e., it cannot contact the origin server or otherwise find a forward
917   path) or doing so is explicitly allowed (e.g., by the max-stale request
918   directive; see <xref target="cache-request-directive" />).
919</t>
920<t>
921   A cache &SHOULD; append a Warning header field with the 110 warn-code (see
922   <xref target="header.warning" />) to stale responses. Likewise, a cache
923   &SHOULD; add the 112 warn-code to stale responses if the cache is
924   disconnected.
925</t>
926<t>
927   If a cache receives a first-hand response (either an entire response, or a
928   304 (Not Modified) response) that it would normally forward to the
929   requesting client, and the received response is no longer fresh, the cache
930   &SHOULD; forward it to the requesting client without adding a new Warning
931   (but without removing any existing Warning header fields). A cache &SHOULD-NOT;
932   attempt to validate a response simply because that response became stale in
933   transit.
934</t>
935</section>
936</section>
937
938<section anchor="validation.model" title="Validation Model">
939<t>
940   When a cache has one or more stored responses for a requested URI, but
941   cannot serve any of them (e.g., because they are not fresh, or one cannot
942   be selected; see <xref target="caching.negotiated.responses"/>), it can use
943   the conditional request mechanism &conditional; in the forwarded request to
944   give the origin server an opportunity to both select a valid stored
945   response to be used, and to update it. This process is known as
946   "validating" or "revalidating" the stored response.
947</t>
948<t>
949   When sending such a conditional request, a cache &SHOULD; add an
950   If-Modified-Since header field whose value is that of the Last-Modified header
951   field from the selected (see <xref target="caching.negotiated.responses"/>)
952   stored response, if available.
953</t>
954<t>
955   Additionally, a cache &SHOULD; add an If-None-Match header field whose value is
956   that of the ETag header field(s) from all responses stored for the requested URI,
957   if present. However, if any of the stored responses contains only partial
958   content, the cache &SHOULD-NOT; include its entity-tag in the If-None-Match
959   header field unless the request is for a range that would be fully
960   satisfied by that stored response.
961</t>
962<t>
963   A 304 (Not Modified) response status code indicates that the stored
964   response can be updated and reused; see <xref target="freshening.responses"/>.
965</t>
966<t>
967   A full response (i.e., one with a response body) indicates that none of the
968   stored responses nominated in the conditional request is suitable. Instead,
969   a cache &SHOULD; use the full response to satisfy the request and &MAY; 
970   replace the stored response(s).
971</t>
972<t>
973   If a cache receives a 5xx response while attempting to validate a response,
974   it &MAY; either forward this response to the requesting client, or act as
975   if the server failed to respond. In the latter case, it &MAY; return a
976   previously stored response (see <xref target="serving.stale.responses" />).
977</t>
978</section>
979
980<section anchor="invalidation.after.updates.or.deletions" 
981   title="Request Methods that Invalidate">
982<t>
983   Because unsafe request methods (&safe-methods;) such as PUT, POST or DELETE
984   have the potential for changing state on the origin server, intervening
985   caches can use them to keep their contents up-to-date.
986</t>
987<t>
988   A cache &MUST; invalidate the effective Request URI
989   (&effective-request-uri;) as well as the URI(s) in the Location
990   and Content-Location header fields (if present) when a non-error
991   response to a request with an unsafe method is received.
992</t>
993<t>
994   However, a cache &MUST-NOT; invalidate a URI from a
995   Location or Content-Location header field if the host part of that URI
996   differs from the host part in the effective request URI
997   (&effective-request-uri;). This helps prevent denial of service attacks.
998</t>
999<t>
1000   A cache &SHOULD; invalidate the effective request URI
1001   (&effective-request-uri;) when it receives a non-error response
1002   to a request with a method whose safety is unknown.
1003</t>
1004<t>
1005   Here, a "non-error response" is one with a 2xx or 3xx status code.
1006   "Invalidate" means that the cache will either remove all stored
1007   responses related to the effective request URI, or will mark these as
1008   "invalid" and in need of a mandatory validation before they can be returned
1009   in response to a subsequent request.
1010</t>
1011<t>
1012   Note that this does not guarantee that all appropriate responses are
1013   invalidated. For example, the request that caused the change at the origin
1014   server might not have gone through the cache where a response is stored.
1015</t>
1016</section>
1017
1018<section anchor="caching.authenticated.responses" 
1019   title="Shared Caching of Authenticated Responses">
1020
1021<t>
1022   A shared cache &MUST-NOT; use a cached response to a request with an
1023   Authorization header field (&header-authorization;) to satisfy any subsequent
1024   request unless a cache directive that allows such responses to be stored is
1025   present in the response.
1026</t>
1027
1028<t>
1029   In this specification, the following Cache-Control response directives
1030   (<xref target="cache-response-directive"/>) have such an effect:
1031   must-revalidate, public, s-maxage.
1032</t>
1033
1034<t>
1035   Note that cached responses that contain the "must-revalidate" and/or
1036   "s-maxage" response directives are not allowed to be served stale (<xref
1037   target="serving.stale.responses"/>) by shared caches. In particular, a
1038   response with either "max-age=0, must-revalidate" or "s-maxage=0" cannot be
1039   used to satisfy a subsequent request without revalidating it on the origin
1040   server.
1041</t>
1042</section>
1043
1044<section anchor="caching.negotiated.responses" 
1045   title="Caching Negotiated Responses">
1046<t>
1047   When a cache receives a request that can be satisfied by a stored response
1048   that has a Vary header field (<xref target="header.vary"/>), it &MUST-NOT;
1049   use that response unless all of the selecting header fields nominated by
1050   the Vary header field match in both the original request (i.e., that associated
1051   with the stored response), and the presented request.
1052</t>
1053<t>
1054   The selecting header fields from two requests are defined to match if and
1055   only if those in the first request can be transformed to those in the
1056   second request by applying any of the following:
1057   <list style="symbols">
1058      <t>
1059         adding or removing whitespace, where allowed in the header field's syntax
1060      </t>
1061      <t>
1062         combining multiple header fields with the same field name
1063         (see &header-fields;)
1064      </t>
1065      <t>
1066         normalizing both header field values in a way that is known to have
1067         identical semantics, according to the header field's specification (e.g.,
1068         re-ordering field values when order is not significant;
1069         case-normalization, where values are defined to be case-insensitive)
1070      </t>
1071  </list>
1072</t>
1073<t>
1074   If (after any normalization that might take place) a header field is absent
1075   from a request, it can only match another request if it is also absent
1076   there.
1077</t>
1078<t>
1079   A Vary header field-value of "*" always fails to match, and subsequent
1080   requests to that resource can only be properly interpreted by the origin
1081   server.
1082</t>
1083<t>
1084   The stored response with matching selecting header fields is known as the
1085   selected response.
1086</t>
1087<t>
1088   If multiple selected responses are available, the most recent response
1089   (as determined by the Date header field) is used; see <xref 
1090   target="constructing.responses.from.caches"/>.
1091</t>
1092<t>
1093   If no selected response is available, the cache &MAY; forward the presented
1094   request to the origin server in a conditional request; see <xref
1095   target="validation.model"/>.
1096</t>
1097</section>
1098
1099<section anchor="combining.responses" title="Combining Partial Content">
1100<t>
1101   A response might transfer only a partial representation if the
1102   connection closed prematurely or if the request used one or more Range
1103   specifiers (&partial;).  After several such transfers, a cache might have
1104   received several ranges of the same representation.  A cache &MAY; combine
1105   these ranges into a single stored response, and reuse that response to
1106   satisfy later requests, if they all share the same strong validator and
1107   the cache complies with the client requirements in &combining-byte-ranges;.
1108</t>
1109<t>
1110   When combining the new response with one or more stored responses, a
1111   cache &MUST;:
1112   <list style="symbols">
1113      <t>delete any Warning header fields in the stored response with
1114         warn-code 1xx (see <xref target="header.warning" />);</t>
1115      <t>retain any Warning header fields in the stored response with
1116         warn-code 2xx; and,</t>
1117      <t>use other header fields provided in the new response, aside
1118         from Content-Range, to replace all instances of the corresponding
1119         header fields in the stored response.</t>
1120   </list>
1121</t>
1122</section>
1123
1124<section anchor="freshening.responses" title="Freshening Responses">
1125<t>
1126   When a cache receives a 304 (Not Modified) response and already has one
1127   or more stored 200 (OK) responses for the same cache key, the cache needs
1128   to identify which of the stored responses are updated by this new response
1129   and then update the stored response(s) with the new information provided in
1130   the 304 response.
1131   <list style="symbols">
1132    <t>
1133     If the new response contains a strong validator, then that strong
1134     validator identifies the selected representation.  All of the stored
1135     responses with the same strong validator are selected.
1136     If none of the stored responses contain the same strong validator, then
1137     this new response corresponds to a new selected representation and
1138     &MUST-NOT; update the existing stored responses.
1139    </t>
1140    <t>
1141     If the new response contains a weak validator and that validator
1142     corresponds to one of the cache's stored responses, then the most
1143     recent of those matching stored responses is selected.
1144    </t>
1145    <t>
1146     If the new response does not include any form of validator, there is
1147     only one stored response, and that stored response also lacks a
1148     validator, then that stored response is selected.
1149    </t>
1150   </list>
1151</t>
1152<t>
1153   If a stored response is selected for update, the cache &MUST;:
1154   <list style="symbols">
1155      <t>delete any Warning header fields in the stored response with
1156         warn-code 1xx (see <xref target="header.warning" />);</t>
1157      <t>retain any Warning header fields in the stored response with
1158         warn-code 2xx; and,</t>
1159      <t>use other header fields provided in the 304 response to replace
1160         all instances of the corresponding header fields in the stored
1161         response.</t>
1162   </list>
1163</t>
1164</section>
1165
1166</section>
1167
1168<section anchor="header.field.definitions" title="Header Field Definitions">
1169<t>
1170   This section defines the syntax and semantics of HTTP/1.1 header fields
1171   related to caching.
1172</t>
1173
1174<section anchor="header.age" title="Age">
1175   <iref item="Age header field" primary="true" x:for-anchor="" />
1176   <iref item="Header Fields" primary="true" subitem="Age" x:for-anchor="" />
1177   <x:anchor-alias value="Age"/>
1178   <x:anchor-alias value="age-value"/>
1179<t>
1180   The "Age" header field conveys the sender's estimate of the amount
1181   of time since the response was generated or successfully validated at the
1182   origin server. Age values are calculated as specified in <xref
1183   target="age.calculations" />.
1184</t>
1185<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Age"/>
1186  <x:ref>Age</x:ref> = <x:ref>delta-seconds</x:ref>
1187</artwork></figure>
1188<t>
1189  Age field-values are non-negative integers, representing time in seconds
1190  (see <xref target="delta-seconds"/>).
1191</t>
1192<t>
1193   The presence of an Age header field in a response implies that a response
1194   is not first-hand. However, the converse is not true, since HTTP/1.0 caches
1195   might not implement the Age header field.
1196</t>
1197</section>
1198
1199<section anchor="header.cache-control" title="Cache-Control">
1200   <iref item="Cache-Control header field" primary="true" x:for-anchor="" />
1201   <iref item="Header Fields" primary="true" subitem="Cache-Control" 
1202      x:for-anchor="" />
1203   <x:anchor-alias value="Cache-Control"/>
1204   <x:anchor-alias value="cache-directive"/>
1205   <x:anchor-alias value="cache-extension"/>
1206   <x:anchor-alias value="cache-request-directive"/>
1207   <x:anchor-alias value="cache-response-directive"/>
1208<t>
1209   The "Cache-Control" header field is used to specify directives for
1210   caches along the request/response chain. Such cache directives are
1211   unidirectional in that the presence of a directive in a request does not
1212   imply that the same directive is to be given in the response.
1213</t>
1214<t>
1215   A cache &MUST; obey the requirements of the Cache-Control
1216   directives defined in this section. See <xref
1217   target="cache.control.extensions"/> for information about how Cache-Control
1218   directives defined elsewhere are handled.
1219</t>
1220<x:note>
1221   <t>
1222       <x:h>Note:</x:h> HTTP/1.0 caches might not implement Cache-Control and
1223       might only implement Pragma: no-cache (see <xref target="header.pragma"
1224       />).
1225   </t>
1226</x:note>
1227<t>
1228   A proxy, whether or not it implements a cache, &MUST; pass cache directives
1229   through in forwarded messages, regardless of their
1230   significance to that application, since the directives might be applicable
1231   to all recipients along the request/response chain. It is not possible to
1232   target a directive to a specific cache.
1233</t>
1234<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Cache-Control"/><iref primary="true" item="Grammar" subitem="cache-extension"/>
1235  <x:ref>Cache-Control</x:ref>   = 1#<x:ref>cache-directive</x:ref>
1236
1237  <x:ref>cache-directive</x:ref> = <x:ref>cache-request-directive</x:ref>
1238     / <x:ref>cache-response-directive</x:ref>
1239
1240  <x:ref>cache-extension</x:ref> = <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) ]
1241</artwork></figure>
1242
1243<section anchor="cache-request-directive" 
1244   title="Request Cache-Control Directives">
1245   <x:anchor-alias value="cache-request-directive" />
1246
1247<figure><artwork type="abnf2616"><iref item="Grammar" primary="true" 
1248   subitem="cache-request-directive" />
1249  <x:ref>cache-request-directive</x:ref> =
1250       "no-cache"
1251     / "no-store"
1252     / "max-age" "=" <x:ref>delta-seconds</x:ref>
1253     / "max-stale" [ "=" <x:ref>delta-seconds</x:ref> ]
1254     / "min-fresh" "=" <x:ref>delta-seconds</x:ref>
1255     / "no-transform"
1256     / "only-if-cached"
1257     / <x:ref>cache-extension</x:ref>
1258</artwork></figure>
1259
1260<t>
1261   <x:dfn>no-cache</x:dfn>
1262   <iref item="Cache Directives" primary="true" subitem="no-cache" />
1263   <iref item="no-cache" primary="true" subitem="Cache Directive" />
1264   <list>
1265      <t>The no-cache request directive indicates that a cache &MUST-NOT; 
1266      use a stored response to satisfy the request without successful
1267      validation on the origin server.</t> 
1268   </list>
1269</t>
1270<t>
1271   <x:dfn>no-store</x:dfn>
1272   <iref item="Cache Directives" primary="true" subitem="no-store" />
1273   <iref item="no-store" primary="true" subitem="Cache Directive" />
1274   <list>
1275      <t>The no-store request directive indicates that a cache &MUST-NOT;
1276      store any part of either this request or any response to it. This
1277      directive applies to both private and shared caches. "&MUST-NOT;
1278      store" in this context means that the cache &MUST-NOT; intentionally
1279      store the information in non-volatile storage, and &MUST; make a
1280      best-effort attempt to remove the information from volatile storage as
1281      promptly as possible after forwarding it.</t>
1282      <t>This directive is NOT a reliable or sufficient mechanism for ensuring
1283      privacy. In particular, malicious or compromised caches might not
1284      recognize or obey this directive, and communications networks might be
1285      vulnerable to eavesdropping.</t>
1286      <t>Note that if a request containing this directive is satisfied from a
1287      cache, the no-store request directive does not apply to the already
1288      stored response.</t>
1289   </list>
1290</t>
1291<t>
1292   <x:dfn>max-age</x:dfn>
1293   <iref item="Cache Directives" primary="true" subitem="max-age" />
1294   <iref item="max-age" primary="true" subitem="Cache Directive" />
1295   <list>
1296      <t>The max-age request directive indicates that the client is unwilling to
1297      accept a response whose age is greater than the specified number of
1298      seconds. Unless the max-stale request directive is also present, the
1299      client is not willing to accept a stale response.</t>
1300   </list>
1301</t>
1302<t>
1303   <x:dfn>max-stale</x:dfn>
1304   <iref item="Cache Directives" primary="true" subitem="max-stale" />
1305   <iref item="max-stale" primary="true" subitem="Cache Directive" />
1306   <list>
1307      <t>The max-stale request directive indicates that the client is willing
1308      to accept a response that has exceeded its expiration time. If max-stale
1309      is assigned a value, then the client is willing to accept a response
1310      that has exceeded its expiration time by no more than the specified
1311      number of seconds. If no value is assigned to max-stale, then the client
1312      is willing to accept a stale response of any age.</t>
1313   </list>
1314</t>
1315<t>
1316   <x:dfn>min-fresh</x:dfn>
1317   <iref item="Cache Directives" primary="true" subitem="min-fresh" />
1318   <iref item="min-fresh" primary="true" subitem="Cache Directive" />
1319   <list>
1320      <t>The min-fresh request directive indicates that the client is willing
1321      to accept a response whose freshness lifetime is no less than its
1322      current age plus the specified time in seconds. That is, the client
1323      wants a response that will still be fresh for at least the specified
1324      number of seconds.</t>
1325   </list>
1326</t>
1327<t>
1328   <x:dfn>no-transform</x:dfn>
1329   <iref item="Cache Directives" primary="true" subitem="no-transform" />
1330   <iref item="no-transform" primary="true" subitem="Cache Directive" />
1331   <list>
1332      <t>The no-transform request directive indicates that an intermediary
1333        (whether or not it implements a cache) &MUST-NOT; change the
1334        Content-Encoding, Content-Range or Content-Type request header fields,
1335        nor the request representation.</t>
1336   </list>
1337</t>
1338<t>
1339   <x:dfn>only-if-cached</x:dfn>
1340   <iref item="Cache Directives" primary="true" subitem="only-if-cached" />
1341   <iref item="only-if-cached" primary="true" subitem="Cache Directive" />
1342   <list>
1343      <t>The only-if-cached request directive indicates that the client only
1344      wishes to obtain a stored response. If it receives this directive, a
1345      cache &SHOULD; either respond using a stored response that is consistent
1346      with the other constraints of the request, or respond with a 504
1347      (Gateway Timeout) status code. If a group of caches is being operated as
1348      a unified system with good internal connectivity, a member cache &MAY;
1349      forward such a request within that group of caches.</t>
1350   </list>
1351</t>
1352</section>
1353
1354<section anchor="cache-response-directive" 
1355   title="Response Cache-Control Directives">
1356   <x:anchor-alias value="cache-response-directive" />
1357
1358<figure><artwork type="abnf2616"><iref item="Grammar" primary="true" 
1359   subitem="cache-response-directive" />
1360  <x:ref>cache-response-directive</x:ref> =
1361       "public"
1362     / "private" [ "=" <x:ref>DQUOTE</x:ref> 1#<x:ref>field-name</x:ref> <x:ref>DQUOTE</x:ref> ]
1363     / "no-cache" [ "=" <x:ref>DQUOTE</x:ref> 1#<x:ref>field-name</x:ref> <x:ref>DQUOTE</x:ref> ]
1364     / "no-store"
1365     / "no-transform"
1366     / "must-revalidate"
1367     / "proxy-revalidate"
1368     / "max-age" "=" <x:ref>delta-seconds</x:ref>
1369     / "s-maxage" "=" <x:ref>delta-seconds</x:ref>
1370     / <x:ref>cache-extension</x:ref>
1371</artwork></figure>
1372
1373<t>
1374   <x:dfn>public</x:dfn>
1375   <iref item="Cache Directives" primary="true" subitem="public" />
1376   <iref item="public" primary="true" subitem="Cache Directive" />
1377   <list>
1378      <t>The public response directive indicates that a response whose
1379        associated request contains an 'Authentication' header &MAY; be
1380        stored (see <xref target="caching.authenticated.responses" />).</t>
1381  </list>
1382</t>
1383<t>
1384   <x:dfn>private</x:dfn>
1385   <iref item="Cache Directives" primary="true" subitem="private" />
1386   <iref item="private" primary="true" subitem="Cache Directive" />
1387   <list>
1388      <t>The private response directive indicates that the response message is
1389      intended for a single user and &MUST-NOT; be stored by a shared cache. A
1390      private cache &MAY; store the response.</t>
1391      <t>If the private response directive specifies one or more field-names,
1392      this requirement is limited to the field-values associated with the
1393      listed response header fields. That is, a shared cache &MUST-NOT; store
1394      the specified field-names(s), whereas it &MAY; store the remainder of the
1395      response message.</t>
1396      <t> <x:h>Note:</x:h> This usage of the word private only controls where
1397      the response can be stored; it cannot ensure the privacy of the message
1398      content. Also, private response directives with field-names are often
1399      handled by implementations as if an unqualified private directive was
1400      received; i.e., the special handling for the qualified form is not
1401      widely implemented.</t>
1402   </list>
1403</t>
1404<t>
1405   <x:dfn>no-cache</x:dfn>
1406   <iref item="Cache Directives" primary="true" subitem="no-cache" />
1407   <iref item="no-cache" primary="true" subitem="Cache Directive" />
1408   <list>
1409      <t>The no-cache response directive indicates that the response MUST NOT
1410      be used to satisfy a subsequent request without successful validation on
1411      the origin server. This allows an origin server to prevent a cache from
1412      using it to satisfy a request without contacting it, even by caches that
1413      have been configured to return stale responses.</t>
1414      <t>If the no-cache response directive specifies one or more field-names,
1415      this requirement is limited to the field-values associated with the
1416      listed response header fields. That is, a cache &MUST-NOT; send the
1417      specified field-name(s) in the response to a subsequent request without successful
1418      validation on the origin server. This allows an origin server to prevent
1419      the re-use of certain header fields in a response, while still allowing
1420      caching of the rest of the response.</t>
1421      <t> <x:h>Note:</x:h> Most HTTP/1.0 caches will not recognize or obey
1422      this directive. Also, no-cache response directives with field-names are
1423      often handled by implementations as if an unqualified no-cache directive
1424      was received; i.e., the special handling for the qualified form is not
1425      widely implemented. </t>
1426   </list>
1427</t>
1428<t>
1429   <x:dfn>no-store</x:dfn>
1430   <iref item="Cache Directives" primary="true" subitem="no-store" />
1431   <iref item="no-store" primary="true" subitem="Cache Directive" />
1432   <list>
1433      <t>The no-store response directive indicates that a cache &MUST-NOT;
1434      store any part of either the immediate request or response. This
1435      directive applies to both private and shared caches. "&MUST-NOT;
1436      store" in this context means that the cache &MUST-NOT; intentionally
1437      store the information in non-volatile storage, and &MUST; make a
1438      best-effort attempt to remove the information from volatile storage as
1439      promptly as possible after forwarding it.</t>
1440      <t>This directive is NOT a reliable or sufficient mechanism for ensuring
1441      privacy. In particular, malicious or compromised caches might not
1442      recognize or obey this directive, and communications networks might be
1443      vulnerable to eavesdropping.</t>
1444   </list>
1445</t>
1446<t>
1447   <x:dfn>must-revalidate</x:dfn>
1448   <iref item="Cache Directives" primary="true" subitem="must-revalidate" />
1449   <iref item="must-revalidate" primary="true" subitem="Cache Directive" />
1450   <list>
1451      <t>The must-revalidate response directive indicates that once it has
1452      become stale, a cache &MUST-NOT; use the response to satisfy subsequent
1453      requests without successful validation on the origin server.</t>
1454      <t>The must-revalidate directive is necessary to support reliable
1455      operation for certain protocol features. In all circumstances a
1456      cache &MUST; obey the must-revalidate directive; in particular,
1457      if a cache cannot reach the origin server for any reason, it &MUST;
1458      generate a 504 (Gateway Timeout) response.</t>
1459      <t>A server &SHOULD; send the must-revalidate directive if and only if
1460      failure to validate a request on the representation could result in
1461      incorrect operation, such as a silently unexecuted financial
1462      transaction.</t>
1463   </list>
1464</t>
1465<t>
1466   <x:dfn>proxy-revalidate</x:dfn>
1467   <iref item="Cache Directives" primary="true" subitem="proxy-revalidate" />
1468   <iref item="proxy-revalidate" primary="true" subitem="Cache Directive" />
1469   <list>
1470      <t>The proxy-revalidate response directive has the same meaning as the
1471      must-revalidate response directive, except that it does not apply to
1472      private caches.</t>
1473   </list>
1474</t>
1475<t>
1476   <x:dfn>max-age</x:dfn>
1477   <iref item="Cache Directives" primary="true" subitem="max-age" />
1478   <iref item="max-age" primary="true" subitem="Cache Directive" />
1479   <list>
1480      <t>The max-age response directive indicates that the response is to be
1481      considered stale after its age is greater than the specified number of
1482      seconds.</t>
1483   </list>
1484</t>
1485<t>
1486   <x:dfn>s-maxage</x:dfn>
1487   <iref item="Cache Directives" primary="true" subitem="s-maxage" />
1488   <iref item="s-maxage" primary="true" subitem="Cache Directive" />
1489   <list>
1490      <t>The s-maxage response directive indicates that, in shared caches, the
1491      maximum age specified by this directive overrides the maximum age
1492      specified by either the max-age directive or the Expires header field. The
1493      s-maxage directive also implies the semantics of the proxy-revalidate
1494      response directive.</t>
1495   </list>
1496</t>
1497<t>
1498   <x:dfn>no-transform</x:dfn>
1499   <iref item="Cache Directives" primary="true" subitem="no-transform" />
1500   <iref item="no-transform" primary="true" subitem="Cache Directive" />
1501   <list>
1502      <t>The no-transform response directive indicates that an intermediary
1503      (regardless of whether it implements a cache) &MUST-NOT; change the
1504      Content-Encoding, Content-Range or Content-Type response header fields,
1505      nor the response representation.</t>
1506   </list>
1507</t>
1508
1509</section>
1510
1511<section anchor="cache.control.extensions" title="Cache Control Extensions">
1512<t>
1513   The Cache-Control header field can be extended through the use of one or
1514   more cache-extension tokens, each with an optional value. Informational
1515   extensions (those that do not require a change in cache behavior) can be
1516   added without changing the semantics of other directives. Behavioral
1517   extensions are designed to work by acting as modifiers to the existing base
1518   of cache directives. Both the new directive and the standard directive are
1519   supplied, such that applications that do not understand the new directive
1520   will default to the behavior specified by the standard directive, and those
1521   that understand the new directive will recognize it as modifying the
1522   requirements associated with the standard directive. In this way,
1523   extensions to the cache-control directives can be made without requiring
1524   changes to the base protocol.
1525</t>
1526<t>
1527   This extension mechanism depends on an HTTP cache obeying all of the
1528   cache-control directives defined for its native HTTP-version, obeying
1529   certain extensions, and ignoring all directives that it does not
1530   understand.
1531</t>
1532<t>
1533   For example, consider a hypothetical new response directive called
1534   "community" that acts as a modifier to the private directive. We define
1535   this new directive to mean that, in addition to any private cache, any
1536   cache that is shared only by members of the community named within its
1537   value may cache the response. An origin server wishing to allow the UCI
1538   community to use an otherwise private response in their shared cache(s)
1539   could do so by including
1540</t>
1541<figure><artwork type="example">
1542  Cache-Control: private, community="UCI"
1543</artwork></figure>
1544<t>
1545   A cache seeing this header field will act correctly even if the cache does
1546   not understand the community cache-extension, since it will also see and
1547   understand the private directive and thus default to the safe behavior.
1548</t>
1549<t>
1550   A cache &MUST; ignore unrecognized cache directives; it is assumed that any
1551   cache directive likely to be unrecognized by an HTTP/1.1 cache will be
1552   combined with standard directives (or the response's default cacheability)
1553   such that the cache behavior will remain minimally correct even if the
1554   cache does not understand the extension(s).
1555</t>
1556<t>
1557   The HTTP Cache Directive Registry defines the name space for the cache
1558   directives.
1559</t>
1560<t>
1561   A registration &MUST; include the following fields:
1562   <list style="symbols">
1563      <t>Cache Directive Name</t>
1564      <t>Pointer to specification text</t>
1565   </list>
1566</t>
1567<t>
1568   Values to be added to this name space are subject to IETF review (<xref
1569   target="RFC5226" x:fmt="," x:sec="4.1"/>).
1570</t>
1571<t>
1572   The registry itself is maintained at <eref
1573   target="http://www.iana.org/assignments/http-cache-directives"/>.
1574</t>
1575</section>
1576
1577</section>
1578
1579<section anchor="header.expires" title="Expires">
1580   <iref item="Expires header field" primary="true" x:for-anchor="" />
1581   <iref item="Header Fields" primary="true" subitem="Expires" x:for-anchor="" />
1582   <x:anchor-alias value="Expires"/>
1583<t>
1584   The "Expires" header field gives the date/time after which the
1585   response is considered stale. See <xref target="expiration.model" /> for
1586   further discussion of the freshness model.
1587</t>
1588<t>
1589   The presence of an Expires field does not imply that the original resource
1590   will change or cease to exist at, before, or after that time.
1591</t>
1592<t>
1593   The field-value is an absolute date and time as defined by HTTP-date in
1594   &full-date;; a sender &MUST; use the rfc1123-date format.
1595</t>
1596<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Expires"/>
1597  <x:ref>Expires</x:ref> = <x:ref>HTTP-date</x:ref>
1598</artwork></figure>
1599<figure>
1600  <preamble>For example</preamble>
1601<artwork type="example">
1602  Expires: Thu, 01 Dec 1994 16:00:00 GMT
1603</artwork></figure>
1604<t>
1605   A cache &MUST; treat other invalid date formats,
1606   especially including the value "0", as in the past (i.e., "already
1607   expired").
1608</t>
1609<x:note>
1610   <t>
1611       <x:h>Note:</x:h> If a response includes a Cache-Control field with the
1612       max-age directive (see <xref target="cache-response-directive" />),
1613       that directive overrides the Expires field. Likewise, the s-maxage
1614       directive overrides Expires in shared caches.
1615   </t>
1616</x:note>
1617<t>
1618   Historically, HTTP required the Expires field-value to be no more than a
1619   year in the future. While longer freshness lifetimes are no longer
1620   prohibited, extremely large values have been demonstrated to cause
1621   problems (e.g., clock overflows due to use of 32-bit integers for
1622   time values), and most caches will evict a response far sooner than
1623   that. Therefore, senders ought not produce them.
1624</t>
1625</section>
1626
1627<section anchor="header.pragma" title="Pragma">
1628   <iref item="Pragma header field" primary="true" x:for-anchor="" />
1629   <iref item="Header Fields" primary="true" subitem="Pragma" x:for-anchor="" />
1630   <x:anchor-alias value="extension-pragma"/>
1631   <x:anchor-alias value="Pragma"/>
1632   <x:anchor-alias value="pragma-directive"/>
1633<t>
1634   The "Pragma" header field allows backwards compatibility with HTTP/1.0
1635   caches, so that clients can specify a "no-cache" request that they will
1636   understand (as Cache-Control was not defined until HTTP/1.1). When the
1637   Cache-Control header is also present and understood in a request, Pragma is
1638   ignored.
1639</t>
1640<t>
1641   In HTTP/1.0, Pragma was defined as an extensible field for
1642   implementation-specified directives for recipients. This specification
1643   deprecates such extensions to improve interoperability.
1644</t>
1645<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Pragma"/><iref primary="true" item="Grammar" subitem="pragma-directive"/><iref primary="true" item="Grammar" subitem="extension-pragma"/>
1646  <x:ref>Pragma</x:ref>           = 1#<x:ref>pragma-directive</x:ref>
1647  <x:ref>pragma-directive</x:ref> = "no-cache" / <x:ref>extension-pragma</x:ref>
1648  <x:ref>extension-pragma</x:ref> = <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) ]
1649</artwork></figure>
1650<t>
1651   When the Cache-Control header is not present in a request, the no-cache
1652   request pragma-directive &MUST; have the same effect on caches as if
1653   "Cache-Control: no-cache" were present (see <xref
1654   target="cache-request-directive" />).
1655</t>
1656<t>
1657   When sending a no-cache request, a client &SHOULD; include both pragma and
1658   cache-control directives unless Cache-Control: no-cache is purposefully
1659   omitted to target other Cache-Control response directives at HTTP/1.1
1660   caches. For example:
1661</t>
1662<figure>
1663<artwork type="message/http; msgtype=&#34;response&#34;" x:indent-with="  ">
1664GET / HTTP/1.1
1665Host: www.example.com
1666Cache-Control: max-age=30
1667Pragma: no-cache
1668
1669</artwork>
1670</figure>
1671<t>
1672   will constrain HTTP/1.1 caches to serve a response no older than 30
1673   seconds, while precluding implementations that do not understand
1674   Cache-Control from serving a cached response.
1675</t>
1676<x:note>
1677   <t>
1678      <x:h>Note:</x:h> Because the meaning of "Pragma: no-cache" in responses is not
1679      specified, it does not provide a reliable replacement for
1680      "Cache-Control: no-cache" in them.
1681   </t>
1682</x:note>
1683</section>
1684
1685<section anchor="header.vary" title="Vary">
1686   <iref item="Vary header field" primary="true" x:for-anchor="" />
1687   <iref item="Header Fields" primary="true" subitem="Vary" x:for-anchor="" />
1688   <x:anchor-alias value="Vary"/>
1689<t>
1690   The "Vary" header field conveys the set of header fields
1691   that were used to select the representation.
1692</t>
1693<t>
1694   Caches use this information, in part, to determine whether a stored
1695   response can be used to satisfy a given request; see <xref
1696   target="caching.negotiated.responses" />. determines, while the response is
1697   fresh, whether a cache is permitted to use the response to reply to a
1698   subsequent request without validation; see <xref
1699   target="caching.negotiated.responses" />.
1700</t>
1701<t>
1702   In uncacheable or stale responses, the Vary field value advises the user
1703   agent about the criteria that were used to select the representation.
1704</t>
1705<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Vary"/>
1706  <x:ref>Vary</x:ref> = "*" / 1#<x:ref>field-name</x:ref>
1707</artwork></figure>
1708<t>
1709   The set of header fields named by the Vary field value is known as the
1710   selecting header fields.
1711</t>
1712<t>
1713   A server &SHOULD; include a Vary header field with any cacheable response
1714   that is subject to server-driven negotiation. Doing so allows a cache to
1715   properly interpret future requests on that resource and informs the user
1716   agent about the presence of negotiation on that resource. A server &MAY;
1717   include a Vary header field with a non-cacheable response that is subject
1718   to server-driven negotiation, since this might provide the user agent with
1719   useful information about the dimensions over which the response varies at
1720   the time of the response.
1721</t>
1722<t>
1723   A Vary field value of "*" signals that unspecified parameters not limited
1724   to the header fields (e.g., the network address of the client), play a
1725   role in the selection of the response representation; therefore, a cache
1726   cannot determine whether this response is appropriate. A proxy &MUST-NOT;
1727   generate the "*" value.
1728</t>
1729<t>
1730   The field-names given are not limited to the set of standard header
1731   fields defined by this specification. Field names are case-insensitive.
1732</t>
1733</section>
1734
1735<section anchor="header.warning" title="Warning">
1736   <iref item="Warning header field" primary="true" x:for-anchor="" />
1737   <iref item="Header Fields" primary="true" subitem="Warning" x:for-anchor="" />
1738   <x:anchor-alias value="Warning"/>
1739   <x:anchor-alias value="warning-value"/>
1740   <x:anchor-alias value="warn-agent"/>
1741   <x:anchor-alias value="warn-code"/>
1742   <x:anchor-alias value="warn-date"/>
1743   <x:anchor-alias value="warn-text"/>
1744<t>
1745   The "Warning" header field is used to carry additional information
1746   about the status or transformation of a message that might not be reflected
1747   in the message. This information is typically used to warn about possible
1748   incorrectness introduced by caching operations or transformations applied
1749   to the payload of the message.
1750</t>
1751<t>
1752   Warnings can be used for other purposes, both cache-related and otherwise.
1753   The use of a warning, rather than an error status code, distinguishes these
1754   responses from true failures.
1755</t>
1756<t>
1757   Warning header fields can in general be applied to any message, however some
1758   warn-codes are specific to caches and can only be applied to response
1759   messages.
1760</t>
1761<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Warning"/><iref primary="true" item="Grammar" subitem="warning-value"/><iref primary="true" item="Grammar" subitem="warn-code"/><iref primary="true" item="Grammar" subitem="warn-agent"/><iref primary="true" item="Grammar" subitem="warn-text"/><iref primary="true" item="Grammar" subitem="warn-date"/>
1762  <x:ref>Warning</x:ref>       = 1#<x:ref>warning-value</x:ref>
1763 
1764  <x:ref>warning-value</x:ref> = <x:ref>warn-code</x:ref> <x:ref>SP</x:ref> <x:ref>warn-agent</x:ref> <x:ref>SP</x:ref> <x:ref>warn-text</x:ref>
1765                                        [<x:ref>SP</x:ref> <x:ref>warn-date</x:ref>]
1766 
1767  <x:ref>warn-code</x:ref>  = 3<x:ref>DIGIT</x:ref>
1768  <x:ref>warn-agent</x:ref> = ( <x:ref>uri-host</x:ref> [ ":" <x:ref>port</x:ref> ] ) / <x:ref>pseudonym</x:ref>
1769                  ; the name or pseudonym of the server adding
1770                  ; the Warning header field, for use in debugging
1771  <x:ref>warn-text</x:ref>  = <x:ref>quoted-string</x:ref>
1772  <x:ref>warn-date</x:ref>  = <x:ref>DQUOTE</x:ref> <x:ref>HTTP-date</x:ref> <x:ref>DQUOTE</x:ref>
1773</artwork></figure>
1774<t>
1775   Multiple warnings can be attached to a response (either by the origin
1776   server or by a cache), including multiple warnings with the same code
1777   number, only differing in warn-text.
1778</t>
1779<t>
1780   When this occurs, the user agent &SHOULD; inform the user of as many of
1781   them as possible, in the order that they appear in the response.
1782</t>
1783<t>
1784   Systems that generate multiple Warning header fields &SHOULD; order them with
1785   this user agent behavior in mind. New Warning header fields &SHOULD; be added
1786   after any existing Warning headers fields.
1787</t>
1788<t>
1789   Warnings are assigned three digit warn-codes. The first digit indicates
1790   whether the Warning is required to be deleted from a stored response after
1791   validation:
1792   <list style="symbols">
1793      <t>1xx Warnings describe the freshness or validation status of the
1794      response, and so &MUST; be deleted by a cache after validation. They can
1795      only be generated by a cache when validating a cached entry, and
1796      &MUST-NOT; be generated in any other situation.</t>
1797      <t>2xx Warnings describe some aspect of the representation that is not
1798      rectified by a validation (for example, a lossy compression of the
1799      representation) and &MUST-NOT; be deleted by a cache after validation,
1800      unless a full response is returned, in which case they &MUST; be.</t>
1801   </list>
1802</t>
1803<t>
1804   If an implementation sends a message with one or more Warning header fields to a
1805   receiver whose version is HTTP/1.0 or lower, then the sender &MUST; include
1806   in each warning-value a warn-date that matches the Date header field in the
1807   message.
1808</t>
1809<t>
1810   If a system receives a message with a warning-value that includes
1811   a warn-date, and that warn-date is different from the Date value in the
1812   response, then that warning-value &MUST; be deleted from the message before
1813   storing, forwarding, or using it. (preventing the consequences of naive
1814   caching of Warning header fields.) If all of the warning-values are deleted
1815   for this reason, the Warning header field &MUST; be deleted as well.
1816</t>
1817<t>
1818   The following warn-codes are defined by this specification, each with a
1819   recommended warn-text in English, and a description of its meaning.
1820</t>
1821<t><?rfc needLines="4"?>
1822   110 Response is stale
1823   <list>
1824      <t>A cache &SHOULD; include this whenever the returned response is stale.</t>
1825   </list>
1826</t>
1827<t><?rfc needLines="4"?>
1828   111 Revalidation failed
1829   <list>
1830      <t>A cache &SHOULD; include this when returning a stale response because an
1831      attempt to validate the response failed, due to an inability to reach
1832      the server.</t>
1833   </list>
1834</t>
1835<t><?rfc needLines="4"?>
1836   112 Disconnected operation
1837   <list>
1838      <t>A cache &SHOULD; b include this if it is intentionally disconnected from
1839      the rest of the network for a period of time.</t>
1840   </list>
1841</t>
1842<t><?rfc needLines="4"?>
1843   113 Heuristic expiration
1844   <list>
1845      <t>A cache &SHOULD; include this if it heuristically chose a freshness
1846      lifetime greater than 24 hours and the response's age is greater than 24
1847      hours.</t>
1848   </list>
1849</t>
1850<t><?rfc needLines="4"?>
1851   199 Miscellaneous warning
1852   <list>
1853      <t>The warning text can include arbitrary information to be presented to
1854      a human user, or logged. A system receiving this warning &MUST-NOT; take
1855      any automated action, besides presenting the warning to the user.</t>
1856   </list>
1857</t>
1858<t><?rfc needLines="4"?>
1859   214 Transformation applied
1860   <list>
1861      <t>&MUST; be added by a proxy if it applies any
1862      transformation to the representation, such as changing the
1863      content-coding, media-type, or modifying the representation data, unless
1864      this Warning code already appears in the response.</t>
1865   </list>
1866</t>
1867<t><?rfc needLines="4"?>
1868   299 Miscellaneous persistent warning
1869   <list>
1870      <t>The warning text can include arbitrary information to be presented to
1871      a human user, or logged. A system receiving this warning &MUST-NOT; take
1872      any automated action.</t>
1873   </list>
1874</t>
1875</section>
1876
1877</section>
1878
1879<section anchor="history.lists" title="History Lists">
1880<t>
1881   User agents often have history mechanisms, such as "Back" buttons and
1882   history lists, that can be used to redisplay a representation retrieved
1883   earlier in a session.
1884</t>
1885<t>
1886   The freshness model (<xref target="expiration.model"/>) does not
1887   necessarily apply to history mechanisms. I.e., a history mechanism can
1888   display a previous representation even if it has expired.
1889</t>
1890<t>
1891   This does not prohibit the history mechanism from telling the user that a
1892   view might be stale, or from honoring cache directives (e.g.,
1893   Cache-Control: no-store).
1894</t>
1895</section>
1896
1897
1898<section anchor="IANA.considerations" title="IANA Considerations">
1899
1900<section title="Cache Directive Registry" 
1901   anchor="cache.directive.registration">
1902<t>
1903   The registration procedure for HTTP Cache Directives is defined by <xref
1904   target="cache.control.extensions"/> of this document.
1905</t>
1906<t>
1907   The HTTP Cache Directive Registry shall be created at <eref
1908   target="http://www.iana.org/assignments/http-cache-directives"/> and be
1909   populated with the registrations below:
1910</t>
1911<?BEGININC p6-cache.cache-directives ?>
1912<!--AUTOGENERATED FROM extract-cache-directives-defs.xslt, do not edit manually-->
1913<texttable xmlns:my="#my" align="left" suppress-title="true"
1914           anchor="iana.cache.directive.registration.table">
1915   <ttcol>Cache Directive</ttcol>
1916   <ttcol>Reference</ttcol>
1917
1918   <c>max-age</c>
1919   <c>
1920      <xref target="cache-request-directive"/>, <xref target="cache-response-directive"/>
1921   </c>
1922   <c>max-stale</c>
1923   <c>
1924      <xref target="cache-request-directive"/>
1925   </c>
1926   <c>min-fresh</c>
1927   <c>
1928      <xref target="cache-request-directive"/>
1929   </c>
1930   <c>must-revalidate</c>
1931   <c>
1932      <xref target="cache-response-directive"/>
1933   </c>
1934   <c>no-cache</c>
1935   <c>
1936      <xref target="cache-request-directive"/>, <xref target="cache-response-directive"/>
1937   </c>
1938   <c>no-store</c>
1939   <c>
1940      <xref target="cache-request-directive"/>, <xref target="cache-response-directive"/>
1941   </c>
1942   <c>no-transform</c>
1943   <c>
1944      <xref target="cache-request-directive"/>, <xref target="cache-response-directive"/>
1945   </c>
1946   <c>only-if-cached</c>
1947   <c>
1948      <xref target="cache-request-directive"/>
1949   </c>
1950   <c>private</c>
1951   <c>
1952      <xref target="cache-response-directive"/>
1953   </c>
1954   <c>proxy-revalidate</c>
1955   <c>
1956      <xref target="cache-response-directive"/>
1957   </c>
1958   <c>public</c>
1959   <c>
1960      <xref target="cache-response-directive"/>
1961   </c>
1962   <c>s-maxage</c>
1963   <c>
1964      <xref target="cache-response-directive"/>
1965   </c>
1966   <c>stale-if-error</c>
1967   <c>
1968      <xref xmlns:x="http://purl.org/net/xml2rfc/ext" target="RFC5861" x:fmt="," x:sec="4"/>
1969   </c>
1970   <c>stale-while-revalidate</c>
1971   <c>
1972      <xref xmlns:x="http://purl.org/net/xml2rfc/ext" target="RFC5861" x:fmt="," x:sec="3"/>
1973   </c>
1974</texttable>
1975<!--(END)-->
1976<?ENDINC p6-cache.cache-directives ?>
1977</section>
1978
1979<section title="Header Field Registration" anchor="header.field.registration">
1980<t>
1981  The Message Header Field Registry located at <eref 
1982  target="http://www.iana.org/assignments/message-headers/message-header-index.html" />
1983  shall be updated with the permanent registrations below (see <xref target="RFC3864" />):
1984</t>
1985<?BEGININC p6-cache.iana-headers ?>
1986<!--AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually-->
1987<texttable align="left" suppress-title="true" anchor="iana.header.registration.table">
1988   <ttcol>Header Field Name</ttcol>
1989   <ttcol>Protocol</ttcol>
1990   <ttcol>Status</ttcol>
1991   <ttcol>Reference</ttcol>
1992
1993   <c>Age</c>
1994   <c>http</c>
1995   <c>standard</c>
1996   <c>
1997      <xref target="header.age"/>
1998   </c>
1999   <c>Cache-Control</c>
2000   <c>http</c>
2001   <c>standard</c>
2002   <c>
2003      <xref target="header.cache-control"/>
2004   </c>
2005   <c>Expires</c>
2006   <c>http</c>
2007   <c>standard</c>
2008   <c>
2009      <xref target="header.expires"/>
2010   </c>
2011   <c>Pragma</c>
2012   <c>http</c>
2013   <c>standard</c>
2014   <c>
2015      <xref target="header.pragma"/>
2016   </c>
2017   <c>Vary</c>
2018   <c>http</c>
2019   <c>standard</c>
2020   <c>
2021      <xref target="header.vary"/>
2022   </c>
2023   <c>Warning</c>
2024   <c>http</c>
2025   <c>standard</c>
2026   <c>
2027      <xref target="header.warning"/>
2028   </c>
2029</texttable>
2030<!--(END)-->
2031<?ENDINC p6-cache.iana-headers ?>
2032<t>
2033   The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task
2034   Force".
2035</t>
2036</section>
2037
2038</section>
2039
2040<section anchor="security.considerations" title="Security Considerations">
2041<t>
2042   Caches expose additional potential vulnerabilities, since the contents of
2043   the cache represent an attractive target for malicious exploitation.
2044   Because cache contents persist after an HTTP request is complete, an attack
2045   on the cache can reveal information long after a user believes that the
2046   information has been removed from the network. Therefore, cache contents
2047   need to be protected as sensitive information.
2048</t>
2049</section>
2050
2051<section title="Acknowledgments" anchor="acks">
2052<t>
2053  See &acks;.
2054</t>
2055</section>
2056
2057</middle>
2058
2059<back>
2060<references title="Normative References">
2061
2062  <reference anchor="Part1">
2063    <front>
2064      <title abbrev="HTTP/1.1">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title>
2065      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
2066        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2067        <address><email>fielding@gbiv.com</email></address>
2068      </author>
2069      <author fullname="Jim Gettys" initials="J." surname="Gettys">
2070        <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
2071        <address><email>jg@freedesktop.org</email></address>
2072      </author>
2073      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
2074        <organization abbrev="HP">Hewlett-Packard Company</organization>
2075        <address><email>JeffMogul@acm.org</email></address>
2076      </author>
2077      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
2078        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2079        <address><email>henrikn@microsoft.com</email></address>
2080      </author>
2081      <author fullname="Larry Masinter" initials="L." surname="Masinter">
2082        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2083        <address><email>LMM@acm.org</email></address>
2084      </author>
2085      <author fullname="Paul J. Leach" initials="P." surname="Leach">
2086        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2087        <address><email>paulle@microsoft.com</email></address>
2088      </author>
2089      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
2090        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
2091        <address><email>timbl@w3.org</email></address>
2092      </author>
2093      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
2094        <organization abbrev="W3C">World Wide Web Consortium</organization>
2095        <address><email>ylafon@w3.org</email></address>
2096      </author>
2097      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
2098        <organization abbrev="greenbytes">greenbytes GmbH</organization>
2099        <address><email>julian.reschke@greenbytes.de</email></address>
2100      </author>
2101      <date month="&ID-MONTH;" year="&ID-YEAR;" />
2102    </front>
2103    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p1-messaging-&ID-VERSION;" />
2104    <x:source basename="p1-messaging" href="p1-messaging.xml" />
2105  </reference>
2106
2107  <reference anchor="Part2">
2108    <front>
2109      <title abbrev="HTTP/1.1">HTTP/1.1, part 2: Message Semantics</title>
2110      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
2111        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2112        <address><email>fielding@gbiv.com</email></address>
2113      </author>
2114      <author fullname="Jim Gettys" initials="J." surname="Gettys">
2115        <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
2116        <address><email>jg@freedesktop.org</email></address>
2117      </author>
2118      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
2119        <organization abbrev="HP">Hewlett-Packard Company</organization>
2120        <address><email>JeffMogul@acm.org</email></address>
2121      </author>
2122      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
2123        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2124        <address><email>henrikn@microsoft.com</email></address>
2125      </author>
2126      <author fullname="Larry Masinter" initials="L." surname="Masinter">
2127        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2128        <address><email>LMM@acm.org</email></address>
2129      </author>
2130      <author fullname="Paul J. Leach" initials="P." surname="Leach">
2131        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2132        <address><email>paulle@microsoft.com</email></address>
2133      </author>
2134      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
2135        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
2136        <address><email>timbl@w3.org</email></address>
2137      </author>
2138      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
2139        <organization abbrev="W3C">World Wide Web Consortium</organization>
2140        <address><email>ylafon@w3.org</email></address>
2141      </author>
2142      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
2143        <organization abbrev="greenbytes">greenbytes GmbH</organization>
2144        <address><email>julian.reschke@greenbytes.de</email></address>
2145      </author>
2146      <date month="&ID-MONTH;" year="&ID-YEAR;" />
2147    </front>
2148    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p2-semantics-&ID-VERSION;" />
2149    <x:source basename="p2-semantics" href="p2-semantics.xml" />
2150  </reference>
2151
2152  <reference anchor="Part4">
2153    <front>
2154      <title abbrev="HTTP/1.1">HTTP/1.1, part 4: Conditional Requests</title>
2155      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
2156        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2157        <address><email>fielding@gbiv.com</email></address>
2158      </author>
2159      <author fullname="Jim Gettys" initials="J." surname="Gettys">
2160        <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
2161        <address><email>jg@freedesktop.org</email></address>
2162      </author>
2163      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
2164        <organization abbrev="HP">Hewlett-Packard Company</organization>
2165        <address><email>JeffMogul@acm.org</email></address>
2166      </author>
2167      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
2168        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2169        <address><email>henrikn@microsoft.com</email></address>
2170      </author>
2171      <author fullname="Larry Masinter" initials="L." surname="Masinter">
2172        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2173        <address><email>LMM@acm.org</email></address>
2174      </author>
2175      <author fullname="Paul J. Leach" initials="P." surname="Leach">
2176        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2177        <address><email>paulle@microsoft.com</email></address>
2178      </author>
2179      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
2180        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
2181        <address><email>timbl@w3.org</email></address>
2182      </author>
2183      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
2184        <organization abbrev="W3C">World Wide Web Consortium</organization>
2185        <address><email>ylafon@w3.org</email></address>
2186      </author>
2187      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
2188        <organization abbrev="greenbytes">greenbytes GmbH</organization>
2189        <address><email>julian.reschke@greenbytes.de</email></address>
2190      </author>
2191      <date month="&ID-MONTH;" year="&ID-YEAR;" />
2192    </front>
2193    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p4-conditional-&ID-VERSION;" />
2194    <x:source basename="p4-conditional" href="p4-conditional.xml" />
2195  </reference>
2196
2197  <reference anchor="Part5">
2198    <front>
2199      <title abbrev="HTTP/1.1">HTTP/1.1, part 5: Range Requests and Partial Responses</title>
2200      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
2201        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2202        <address><email>fielding@gbiv.com</email></address>
2203      </author>
2204      <author fullname="Jim Gettys" initials="J." surname="Gettys">
2205        <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
2206        <address><email>jg@freedesktop.org</email></address>
2207      </author>
2208      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
2209        <organization abbrev="HP">Hewlett-Packard Company</organization>
2210        <address><email>JeffMogul@acm.org</email></address>
2211      </author>
2212      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
2213        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2214        <address><email>henrikn@microsoft.com</email></address>
2215      </author>
2216      <author fullname="Larry Masinter" initials="L." surname="Masinter">
2217        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2218        <address><email>LMM@acm.org</email></address>
2219      </author>
2220      <author fullname="Paul J. Leach" initials="P." surname="Leach">
2221        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2222        <address><email>paulle@microsoft.com</email></address>
2223      </author>
2224      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
2225        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
2226        <address><email>timbl@w3.org</email></address>
2227      </author>
2228      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
2229        <organization abbrev="W3C">World Wide Web Consortium</organization>
2230        <address><email>ylafon@w3.org</email></address>
2231      </author>
2232      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
2233        <organization abbrev="greenbytes">greenbytes GmbH</organization>
2234        <address><email>julian.reschke@greenbytes.de</email></address>
2235      </author>
2236      <date month="&ID-MONTH;" year="&ID-YEAR;" />
2237    </front>
2238    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p5-range-&ID-VERSION;" />
2239    <x:source basename="p5-range" href="p5-range.xml" />
2240  </reference>
2241
2242  <reference anchor="Part7">
2243    <front>
2244      <title abbrev="HTTP/1.1">HTTP/1.1, part 7: Authentication</title>
2245      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
2246        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2247        <address><email>fielding@gbiv.com</email></address>
2248      </author>
2249      <author fullname="Jim Gettys" initials="J." surname="Gettys">
2250        <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
2251        <address><email>jg@freedesktop.org</email></address>
2252      </author>
2253      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
2254        <organization abbrev="HP">Hewlett-Packard Company</organization>
2255        <address><email>JeffMogul@acm.org</email></address>
2256      </author>
2257      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
2258        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2259        <address><email>henrikn@microsoft.com</email></address>
2260      </author>
2261      <author fullname="Larry Masinter" initials="L." surname="Masinter">
2262        <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
2263        <address><email>LMM@acm.org</email></address>
2264      </author>
2265      <author fullname="Paul J. Leach" initials="P." surname="Leach">
2266        <organization abbrev="Microsoft">Microsoft Corporation</organization>
2267        <address><email>paulle@microsoft.com</email></address>
2268      </author>
2269      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
2270        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
2271        <address><email>timbl@w3.org</email></address>
2272      </author>
2273      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
2274        <organization abbrev="W3C">World Wide Web Consortium</organization>
2275        <address><email>ylafon@w3.org</email></address>
2276      </author>
2277      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
2278        <organization abbrev="greenbytes">greenbytes GmbH</organization>
2279        <address><email>julian.reschke@greenbytes.de</email></address>
2280      </author>
2281      <date month="&ID-MONTH;" year="&ID-YEAR;" />
2282    </front>
2283    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p7-auth-&ID-VERSION;" />
2284    <x:source basename="p7-auth" href="p7-auth.xml" />
2285  </reference>
2286
2287  <reference anchor="RFC2119">
2288    <front>
2289      <title>Key words for use in RFCs to Indicate Requirement Levels</title>
2290      <author fullname="Scott Bradner" initials="S." surname="Bradner">
2291        <organization>Harvard University</organization>
2292        <address><email>sob@harvard.edu</email></address>
2293      </author>
2294      <date month="March" year="1997" />
2295    </front>
2296    <seriesInfo name="BCP" value="14" />
2297    <seriesInfo name="RFC" value="2119" />
2298  </reference>
2299
2300  <reference anchor="RFC5234">
2301    <front>
2302      <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
2303      <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
2304        <organization>Brandenburg InternetWorking</organization>
2305        <address>
2306          <email>dcrocker@bbiw.net</email>
2307        </address> 
2308      </author>
2309      <author initials="P." surname="Overell" fullname="Paul Overell">
2310        <organization>THUS plc.</organization>
2311        <address>
2312          <email>paul.overell@thus.net</email>
2313        </address>
2314      </author>
2315      <date month="January" year="2008"/>
2316    </front>
2317    <seriesInfo name="STD" value="68"/>
2318    <seriesInfo name="RFC" value="5234"/>
2319  </reference>
2320 
2321</references>
2322
2323<references title="Informative References">
2324
2325  <reference anchor="RFC1305">
2326    <front>
2327      <title>Network Time Protocol (Version 3) Specification, Implementation</title>
2328      <author fullname="David L. Mills" initials="D." surname="Mills">
2329        <organization>University of Delaware, Electrical Engineering Department</organization>
2330        <address><email>mills@udel.edu</email></address>
2331      </author>
2332      <date month="March" year="1992" />
2333    </front>
2334    <seriesInfo name="RFC" value="1305" />
2335  </reference>
2336
2337  <reference anchor="RFC2616">
2338    <front>
2339      <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
2340      <author fullname="R. Fielding" initials="R." surname="Fielding">
2341        <organization>University of California, Irvine</organization>
2342        <address><email>fielding@ics.uci.edu</email></address>
2343      </author>
2344      <author fullname="J. Gettys" initials="J." surname="Gettys">
2345        <organization>W3C</organization>
2346        <address><email>jg@w3.org</email></address>
2347      </author>
2348      <author fullname="J. Mogul" initials="J." surname="Mogul">
2349        <organization>Compaq Computer Corporation</organization>
2350        <address><email>mogul@wrl.dec.com</email></address>
2351      </author>
2352      <author fullname="H. Frystyk" initials="H." surname="Frystyk">
2353        <organization>MIT Laboratory for Computer Science</organization>
2354        <address><email>frystyk@w3.org</email></address>
2355      </author>
2356      <author fullname="L. Masinter" initials="L." surname="Masinter">
2357        <organization>Xerox Corporation</organization>
2358        <address><email>masinter@parc.xerox.com</email></address>
2359      </author>
2360      <author fullname="P. Leach" initials="P." surname="Leach">
2361        <organization>Microsoft Corporation</organization>
2362        <address><email>paulle@microsoft.com</email></address>
2363      </author>
2364      <author fullname="T. Berners-Lee" initials="T." surname="Berners-Lee">
2365        <organization>W3C</organization>
2366        <address><email>timbl@w3.org</email></address>
2367      </author>
2368      <date month="June" year="1999" />
2369    </front>
2370    <seriesInfo name="RFC" value="2616" />
2371  </reference>
2372
2373  <reference anchor="RFC3864">
2374    <front>
2375      <title>Registration Procedures for Message Header Fields</title>
2376      <author fullname="G. Klyne" initials="G." surname="Klyne">
2377        <organization>Nine by Nine</organization>
2378        <address><email>GK-IETF@ninebynine.org</email></address>
2379      </author>
2380      <author fullname="M. Nottingham" initials="M." surname="Nottingham">
2381        <organization>BEA Systems</organization>
2382        <address><email>mnot@pobox.com</email></address>
2383      </author>
2384      <author fullname="J. Mogul" initials="J." surname="Mogul">
2385        <organization>HP Labs</organization>
2386        <address><email>JeffMogul@acm.org</email></address>
2387      </author>
2388      <date month="September" year="2004" />
2389    </front>
2390    <seriesInfo name="BCP" value="90" />
2391    <seriesInfo name="RFC" value="3864" />
2392  </reference>
2393
2394  <reference anchor='RFC5226'>
2395    <front>
2396      <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
2397      <author initials='T.' surname='Narten' fullname='T. Narten'>
2398        <organization>IBM</organization>
2399        <address><email>narten@us.ibm.com</email></address>
2400      </author>
2401      <author initials='H.' surname='Alvestrand' fullname='H. Alvestrand'>
2402        <organization>Google</organization>
2403        <address><email>Harald@Alvestrand.no</email></address>
2404      </author>
2405      <date year='2008' month='May' />
2406    </front>
2407    <seriesInfo name='BCP' value='26' />
2408    <seriesInfo name='RFC' value='5226' />
2409  </reference>
2410
2411  <reference anchor='RFC5861'>
2412    <front>
2413      <title abbrev="HTTP stale controls">HTTP Cache-Control Extensions for Stale Content</title>
2414      <author initials="M." surname="Nottingham" fullname="Mark Nottingham">
2415        <organization>Yahoo! Inc.</organization>
2416        <address><email>mnot@yahoo-inc.com</email></address>
2417      </author>
2418      <date month="April" year="2010"/>
2419    </front>
2420    <seriesInfo name='RFC' value='5861' />
2421  </reference>
2422
2423</references>
2424
2425<section anchor="changes.from.rfc.2616" title="Changes from RFC 2616">
2426<t>
2427  Make the specified age calculation algorithm less conservative.
2428  (<xref target="age.calculations"/>)
2429</t>
2430<t>
2431  Remove requirement to consider Content-Location in successful responses
2432  in order to determine the appropriate response to use.
2433  (<xref target="validation.model" />)
2434</t>
2435<t>
2436  Clarify denial of service attack avoidance requirement.
2437  (<xref target="invalidation.after.updates.or.deletions" />)
2438</t>
2439<t>
2440  Change ABNF productions for header fields to only define the field value.
2441  (<xref target="header.field.definitions"/>)
2442</t>
2443<t>
2444  Do not mention RFC 2047 encoding and multiple languages in Warning header fields
2445  anymore, as these aspects never were implemented.
2446  (<xref target="header.warning" />)
2447</t>
2448</section>
2449
2450<?BEGININC p6-cache.abnf-appendix ?>
2451<section xmlns:x="http://purl.org/net/xml2rfc/ext" title="Collected ABNF" anchor="collected.abnf">
2452<figure>
2453<artwork type="abnf" name="p6-cache.parsed-abnf">
2454<x:ref>Age</x:ref> = delta-seconds
2455
2456<x:ref>Cache-Control</x:ref> = *( "," OWS ) cache-directive *( OWS "," [ OWS
2457 cache-directive ] )
2458
2459<x:ref>Expires</x:ref> = HTTP-date
2460
2461<x:ref>HTTP-date</x:ref> = &lt;HTTP-date, defined in [Part1], Section 6.1&gt;
2462
2463<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
2464
2465<x:ref>Pragma</x:ref> = *( "," OWS ) pragma-directive *( OWS "," [ OWS
2466 pragma-directive ] )
2467
2468<x:ref>Vary</x:ref> = "*" / ( *( "," OWS ) field-name *( OWS "," [ OWS field-name ]
2469 ) )
2470
2471<x:ref>Warning</x:ref> = *( "," OWS ) warning-value *( OWS "," [ OWS warning-value ]
2472 )
2473
2474<x:ref>cache-directive</x:ref> = cache-request-directive / cache-response-directive
2475<x:ref>cache-extension</x:ref> = token [ "=" ( token / quoted-string ) ]
2476<x:ref>cache-request-directive</x:ref> = "no-cache" / "no-store" / ( "max-age="
2477 delta-seconds ) / ( "max-stale" [ "=" delta-seconds ] ) / (
2478 "min-fresh=" delta-seconds ) / "no-transform" / "only-if-cached" /
2479 cache-extension
2480<x:ref>cache-response-directive</x:ref> = "public" / ( "private" [ "=" DQUOTE *( ","
2481 OWS ) field-name *( OWS "," [ OWS field-name ] ) DQUOTE ] ) / (
2482 "no-cache" [ "=" DQUOTE *( "," OWS ) field-name *( OWS "," [ OWS
2483 field-name ] ) DQUOTE ] ) / "no-store" / "no-transform" /
2484 "must-revalidate" / "proxy-revalidate" / ( "max-age=" delta-seconds
2485 ) / ( "s-maxage=" delta-seconds ) / cache-extension
2486
2487<x:ref>delta-seconds</x:ref> = 1*DIGIT
2488
2489<x:ref>extension-pragma</x:ref> = token [ "=" ( token / quoted-string ) ]
2490
2491<x:ref>field-name</x:ref> = &lt;field-name, defined in [Part1], Section 3.2&gt;
2492
2493<x:ref>port</x:ref> = &lt;port, defined in [Part1], Section 2.7&gt;
2494<x:ref>pragma-directive</x:ref> = "no-cache" / extension-pragma
2495<x:ref>pseudonym</x:ref> = &lt;pseudonym, defined in [Part1], Section 9.9&gt;
2496
2497<x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in [Part1], Section 3.2.3&gt;
2498
2499<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 3.2.3&gt;
2500
2501<x:ref>uri-host</x:ref> = &lt;uri-host, defined in [Part1], Section 2.7&gt;
2502
2503<x:ref>warn-agent</x:ref> = ( uri-host [ ":" port ] ) / pseudonym
2504<x:ref>warn-code</x:ref> = 3DIGIT
2505<x:ref>warn-date</x:ref> = DQUOTE HTTP-date DQUOTE
2506<x:ref>warn-text</x:ref> = quoted-string
2507<x:ref>warning-value</x:ref> = warn-code SP warn-agent SP warn-text [ SP warn-date
2508 ]
2509</artwork>
2510</figure>
2511<figure><preamble>ABNF diagnostics:</preamble><artwork type="inline">
2512; Age defined but not used
2513; Cache-Control defined but not used
2514; Expires defined but not used
2515; Pragma defined but not used
2516; Vary defined but not used
2517; Warning defined but not used
2518</artwork></figure></section>
2519<?ENDINC p6-cache.abnf-appendix ?>
2520
2521<section anchor="change.log" title="Change Log (to be removed by RFC Editor before publication)">
2522
2523<section title="Since RFC 2616">
2524  <t>Extracted relevant partitions from <xref target="RFC2616" />.</t>
2525</section>
2526
2527<section title="Since draft-ietf-httpbis-p6-cache-00">
2528<t>
2529  Closed issues:
2530  <list style="symbols">
2531    <t>
2532      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/9" />: "Trailer" (<eref target="http://purl.org/NET/http-errata#trailer-hop" />)</t>
2533    <t>
2534      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/12" />: "Invalidation after Update or Delete" (<eref target="http://purl.org/NET/http-errata#invalidupd" />)</t>
2535    <t>
2536      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/35" />: "Normative and Informative references"</t>
2537    <t>
2538      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/48" />: "Date reference typo"</t>
2539    <t>
2540      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/49" />: "Connection header text"</t>
2541    <t>
2542      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/65" />: "Informative references"</t>
2543    <t>
2544      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/66" />: "ISO-8859-1 Reference"</t>
2545    <t>
2546      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/86" />: "Normative up-to-date references"</t>
2547    <t>
2548      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/87" />: "typo in 13.2.2"</t>
2549  </list>
2550</t>
2551<t>
2552  Other changes:
2553  <list style="symbols">
2554    <t>Use names of RFC4234 core rules DQUOTE and HTAB (work in progress on <eref
2555        target="http://tools.ietf.org/wg/httpbis/trac/ticket/36" />)</t>
2556  </list>
2557</t>
2558</section>
2559
2560<section title="Since draft-ietf-httpbis-p6-cache-01">
2561<t>
2562  Closed issues:
2563  <list style="symbols">
2564    <t>
2565      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/82" />: "rel_path not used"</t>
2566  </list>
2567</t>
2568<t>
2569  Other changes:
2570  <list style="symbols">
2571    <t>Get rid of duplicate BNF rule names ("host" -&gt; "uri-host") (work in progress
2572      on <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36" />)</t>
2573    <t>Add explicit references to BNF syntax and rules imported from other parts of the
2574      specification.</t>
2575  </list>
2576</t>
2577</section>
2578
2579<section anchor="changes.since.02" title="Since draft-ietf-httpbis-p6-cache-02">
2580<t>
2581  Ongoing work on IANA Message Header Field Registration (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/40" />):
2582  <list style="symbols">
2583    <t>Reference RFC 3984, and update header field registrations for header fields defined in this
2584      document.</t>
2585  </list>
2586</t>
2587</section>
2588
2589<section anchor="changes.since.03" title="Since draft-ietf-httpbis-p6-cache-03">
2590<t>
2591  Closed issues:
2592  <list style="symbols">
2593    <t>
2594      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/106" />: "Vary header classification"</t>
2595  </list>
2596</t>
2597</section>
2598
2599<section anchor="changes.since.04" title="Since draft-ietf-httpbis-p6-cache-04">
2600<t>
2601  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
2602  <list style="symbols"> 
2603    <t>
2604      Use "/" instead of "|" for alternatives.
2605    </t>
2606    <t>
2607      Introduce new ABNF rules for "bad" whitespace ("BWS"), optional
2608      whitespace ("OWS") and required whitespace ("RWS").
2609    </t>
2610    <t>
2611      Rewrite ABNFs to spell out whitespace rules, factor out
2612      header field value format definitions.
2613    </t>
2614  </list>
2615</t>
2616</section>
2617
2618<section anchor="changes.since.05" title="Since draft-ietf-httpbis-p6-cache-05">
2619<t>
2620  This is a total rewrite of this part of the specification.
2621</t>
2622<t>
2623  Affected issues:
2624  <list style="symbols">
2625    <t>
2626      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/54" />: "Definition of 1xx Warn-Codes"</t>
2627    <t>
2628      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/60" />: "Placement of 13.5.1 and 13.5.2"</t>
2629    <t>
2630      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/138" />: "The role of Warning and Semantic Transparency in Caching"</t>
2631    <t>
2632      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/139" />: "Methods and Caching"</t>
2633  </list>
2634</t>
2635<t>
2636  In addition: Final work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
2637  <list style="symbols"> 
2638    <t>
2639      Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.
2640    </t>
2641  </list>
2642</t>
2643</section>
2644
2645<section anchor="changes.since.06" title="Since draft-ietf-httpbis-p6-cache-06">
2646<t>
2647  Closed issues:
2648  <list style="symbols"> 
2649    <t>
2650      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/161"/>:
2651      "base for numeric protocol elements"
2652    </t>
2653  </list>
2654</t>
2655<t>
2656  Affected issues:
2657  <list style="symbols">
2658    <t>
2659      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/37"/>:
2660      "Vary and non-existant headers"
2661    </t>
2662  </list>
2663</t>
2664</section>
2665
2666<section anchor="changes.since.07" title="Since draft-ietf-httpbis-p6-cache-07">
2667<t>
2668  Closed issues:
2669  <list style="symbols"> 
2670    <t>
2671      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/54" />:
2672      "Definition of 1xx Warn-Codes"
2673    </t>
2674    <t>
2675      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/167"/>:
2676      "Content-Location on 304 responses"
2677    </t>
2678    <t>
2679      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/169" />:
2680      "private and no-cache CC directives with headers"
2681    </t>
2682    <t>
2683      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/187"/>:
2684      "RFC2047 and warn-text"
2685    </t>
2686  </list>
2687</t>
2688</section>
2689
2690<section anchor="changes.since.08" title="Since draft-ietf-httpbis-p6-cache-08">
2691<t>
2692  Closed issues:
2693  <list style="symbols"> 
2694    <t>
2695      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/147" />:
2696      "serving negotiated responses from cache: header-specific canonicalization"
2697    </t>
2698    <t>
2699      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/197" />:
2700      "Effect of CC directives on history lists"
2701    </t>
2702    <t>
2703      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/291" />:
2704      "Cache Extensions can override no-store, etc."
2705    </t>
2706  </list>
2707</t>
2708<t>
2709  Affected issues:
2710  <list style="symbols">
2711    <t>
2712      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/199"/>:
2713      Status codes and caching
2714    </t>
2715  </list>
2716</t>
2717<t>
2718  Partly resolved issues:
2719  <list style="symbols"> 
2720    <t>
2721      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/60"/>:
2722      "Placement of 13.5.1 and 13.5.2"
2723    </t>
2724  </list>
2725</t>
2726</section>
2727
2728<section title="Since draft-ietf-httpbis-p6-cache-09" anchor="changes.since.09">
2729<t>
2730  Closed issues:
2731  <list style="symbols"> 
2732    <t>
2733      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/29" />:
2734      "Age calculation"
2735    </t>
2736    <t>
2737      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/168" />:
2738      "Clarify differences between / requirements for request and response CC directives"
2739    </t>
2740    <t>
2741      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/174" />:
2742      "Caching authenticated responses"
2743    </t>
2744    <t>
2745      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/208" />:
2746      "IANA registry for cache-control directives"
2747    </t>
2748    <t>
2749      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/211" />:
2750      "Heuristic caching of URLs with query components"
2751    </t>
2752  </list>
2753</t>
2754<t>
2755  Partly resolved issues:
2756  <list style="symbols"> 
2757    <t>
2758      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/196"/>:
2759      "Term for the requested resource's URI"
2760    </t>
2761  </list>
2762</t>
2763</section>
2764
2765<section title="Since draft-ietf-httpbis-p6-cache-10" anchor="changes.since.10">
2766<t>
2767  Closed issues:
2768  <list style="symbols"> 
2769    <t>
2770      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/109"/>:
2771      "Clarify entity / representation / variant terminology"
2772    </t>
2773    <t>
2774      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/220"/>:
2775      "consider removing the 'changes from 2068' sections"
2776    </t>
2777    <t>
2778      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/223"/>:
2779      "Allowing heuristic caching for new status codes"
2780    </t>
2781    <t>
2782      Clean up TODOs and prose in "Combining Responses."
2783    </t>
2784  </list>
2785</t>
2786</section>
2787
2788<section title="Since draft-ietf-httpbis-p6-cache-11" anchor="changes.since.11">
2789<t>
2790  Closed issues:
2791  <list style="symbols"> 
2792    <t>
2793      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/204"/>:
2794      "Text about clock requirement for caches belongs in p6"
2795    </t>
2796  </list>
2797</t>
2798</section>
2799
2800<section title="Since draft-ietf-httpbis-p6-cache-12" anchor="changes.since.12">
2801<t>
2802  Closed issues:
2803  <list style="symbols"> 
2804    <t>
2805      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/224"/>:
2806      "Header Classification"
2807    </t>
2808    <t>
2809      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/268"/>:
2810      "Clarify 'public'"
2811    </t>
2812  </list>
2813</t>
2814</section>
2815
2816<section title="Since draft-ietf-httpbis-p6-cache-13" anchor="changes.since.13">
2817<t>
2818  Closed issues:
2819  <list style="symbols">
2820    <t>
2821      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
2822      "untangle ABNFs for header fields"
2823    </t>
2824  </list>
2825</t>
2826</section>
2827
2828<section title="Since draft-ietf-httpbis-p6-cache-14" anchor="changes.since.14">
2829<t>
2830  Closed issues:
2831  <list style="symbols">
2832    <t>
2833      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/38"/>:
2834      "Mismatch Vary"
2835    </t>
2836    <t>
2837      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/235"/>:
2838      "Cache Invalidation only happens upon successful responses"
2839    </t>
2840    <t>
2841      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/282"/>:
2842      "Recommend minimum sizes for protocol elements"
2843    </t>
2844    <t>
2845      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/289"/>:
2846      "Proxies don't 'understand' methods"
2847    </t>
2848    <t>
2849      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/291"/>:
2850      "Cache Extensions can override no-store, etc."
2851    </t>
2852    <t>
2853      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/292"/>:
2854      "Pragma"
2855    </t>
2856  </list>
2857</t>
2858</section>
2859
2860<section title="Since draft-ietf-httpbis-p6-cache-15" anchor="changes.since.15">
2861<t>
2862  Closed issues:
2863  <list style="symbols">
2864    <t>
2865      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/290"/>:
2866      "Motivate one-year limit for Expires"
2867    </t>
2868  </list>
2869</t>
2870</section>
2871
2872<section title="Since draft-ietf-httpbis-p6-cache-16" anchor="changes.since.16">
2873<t>
2874  None yet.
2875</t>
2876</section>
2877
2878</section>
2879  </back>
2880</rfc>
Note: See TracBrowser for help on using the repository browser.