source: draft-ietf-httpbis/latest/p6-cache.html @ 1563

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

Adjust language around no-cache with arguments; #337

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