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

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

Clarify rules for 304 updates, motivate last point; addresses #406

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/html;charset=utf-8
File size: 175.4 KB
1<!DOCTYPE html
2  PUBLIC "-//W3C//DTD HTML 4.01//EN">
3<html lang="en">
4   <head profile="">
5      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6      <title>Hypertext Transfer Protocol (HTTP/1.1): Caching</title><script>
7var buttonsAdded = false;
9function init() {
10  var fb = document.createElement("div");
11  fb.className = "feedback noprint";
12  fb.setAttribute("onclick", "feedback();");
13  fb.appendChild(document.createTextNode("feedback"));
15  var bodyl = document.getElementsByTagName("body");
16  bodyl.item(0).appendChild(fb);
19function feedback() {
20  toggleButtonsToElementsByName("h1");
21  toggleButtonsToElementsByName("h2");
22  toggleButtonsToElementsByName("h3");
23  toggleButtonsToElementsByName("h4");
25  buttonsAdded = !buttonsAdded;
28function toggleButtonsToElementsByName(name) {
29  var list = document.getElementsByTagName(name);
30  for (var i = 0; i < list.length; i++) {
31    toggleButton(list.item(i));
32  }
35function toggleButton(node) {
36  if (! buttonsAdded) {
38    // docname
39    var template = "{docname},%20%22{section}%22&body=<{ref}>:";
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    }
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    }
61    // docname
62    var docname = "draft-ietf-httpbis-p6-cache-latest";
64    // section
65    var section = node.textContent;
66    section = section.replace("\u00a0", " ");
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));
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;
92a.smpl {
93  color: black;
95a:hover {
96  text-decoration: underline;
98a:active {
99  text-decoration: underline;
101address {
102  margin-top: 1em;
103  margin-left: 2em;
104  font-style: normal;
106body {
107  color: black;
108  font-family: verdana, helvetica, arial, sans-serif;
109  font-size: 10pt;
110  margin-right: 2em;
112cite {
113  font-style: normal;
115div.note {
116  margin-left: 2em;
118dl {
119  margin-left: 2em;
121ul.empty {
122  list-style-type: none;
124ul.empty li {
125  margin-top: .5em;
127dl p {
128  margin-left: 0em;
130dt {
131  margin-top: .5em;
133h1 {
134  font-size: 14pt;
135  line-height: 21pt;
136  page-break-after: avoid;
137} {
139  page-break-before: always;
141h1 a {
142  color: #333333;
144h2 {
145  font-size: 12pt;
146  line-height: 15pt;
147  page-break-after: avoid;
149h3, h4, h5, h6 {
150  font-size: 10pt;
151  page-break-after: avoid;
153h2 a, h3 a, h4 a, h5 a, h6 a {
154  color: black;
156img {
157  margin-left: 3em;
159li {
160  margin-left: 2em;
162ol {
163  margin-left: 2em;
164} {
166  list-style-type: lower-alpha;
167} {
169  list-style-type: upper-alpha;
171ol p {
172  margin-left: 0em;
174p {
175  margin-left: 2em;
177pre {
178  margin-left: 3em;
179  background-color: lightyellow;
180  padding: .25em;
181  page-break-inside: avoid;
183pre.text2 {
184  border-style: dotted;
185  border-width: 1px;
186  background-color: #f0f0f0;
187  width: 69em;
189pre.inline {
190  background-color: white;
191  padding: 0em;
193pre.text {
194  border-style: dotted;
195  border-width: 1px;
196  background-color: #f8f8f8;
197  width: 69em;
199pre.drawing {
200  border-style: solid;
201  border-width: 1px;
202  background-color: #f8f8f8;
203  padding: 2em;
205sup {
206  font-size: 60%;
208table {
209  margin-left: 2em;
210} {
212  vertical-align: top;
214table.full {
215  border-style: outset;
216  border-width: 1px;
218table.headers {
219  border-style: outset;
220  border-width: 1px;
221} td {
223  vertical-align: top;
225table.full td {
226  border-style: inset;
227  border-width: 1px;
228} th {
230  vertical-align: top;
232table.full th {
233  border-style: inset;
234  border-width: 1px;
236table.headers th {
237  border-style: none none inset none;
238  border-width: 1px;
240table.left {
241  margin-right: auto;
243table.right {
244  margin-left: auto;
245} {
247  margin-left: auto;
248  margin-right: auto;
250caption {
251  caption-side: bottom;
252  font-weight: bold;
253  font-size: 9pt;
254  margin-top: .5em;
257table.header {
258  border-spacing: 1px;
259  width: 95%;
260  font-size: 10pt;
261  color: white;
262} {
264  vertical-align: top;
266td.topnowrap {
267  vertical-align: top;
268  white-space: nowrap;
270table.header td {
271  background-color: gray;
272  width: 50%;
274table.header a {
275  color: white;
277td.reference {
278  vertical-align: top;
279  white-space: nowrap;
280  padding-right: 1em;
282thead {
283  display:table-header-group;
285ul.toc, ul.toc ul {
286  list-style: none;
287  margin-left: 1.5em;
288  padding-left: 0em;
290ul.toc li {
291  line-height: 150%;
292  font-weight: bold;
293  font-size: 10pt;
294  margin-left: 0em;
296ul.toc li li {
297  line-height: normal;
298  font-weight: normal;
299  font-size: 9pt;
300  margin-left: 0em;
302li.excluded {
303  font-size: 0pt;
305ul p {
306  margin-left: 0em;
308ul.ind, ul.ind ul {
309  list-style: none;
310  margin-left: 1.5em;
311  padding-left: 0em;
312  page-break-before: avoid;
314ul.ind li {
315  font-weight: bold;
316  line-height: 200%;
317  margin-left: 0em;
319ul.ind li li {
320  font-weight: normal;
321  line-height: 150%;
322  margin-left: 0em;
324.avoidbreak {
325  page-break-inside: avoid;
327.bcp14 {
328  font-style: normal;
329  text-transform: lowercase;
330  font-variant: small-caps;
332.comment {
333  background-color: yellow;
334} {
336  text-align: center;
338.error {
339  color: red;
340  font-style: italic;
341  font-weight: bold;
343.figure {
344  font-weight: bold;
345  text-align: center;
346  font-size: 9pt;
348.filename {
349  color: #333333;
350  font-weight: bold;
351  font-size: 12pt;
352  line-height: 21pt;
353  text-align: center;
355.fn {
356  font-weight: bold;
358.hidden {
359  display: none;
361.left {
362  text-align: left;
364.right {
365  text-align: right;
367.title {
368  color: #990000;
369  font-size: 18pt;
370  line-height: 18pt;
371  font-weight: bold;
372  text-align: center;
373  margin-top: 36pt;
375.vcardline {
376  display: block;
378.warning {
379  font-size: 14pt;
380  background-color: yellow;
381} {
383  position: fixed;
384  bottom: 1%;
385  right: 1%;
386  padding: 3px 5px;
387  color: white;
388  border-radius: 5px;
389  background: #a00000;
390  border: 1px solid silver;
392.fbbutton {
393  margin-left: 1em;
394  color: #303030;
395  font-size: small;
396  font-weight: normal;
397  background: #d0d000;
398  padding: 1px 4px;
399  border: 1px solid silver;
400  border-radius: 5px;
403@media print {
404  .noprint {
405    display: none;
406  }
408  a {
409    color: black;
410    text-decoration: none;
411  }
413  table.header {
414    width: 90%;
415  }
417  td.header {
418    width: 50%;
419    color: black;
420    background-color: white;
421    vertical-align: top;
422    font-size: 12pt;
423  }
425  ul.toc a:nth-child(2)::after {
426    content: leader('.') target-counter(attr(href), page);
427  }
429  ul.ind li li a {
430    content: target-counter(attr(href), page);
431  }
433  .print2col {
434    column-count: 2;
435    -moz-column-count: 2;
436    column-fill: auto;
437  }
440@page {
441  @top-left {
442       content: "Internet-Draft";
443  }
444  @top-right {
445       content: "January 2013";
446  }
447  @top-center {
448       content: "HTTP/1.1 Caching";
449  }
450  @bottom-left {
451       content: "Fielding, et al.";
452  }
453  @bottom-center {
454       content: "Expires July 12, 2013";
455  }
456  @bottom-right {
457       content: "[Page " counter(page) "]";
458  }
461@page:first {
462    @top-left {
463      content: normal;
464    }
465    @top-right {
466      content: normal;
467    }
468    @top-center {
469      content: normal;
470    }
472</style><link rel="Contents" href="#rfc.toc">
473      <link rel="Author" href="#rfc.authors">
474      <link rel="Copyright" href="#rfc.copyrightnotice">
475      <link rel="Index" href="#rfc.index">
476      <link rel="Chapter" title="1 Introduction" href="#rfc.section.1">
477      <link rel="Chapter" title="2 Overview of Cache Operation" href="#rfc.section.2">
478      <link rel="Chapter" title="3 Storing Responses in Caches" href="#rfc.section.3">
479      <link rel="Chapter" title="4 Constructing Responses from Caches" href="#rfc.section.4">
480      <link rel="Chapter" title="5 Updating Caches with HEAD Responses" href="#rfc.section.5">
481      <link rel="Chapter" title="6 Request Methods that Invalidate" href="#rfc.section.6">
482      <link rel="Chapter" title="7 Header Field Definitions" href="#rfc.section.7">
483      <link rel="Chapter" title="8 History Lists" href="#rfc.section.8">
484      <link rel="Chapter" title="9 IANA Considerations" href="#rfc.section.9">
485      <link rel="Chapter" title="10 Security Considerations" href="#rfc.section.10">
486      <link rel="Chapter" title="11 Acknowledgments" href="#rfc.section.11">
487      <link rel="Chapter" href="#rfc.section.12" title="12 References">
488      <link rel="Appendix" title="A Changes from RFC 2616" href="#rfc.section.A">
489      <link rel="Appendix" title="B Imported ABNF" href="#rfc.section.B">
490      <link rel="Appendix" title="C Collected ABNF" href="#rfc.section.C">
491      <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D">
492      <link href="p5-range.html" rel="prev">
493      <link href="p7-auth.html" rel="next">
494      <meta name="generator" content=", Revision 1.589, 2012-11-30 14:23:31, XSLT vendor: SAXON from Saxonica">
495      <link rel="schema.dct" href="">
496      <meta name="dct.creator" content="Fielding, R.">
497      <meta name="dct.creator" content="Nottingham, M.">
498      <meta name="dct.creator" content="Reschke, J. F.">
499      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p6-cache-latest">
500      <meta name="dct.issued" scheme="ISO8601" content="2013-01-08">
501      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
502      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. This document defines requirements on HTTP caches and the associated header fields that control cache behavior or indicate cacheable response messages.">
503      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. This document defines requirements on HTTP caches and the associated header fields that control cache behavior or indicate cacheable response messages.">
504   </head>
505   <body onload="init();">
506      <table class="header">
507         <tbody>
508            <tr>
509               <td class="left">HTTPbis Working Group</td>
510               <td class="right">R. Fielding, Editor</td>
511            </tr>
512            <tr>
513               <td class="left">Internet-Draft</td>
514               <td class="right">Adobe</td>
515            </tr>
516            <tr>
517               <td class="left">Obsoletes: <a href="">2616</a> (if approved)
518               </td>
519               <td class="right">M. Nottingham, Editor</td>
520            </tr>
521            <tr>
522               <td class="left">Intended status: Standards Track</td>
523               <td class="right">Akamai</td>
524            </tr>
525            <tr>
526               <td class="left">Expires: July 12, 2013</td>
527               <td class="right">J. Reschke, Editor</td>
528            </tr>
529            <tr>
530               <td class="left"></td>
531               <td class="right">greenbytes</td>
532            </tr>
533            <tr>
534               <td class="left"></td>
535               <td class="right">January 8, 2013</td>
536            </tr>
537         </tbody>
538      </table>
539      <p class="title">Hypertext Transfer Protocol (HTTP/1.1): Caching<br><span class="filename">draft-ietf-httpbis-p6-cache-latest</span></p>
540      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1>
541      <p>The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information
542         systems. This document defines requirements on HTTP caches and the associated header fields that control cache behavior or
543         indicate cacheable response messages.
544      </p>
545      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1>
546      <p>Discussion of this draft takes place on the HTTPBIS working group mailing list (, which is archived at &lt;<a href=""></a>&gt;.
547      </p> 
548      <p>The current issues list is at &lt;<a href=""></a>&gt; and related documents (including fancy diffs) can be found at &lt;<a href=""></a>&gt;.
549      </p> 
550      <p>The changes in this draft are summarized in <a href="#changes.since.21" title="Since draft-ietf-httpbis-p6-cache-21">Appendix&nbsp;D.3</a>.
551      </p>
552      <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1>
553      <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
554      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
555         working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href=""></a>.
556      </p>
557      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
558         documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
559         in progress”.
560      </p>
561      <p>This Internet-Draft will expire on July 12, 2013.</p>
562      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
563      <p>Copyright © 2013 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
564      <p>This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (<a href=""></a>) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights
565         and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
566         text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
567         BSD License.
568      </p>
569      <p>This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November
570         10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to
571         allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s)
572         controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative
573         works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate
574         it into languages other than English.
575      </p>
576      <hr class="noprint">
577      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
578      <ul class="toc">
579         <li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#caching">Introduction</a><ul>
580               <li><a href="#rfc.section.1.1">1.1</a>&nbsp;&nbsp;&nbsp;<a href="#intro.purpose">Purpose</a></li>
581               <li><a href="#rfc.section.1.2">1.2</a>&nbsp;&nbsp;&nbsp;<a href="#intro.terminology">Terminology</a></li>
582               <li><a href="#rfc.section.1.3">1.3</a>&nbsp;&nbsp;&nbsp;<a href="#conformance">Conformance and Error Handling</a></li>
583               <li><a href="#rfc.section.1.4">1.4</a>&nbsp;&nbsp;&nbsp;<a href="#notation">Syntax Notation</a><ul>
584                     <li><a href="#rfc.section.1.4.1">1.4.1</a>&nbsp;&nbsp;&nbsp;<a href="#delta-seconds">Delta Seconds</a></li>
585                  </ul>
586               </li>
587            </ul>
588         </li>
589         <li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#caching.overview">Overview of Cache Operation</a></li>
590         <li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#response.cacheability">Storing Responses in Caches</a><ul>
591               <li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#incomplete.responses">Storing Incomplete Responses</a></li>
592               <li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#caching.authenticated.responses">Storing Responses to Authenticated Requests</a></li>
593            </ul>
594         </li>
595         <li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#constructing.responses.from.caches">Constructing Responses from Caches</a><ul>
596               <li><a href="#rfc.section.4.1">4.1</a>&nbsp;&nbsp;&nbsp;<a href="#expiration.model">Freshness Model</a><ul>
597                     <li><a href="#rfc.section.4.1.1">4.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#calculating.freshness.lifetime">Calculating Freshness Lifetime</a></li>
598                     <li><a href="#rfc.section.4.1.2">4.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#heuristic.freshness">Calculating Heuristic Freshness</a></li>
599                     <li><a href="#rfc.section.4.1.3">4.1.3</a>&nbsp;&nbsp;&nbsp;<a href="#age.calculations">Calculating Age</a></li>
600                     <li><a href="#rfc.section.4.1.4">4.1.4</a>&nbsp;&nbsp;&nbsp;<a href="#serving.stale.responses">Serving Stale Responses</a></li>
601                  </ul>
602               </li>
603               <li><a href="#rfc.section.4.2">4.2</a>&nbsp;&nbsp;&nbsp;<a href="#validation.model">Validation Model</a><ul>
604                     <li><a href="#rfc.section.4.2.1">4.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#freshening.responses">Freshening Responses with 304 Not Modified</a></li>
605                  </ul>
606               </li>
607               <li><a href="#rfc.section.4.3">4.3</a>&nbsp;&nbsp;&nbsp;<a href="#caching.negotiated.responses">Using Negotiated Responses</a></li>
608               <li><a href="#rfc.section.4.4">4.4</a>&nbsp;&nbsp;&nbsp;<a href="#combining.responses">Combining Partial Content</a></li>
609            </ul>
610         </li>
611         <li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#head.effects">Updating Caches with HEAD Responses</a></li>
612         <li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#invalidation.after.updates.or.deletions">Request Methods that Invalidate</a></li>
613         <li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.definitions">Header Field Definitions</a><ul>
614               <li><a href="#rfc.section.7.1">7.1</a>&nbsp;&nbsp;&nbsp;<a href="#header.age">Age</a></li>
615               <li><a href="#rfc.section.7.2">7.2</a>&nbsp;&nbsp;&nbsp;<a href="#header.cache-control">Cache-Control</a><ul>
616                     <li><a href="#rfc.section.7.2.1">7.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive">Request Cache-Control Directives</a><ul>
617                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="">no-cache</a></li>
618                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="">no-store</a></li>
619                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.max-age">max-age</a></li>
620                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.max-stale">max-stale</a></li>
621                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.min-fresh">min-fresh</a></li>
622                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="">no-transform</a></li>
623                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.only-if-cached">only-if-cached</a></li>
624                        </ul>
625                     </li>
626                     <li><a href="#rfc.section.7.2.2">7.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive">Response Cache-Control Directives</a><ul>
627                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.public">public</a></li>
628                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.private">private</a></li>
629                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="">no-cache</a></li>
630                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="">no-store</a></li>
631                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.must-revalidate">must-revalidate</a></li>
632                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.proxy-revalidate">proxy-revalidate</a></li>
633                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.max-age">max-age</a></li>
634                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.s-maxage">s-maxage</a></li>
635                           <li><a href="#rfc.section."></a>&nbsp;&nbsp;&nbsp;<a href="">no-transform</a></li>
636                        </ul>
637                     </li>
638                     <li><a href="#rfc.section.7.2.3">7.2.3</a>&nbsp;&nbsp;&nbsp;<a href="#cache.control.extensions">Cache Control Extensions</a></li>
639                  </ul>
640               </li>
641               <li><a href="#rfc.section.7.3">7.3</a>&nbsp;&nbsp;&nbsp;<a href="#header.expires">Expires</a></li>
642               <li><a href="#rfc.section.7.4">7.4</a>&nbsp;&nbsp;&nbsp;<a href="#header.pragma">Pragma</a></li>
643               <li><a href="#rfc.section.7.5">7.5</a>&nbsp;&nbsp;&nbsp;<a href="#header.warning">Warning</a><ul>
644                     <li><a href="#rfc.section.7.5.1">7.5.1</a>&nbsp;&nbsp;&nbsp;<a href="#warn.110">110 Response is Stale</a></li>
645                     <li><a href="#rfc.section.7.5.2">7.5.2</a>&nbsp;&nbsp;&nbsp;<a href="#warn.111">111 Revalidation Failed</a></li>
646                     <li><a href="#rfc.section.7.5.3">7.5.3</a>&nbsp;&nbsp;&nbsp;<a href="#warn.112">112 Disconnected Operation</a></li>
647                     <li><a href="#rfc.section.7.5.4">7.5.4</a>&nbsp;&nbsp;&nbsp;<a href="#warn.113">113 Heuristic Expiration</a></li>
648                     <li><a href="#rfc.section.7.5.5">7.5.5</a>&nbsp;&nbsp;&nbsp;<a href="#warn.199">199 Miscellaneous Warning</a></li>
649                     <li><a href="#rfc.section.7.5.6">7.5.6</a>&nbsp;&nbsp;&nbsp;<a href="#warn.214">214 Transformation Applied</a></li>
650                     <li><a href="#rfc.section.7.5.7">7.5.7</a>&nbsp;&nbsp;&nbsp;<a href="#warn.299">299 Miscellaneous Persistent Warning</a></li>
651                     <li><a href="#rfc.section.7.5.8">7.5.8</a>&nbsp;&nbsp;&nbsp;<a href="#warn.code.extensions">Warn Code Extensions</a></li>
652                  </ul>
653               </li>
654            </ul>
655         </li>
656         <li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#history.lists">History Lists</a></li>
657         <li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#IANA.considerations">IANA Considerations</a><ul>
658               <li><a href="#rfc.section.9.1">9.1</a>&nbsp;&nbsp;&nbsp;<a href="#cache.directive.registration">Cache Directive Registry</a></li>
659               <li><a href="#rfc.section.9.2">9.2</a>&nbsp;&nbsp;&nbsp;<a href="#warn.code.registration">Warn Code Registry</a></li>
660               <li><a href="#rfc.section.9.3">9.3</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
661            </ul>
662         </li>
663         <li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
664         <li><a href="#rfc.section.11">11.</a>&nbsp;&nbsp;&nbsp;<a href="#acks">Acknowledgments</a></li>
665         <li><a href="#rfc.section.12">12.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul>
666               <li><a href="#rfc.section.12.1">12.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
667               <li><a href="#rfc.section.12.2">12.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
668            </ul>
669         </li>
670         <li><a href="#rfc.authors">Authors' Addresses</a></li>
671         <li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc.2616">Changes from RFC 2616</a></li>
672         <li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#imported.abnf">Imported ABNF</a></li>
673         <li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#collected.abnf">Collected ABNF</a></li>
674         <li><a href="#rfc.section.D">D.</a>&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul>
675               <li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.19">Since draft-ietf-httpbis-p6-cache-19</a></li>
676               <li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.20">Since draft-ietf-httpbis-p6-cache-20</a></li>
677               <li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.21">Since draft-ietf-httpbis-p6-cache-21</a></li>
678            </ul>
679         </li>
680         <li><a href="#rfc.index">Index</a></li>
681      </ul>
682      <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="caching" href="#caching">Introduction</a></h1>
683      <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.
684         This document defines aspects of HTTP/1.1 related to caching and reusing response messages.
685      </p>
686      <div id="rfc.iref.c.1"></div>
687      <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>
688      <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
689         stores cacheable responses in order to reduce the response time and network bandwidth consumption on future, equivalent requests.
690         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.
691      </p>
692      <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
693         request. A stored response is considered "fresh", as defined in <a href="#expiration.model" title="Freshness Model">Section&nbsp;4.1</a>, if the response can be reused without "validation" (checking with the origin server to see if the cached response remains
694         valid for this request). A fresh cache response can therefore reduce both latency and network transfers each time it is reused.
695         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;4.2</a>) or if the origin is unavailable.
696      </p>
697      <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>
698      <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>
699      <p id="rfc.section.1.2.p.2"> <span id="rfc.iref.c.2"></span>  <dfn>cache</dfn> 
700      </p>
701      <ul class="empty">
702         <li>A conformant implementation of an HTTP cache. Note that this implies an HTTP/1.1 cache; this specification does not define
703            conformance for HTTP/1.0 caches.
704         </li>
705      </ul>
706      <div id="shared.and.non-shared.caches">
707         <p id="rfc.section.1.2.p.3"> <span id="rfc.iref.s.1"></span>  <dfn>shared cache</dfn> 
708         </p>
709         <ul class="empty">
710            <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>
711         </ul>
712      </div>
713      <p id="rfc.section.1.2.p.4"> <span id="rfc.iref.p.1"></span>  <dfn>private cache</dfn> 
714      </p>
715      <ul class="empty">
716         <li>A cache that is dedicated to a single user.</li>
717      </ul>
718      <p id="rfc.section.1.2.p.5"> <span id="rfc.iref.c.3"></span>  <dfn>cacheable</dfn> 
719      </p>
720      <ul class="empty">
721         <li>A response is cacheable if a cache is allowed to store a copy of the response message for use in answering subsequent requests.
722            Even when a response is cacheable, there might be additional constraints on whether a cache can use the stored copy to satisfy
723            a particular request.
724         </li>
725      </ul>
726      <p id="rfc.section.1.2.p.6"> <span id="rfc.iref.e.1"></span>  <dfn>explicit expiration time</dfn> 
727      </p>
728      <ul class="empty">
729         <li>The time at which the origin server intends that a representation no longer be used by a cache without further validation.</li>
730      </ul>
731      <p id="rfc.section.1.2.p.7"> <span id="rfc.iref.h.1"></span>  <dfn>heuristic expiration time</dfn> 
732      </p>
733      <ul class="empty">
734         <li>An expiration time assigned by a cache when no explicit expiration time is available.</li>
735      </ul>
736      <p id="rfc.section.1.2.p.8"> <span id="rfc.iref.a.1"></span>  <dfn>age</dfn> 
737      </p>
738      <ul class="empty">
739         <li>The age of a response is the time since it was sent by, or successfully validated with, the origin server.</li>
740      </ul>
741      <p id="rfc.section.1.2.p.9"> <span id="rfc.iref.f.1"></span>  <dfn>first-hand</dfn> 
742      </p>
743      <ul class="empty">
744         <li>A response is first-hand if the freshness model is not in use; i.e., its age is 0.</li>
745      </ul>
746      <p id="rfc.section.1.2.p.10"> <span id="rfc.iref.f.2"></span>  <dfn>freshness lifetime</dfn> 
747      </p>
748      <ul class="empty">
749         <li>The length of time between the generation of a response and its expiration time.</li>
750      </ul>
751      <p id="rfc.section.1.2.p.11"> <span id="rfc.iref.f.3"></span>  <dfn>fresh</dfn> 
752      </p>
753      <ul class="empty">
754         <li>A response is fresh if its age has not yet exceeded its freshness lifetime.</li>
755      </ul>
756      <p id="rfc.section.1.2.p.12"> <span id="rfc.iref.s.2"></span>  <dfn>stale</dfn> 
757      </p>
758      <ul class="empty">
759         <li>A response is stale if its age has passed its freshness lifetime (either explicit or heuristic).</li>
760      </ul>
761      <p id="rfc.section.1.2.p.13"> <span id="rfc.iref.v.1"></span>  <dfn>validator</dfn> 
762      </p>
763      <ul class="empty">
764         <li>A protocol element (e.g., an entity-tag or a <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> time) that is used to find out whether a stored response is an 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="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>.
765         </li>
766      </ul>
767      <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> 
768      </p>
769      <ul class="empty">
770         <li>A validator that is defined by the origin server such that its current value will change if the representation data changes;
771            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="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>) or, if no entity-tag is provided, a <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> 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="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>.
772         </li>
773      </ul>
774      <h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a id="conformance" href="#conformance">Conformance and Error Handling</a></h2>
775      <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"
776         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>.
777      </p>
778      <p id="rfc.section.1.3.p.2">Conformance criteria and considerations regarding error handling are defined in <a href="p1-messaging.html#conformance" title="Conformance and Error Handling">Section 2.5</a> of <a href="#Part1" id="rfc.xref.Part1.1"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>.
779      </p>
780      <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>
781      <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="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>. <a href="#imported.abnf" title="Imported ABNF">Appendix&nbsp;B</a> describes rules imported from other documents. <a href="#collected.abnf" title="Collected ABNF">Appendix&nbsp;C</a> shows the collected ABNF with the list rule expanded.
782      </p>
783      <h3 id="rfc.section.1.4.1"><a href="#rfc.section.1.4.1">1.4.1</a>&nbsp;<a id="delta-seconds" href="#delta-seconds">Delta Seconds</a></h3>
784      <p id="rfc.section.1.4.1.p.1">The delta-seconds rule specifies a non-negative integer, representing time in seconds.</p>
785      <div id="rfc.figure.u.1"></div><pre class="inline"><span id="rfc.iref.g.1"></span>  <a href="#delta-seconds" class="smpl">delta-seconds</a>  = 1*<a href="#imported.abnf" class="smpl">DIGIT</a>
786</pre><p id="rfc.section.1.4.1.p.3">If an implementation receives a delta-seconds value larger than the largest positive integer it can represent, or if any of
787         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.
788      </p>
789      <div id="rfc.iref.c.4"></div>
790      <div id="rfc.iref.c.5"></div>
791      <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a id="caching.overview" href="#caching.overview">Overview of Cache Operation</a></h1>
792      <p id="rfc.section.2.p.1">Proper cache operation preserves the semantics of HTTP transfers (<a href="#Part2" id="rfc.xref.Part2.1"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[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
793         no requirement or locally-desired configuration prevents it. Therefore, HTTP cache requirements are focused on preventing
794         a cache from either storing a non-reusable response or reusing a stored response inappropriately.
795      </p>
796      <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
797         form of cache entry is a successful result of a retrieval request: i.e., a <a href="p2-semantics.html#status.200" class="smpl">200 (OK)</a> response to a GET request, which contains a representation of the resource identified by the request target (<a href="p2-semantics.html#GET" title="GET">Section 4.3.1</a> of <a href="#Part2" id="rfc.xref.Part2.2"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>). However, it is also possible to cache negative results (e.g., <a href="p2-semantics.html#status.404" class="smpl">404 (Not Found)</a>), incomplete results (e.g., <a href="p5-range.html#status.206" class="smpl">206 (Partial Content)</a>), and responses to methods other than GET if the method's definition allows such caching and defines something suitable for
798         use as a cache key.
799      </p>
800      <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
801         responses to GET, many implementations simply decline other methods and use only the URI as the key.
802      </p>
803      <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
804         by a secondary key for the values of the original request's selecting header fields (<a href="#caching.negotiated.responses" title="Using Negotiated Responses">Section&nbsp;4.3</a>).
805      </p>
806      <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a id="response.cacheability" href="#response.cacheability">Storing Responses in Caches</a></h1>
807      <p id="rfc.section.3.p.1">A cache <em class="bcp14">MUST NOT</em> store a response to any request, unless:
808      </p>
809      <ul>
810         <li>The request method is understood by the cache and defined as being cacheable, and</li>
811         <li>the response status code is understood by the cache, and</li>
812         <li>the "no-store" cache directive (see <a href="#header.cache-control" id="rfc.xref.header.cache-control.1" title="Cache-Control">Section&nbsp;7.2</a>) does not appear in request or response header fields, and
813         </li>
814         <li>the "private" cache response directive (see <a href="#cache-response-directive.private" title="private">Section&nbsp;</a>) does not appear in the response, if the cache is shared, and
815         </li>
816         <li>the <a href="p7-auth.html#header.authorization" class="smpl">Authorization</a> 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="Hypertext Transfer Protocol (HTTP/1.1): 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="Storing Responses to Authenticated Requests">Section&nbsp;3.2</a>), and
817         </li>
818         <li>the response either:
819            <ul>
820               <li>contains an <a href="#header.expires" class="smpl">Expires</a> header field (see <a href="#header.expires" id="rfc.xref.header.expires.1" title="Expires">Section&nbsp;7.3</a>), or
821               </li>
822               <li>contains a max-age response cache directive (see <a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;</a>), or
823               </li>
824               <li>contains a s-maxage response cache directive and the cache is shared, or</li>
825               <li>contains a Cache Control Extension (see <a href="#cache.control.extensions" title="Cache Control Extensions">Section&nbsp;7.2.3</a>) that allows it to be cached, or
826               </li>
827               <li>has a status code that can be served with heuristic freshness (see <a href="#heuristic.freshness" title="Calculating Heuristic Freshness">Section&nbsp;4.1.2</a>).
828               </li>
829            </ul>
830         </li>
831      </ul>
832      <p id="rfc.section.3.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;7.2.3</a>.
833      </p>
834      <p id="rfc.section.3.p.3">In this context, a cache has "understood" a request method or a response status code if it recognizes it and implements any
835         cache-specific behavior.
836      </p>
837      <p id="rfc.section.3.p.4">Note that, in normal operation, many caches will not store a response that has neither a cache validator nor an explicit expiration
838         time, as such responses are not usually useful to store. However, caches are not prohibited from storing such responses.
839      </p>
840      <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;<a id="incomplete.responses" href="#incomplete.responses">Storing Incomplete Responses</a></h2>
841      <p id="rfc.section.3.1.p.1">A response message is considered complete when all of the octets indicated by the message framing (<a href="#Part1" id="rfc.xref.Part1.3"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>) are received prior to the connection being closed. If the request is GET, the response status is <a href="p2-semantics.html#status.200" class="smpl">200
842            (OK)</a>, and the entire 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 <a href="p5-range.html#status.206" class="smpl">206 (Partial Content)</a> response <em class="bcp14">MAY</em> be stored as if it were an incomplete <a href="p2-semantics.html#status.200" class="smpl">200
843            (OK)</a> cache entry. However, a cache <em class="bcp14">MUST NOT</em> store incomplete or partial content responses if it does not support the <a href="p5-range.html#range.retrieval.requests" class="smpl">Range</a> and <a href="p5-range.html#header.content-range" class="smpl">Content-Range</a> header fields or if it does not understand the range units used in those fields.
844      </p>
845      <p id="rfc.section.3.1.p.2">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="Hypertext Transfer Protocol (HTTP/1.1): Range Requests">[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;4.4</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
846         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 <a href="p5-range.html#status.206" class="smpl">206 (Partial Content)</a> status code.
847      </p>
848      <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a id="caching.authenticated.responses" href="#caching.authenticated.responses">Storing Responses to Authenticated Requests</a></h2>
849      <p id="rfc.section.3.2.p.1">A shared cache <em class="bcp14">MUST NOT</em> use a cached response to a request with an <a href="p7-auth.html#header.authorization" class="smpl">Authorization</a> 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="Hypertext Transfer Protocol (HTTP/1.1): 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.
850      </p>
851      <p id="rfc.section.3.2.p.2">In this specification, the following <a href="#header.cache-control" class="smpl">Cache-Control</a> response directives (<a href="#cache-response-directive" title="Response Cache-Control Directives">Section&nbsp;7.2.2</a>) have such an effect: must-revalidate, public, s-maxage.
852      </p>
853      <p id="rfc.section.3.2.p.3">Note that cached responses that contain the "must-revalidate" and/or "s-maxage" response directives are not allowed to be
854         served stale (<a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.1.4</a>) by shared caches. In particular, a response with either "max-age=0, must-revalidate" or "s-maxage=0" cannot be used to satisfy
855         a subsequent request without revalidating it on the origin server.
856      </p>
857      <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a id="constructing.responses.from.caches" href="#constructing.responses.from.caches">Constructing Responses from Caches</a></h1>
858      <p id="rfc.section.4.p.1">For a presented request, a cache <em class="bcp14">MUST NOT</em> send a stored response, unless:
859      </p>
860      <ul>
861         <li>The presented effective request URI (<a href="p1-messaging.html#effective.request.uri" title="Effective Request URI">Section 5.5</a> of <a href="#Part1" id="rfc.xref.Part1.4"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>) and that of the stored response match, and
862         </li>
863         <li>the request method associated with the stored response allows it to be used for the presented request, and</li>
864         <li>selecting header fields nominated by the stored response (if any) match those presented (see <a href="#caching.negotiated.responses" title="Using Negotiated Responses">Section&nbsp;4.3</a>), and
865         </li>
866         <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;7.4</a>), nor the no-cache cache directive (<a href="#cache-request-directive" title="Request Cache-Control Directives">Section&nbsp;7.2.1</a>), unless the stored response is successfully validated (<a href="#validation.model" title="Validation Model">Section&nbsp;4.2</a>), and
867         </li>
868         <li>the stored response does not contain the no-cache cache directive (<a href="" title="no-cache">Section&nbsp;</a>), unless it is successfully validated (<a href="#validation.model" title="Validation Model">Section&nbsp;4.2</a>), and
869         </li>
870         <li>the stored response is either:
871            <ul>
872               <li>fresh (see <a href="#expiration.model" title="Freshness Model">Section&nbsp;4.1</a>), or
873               </li>
874               <li>allowed to be served stale (see <a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.1.4</a>), or
875               </li>
876               <li>successfully validated (see <a href="#validation.model" title="Validation Model">Section&nbsp;4.2</a>).
877               </li>
878            </ul>
879         </li>
880      </ul>
881      <p id="rfc.section.4.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;7.2.3</a>.
882      </p>
883      <p id="rfc.section.4.p.3">When a stored response is used to satisfy a request without validation, a cache <em class="bcp14">MUST</em> send a single <a href="#header.age" class="smpl">Age</a> header field (<a href="#header.age" id="rfc.xref.header.age.1" title="Age">Section&nbsp;7.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;4.1.3</a>.
884      </p>
885      <p id="rfc.section.4.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 4.2.1</a> of <a href="#Part2" id="rfc.xref.Part2.3"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>) to the origin server; i.e., a cache is not allowed to generate a reply to such a request before having forwarded the request
886         and having received a corresponding response.
887      </p>
888      <p id="rfc.section.4.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;6</a>.
889      </p>
890      <p id="rfc.section.4.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 <a href="" class="smpl">Date</a> header field). It can also forward a request with "Cache-Control: max-age=0" or "Cache-Control: no-cache" to disambiguate
891         which response to use.
892      </p>
893      <p id="rfc.section.4.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.
894      </p>
895      <h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;<a id="expiration.model" href="#expiration.model">Freshness Model</a></h2>
896      <p id="rfc.section.4.1.p.1">When a response is "fresh" in the cache, it can be used to satisfy subsequent requests without contacting the origin server,
897         thereby improving efficiency.
898      </p>
899      <p id="rfc.section.4.1.p.2">The primary mechanism for determining freshness is for an origin server to provide an explicit expiration time in the future,
900         using either the <a href="#header.expires" class="smpl">Expires</a> header field (<a href="#header.expires" id="rfc.xref.header.expires.2" title="Expires">Section&nbsp;7.3</a>) or the max-age response cache directive (<a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;</a>). Generally, origin servers will assign future explicit expiration times to responses in the belief that the representation
901         is not likely to change in a semantically significant way before the expiration time is reached.
902      </p>
903      <p id="rfc.section.4.1.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
904         to indicate that the response is already stale. Compliant caches will normally validate a stale cached response before reusing
905         it for subsequent requests (see <a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.1.4</a>).
906      </p>
907      <p id="rfc.section.4.1.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
908         values (such as the <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> time) to estimate a plausible expiration time. This specification does not provide specific algorithms, but does impose worst-case
909         constraints on their results.
910      </p>
911      <div id="rfc.figure.u.2"></div>
912      <p>The calculation to determine if a response is fresh is:</p>  <pre class="text">   response_is_fresh = (freshness_lifetime &gt; current_age)
913</pre> <p id="rfc.section.4.1.p.6">The freshness_lifetime is defined in <a href="#calculating.freshness.lifetime" title="Calculating Freshness Lifetime">Section&nbsp;4.1.1</a>; the current_age is defined in <a href="#age.calculations" title="Calculating Age">Section&nbsp;4.1.3</a>.
914      </p>
915      <p id="rfc.section.4.1.p.7">Clients can send the max-age or min-fresh cache directives in a request to constrain or relax freshness calculations for the
916         corresponding response (<a href="#cache-request-directive" title="Request Cache-Control Directives">Section&nbsp;7.2.1</a>).
917      </p>
918      <p id="rfc.section.4.1.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
919         a resource. See <a href="#history.lists" title="History Lists">Section&nbsp;8</a> for an explanation of the difference between caches and history mechanisms.
920      </p>
921      <h3 id="rfc.section.4.1.1"><a href="#rfc.section.4.1.1">4.1.1</a>&nbsp;<a id="calculating.freshness.lifetime" href="#calculating.freshness.lifetime">Calculating Freshness Lifetime</a></h3>
922      <p id="rfc.section.4.1.1.p.1">A cache can calculate the freshness lifetime (denoted as freshness_lifetime) of a response by using the first match of: </p>
923      <ul>
924         <li>If the cache is shared and the s-maxage response cache directive (<a href="#cache-response-directive.s-maxage" title="s-maxage">Section&nbsp;</a>) is present, use its value, or
925         </li>
926         <li>If the max-age response cache directive (<a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;</a>) is present, use its value, or
927         </li>
928         <li>If the <a href="#header.expires" class="smpl">Expires</a> response header field (<a href="#header.expires" id="rfc.xref.header.expires.3" title="Expires">Section&nbsp;7.3</a>) is present, use its value minus the value of the <a href="" class="smpl">Date</a> response header field, or
929         </li>
930         <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;4.1.2</a>.
931         </li>
932      </ul>
933      <p id="rfc.section.4.1.1.p.2">Note that this calculation is not vulnerable to clock skew, since all of the information comes from the origin server.</p>
934      <p id="rfc.section.4.1.1.p.3">When there is more than one value present for a given directive (e.g., two <a href="#header.expires" class="smpl">Expires</a> header fields, multiple Cache-Control: max-age directives), it is considered invalid. Caches are encouraged to consider responses
935         that have invalid freshness information to be stale.
936      </p>
937      <h3 id="rfc.section.4.1.2"><a href="#rfc.section.4.1.2">4.1.2</a>&nbsp;<a id="heuristic.freshness" href="#heuristic.freshness">Calculating Heuristic Freshness</a></h3>
938      <p id="rfc.section.4.1.2.p.1">If no explicit expiration time is present in a stored response that has a status code whose definition allows heuristic freshness
939         to be used (including the following in <a href="" title="Response Status Codes">Section 6</a> of <a href="#Part2" id="rfc.xref.Part2.4"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>: <a href="p2-semantics.html#status.200" class="smpl">200 (OK)</a>, <a href="p2-semantics.html#status.203" class="smpl">203 (Non-Authoritative Information)</a>, <a href="p5-range.html#status.206" class="smpl">206 (Partial
940            Content)</a>, <a href="p2-semantics.html#status.300" class="smpl">300 (Multiple Choices)</a>, <a href="p2-semantics.html#status.301" class="smpl">301 (Moved
941            Permanently)</a> and <a href="p2-semantics.html#status.410" class="smpl">410 (Gone)</a>), 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.
942      </p>
943      <p id="rfc.section.4.1.2.p.2">When a heuristic is used to calculate freshness lifetime, a cache <em class="bcp14">SHOULD</em> attach a <a href="#header.warning" class="smpl">Warning</a> header field with a 113 warn-code to the response if its current_age is more than 24 hours and such a warning is not already
944         present.
945      </p>
946      <p id="rfc.section.4.1.2.p.3">Also, if the response has a <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> 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="Hypertext Transfer Protocol (HTTP/1.1): 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
947         time. A typical setting of this fraction might be 10%.
948      </p>
949      <div class="note" id="rfc.section.4.1.2.p.4">
950         <p> <b>Note:</b>  <a href="">Section 13.9</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a> prohibited caches from calculating heuristic freshness for URIs with query components (i.e., those containing '?'). In practice,
951            this has not been widely implemented. Therefore, servers are encouraged to send explicit directives (e.g., Cache-Control:
952            no-cache) if they wish to preclude caching.
953         </p>
954      </div>
955      <h3 id="rfc.section.4.1.3"><a href="#rfc.section.4.1.3">4.1.3</a>&nbsp;<a id="age.calculations" href="#age.calculations">Calculating Age</a></h3>
956      <p id="rfc.section.4.1.3.p.1">The <a href="#header.age" class="smpl">Age</a> header field is used to convey an estimated age of the response message when obtained from a cache. The Age field value is
957         the cache's estimate of the number of seconds since the response was generated or validated by the origin server. In essence,
958         the Age value is the sum of the time that the response has been resident in each of the caches along the path from the origin
959         server, plus the amount of time it has been in transit along network paths.
960      </p>
961      <p id="rfc.section.4.1.3.p.2">The following data is used for the age calculation:</p>
962      <p id="rfc.section.4.1.3.p.3"> <dfn>age_value</dfn> 
963      </p>
964      <ul class="empty">
965         <li>The term "age_value" denotes the value of the <a href="#header.age" class="smpl">Age</a> header field (<a href="#header.age" id="rfc.xref.header.age.2" title="Age">Section&nbsp;7.1</a>), in a form appropriate for arithmetic operation; or 0, if not available.
966         </li>
967      </ul>
968      <p id="rfc.section.4.1.3.p.4"> <dfn>date_value</dfn> 
969      </p>
970      <ul class="empty">
971         <li>The term "date_value" denotes the value of the Date header field, in a form appropriate for arithmetic operations. See <a href="" title="Date">Section</a> of <a href="#Part2" id="rfc.xref.Part2.5"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a> for the definition of the Date header field, and for requirements regarding responses without it.
972         </li>
973      </ul>
974      <p id="rfc.section.4.1.3.p.5"> <dfn>now</dfn> 
975      </p>
976      <ul class="empty">
977         <li>The term "now" means "the current value of the clock at the host performing the calculation". A host ought to use NTP (<a href="#RFC1305" id="rfc.xref.RFC1305.1"><cite title="Network Time Protocol (Version 3) Specification, Implementation">[RFC1305]</cite></a>) or some similar protocol to synchronize its clocks to Coordinated Universal Time.
978         </li>
979      </ul>
980      <p id="rfc.section.4.1.3.p.6"> <dfn>request_time</dfn> 
981      </p>
982      <ul class="empty">
983         <li>The current value of the clock at the host at the time the request resulting in the stored response was made.</li>
984      </ul>
985      <p id="rfc.section.4.1.3.p.7"> <dfn>response_time</dfn> 
986      </p>
987      <ul class="empty">
988         <li>The current value of the clock at the host at the time the response was received.</li>
989      </ul>
990      <p id="rfc.section.4.1.3.p.8">A response's age can be calculated in two entirely independent ways: </p>
991      <ol>
992         <li>the "apparent_age": response_time minus date_value, if the local clock is reasonably well synchronized to the origin server's
993            clock. If the result is negative, the result is replaced by zero.
994         </li>
995         <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.
996         </li>
997      </ol>
998      <div id="rfc.figure.u.3"></div> <pre class="text">  apparent_age = max(0, response_time - date_value);
1000  response_delay = response_time - request_time;
1001  corrected_age_value = age_value + response_delay; 
1002</pre> <div id="rfc.figure.u.4"></div>
1003      <p>These <em class="bcp14">SHOULD</em> be combined as
1004      </p>  <pre class="text">  corrected_initial_age = max(apparent_age, corrected_age_value);
1005</pre><p id="rfc.section.4.1.3.p.11">unless the cache is confident in the value of the <a href="#header.age" class="smpl">Age</a> header field (e.g., because there are no HTTP/1.0 hops in the <a href="p1-messaging.html#header.via" class="smpl">Via</a> header field), in which case the corrected_age_value <em class="bcp14">MAY</em> be used as the corrected_initial_age.
1006      </p>
1007      <p id="rfc.section.4.1.3.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
1008         was last validated by the origin server to the corrected_initial_age.
1009      </p>
1010      <div id="rfc.figure.u.5"></div><pre class="text">  resident_time = now - response_time;
1011  current_age = corrected_initial_age + resident_time;
1012</pre><p id="rfc.section.4.1.3.p.14">Additionally, to avoid common problems in date parsing:</p>
1013      <p id="rfc.section.4.1.3.p.15"> </p>
1014      <ul>
1015         <li>Although all date formats are specified to be case-sensitive, cache recipients <em class="bcp14">SHOULD</em> match day, week and timezone names case-insensitively.
1016         </li>
1017         <li>If a cache recipient's internal implementation of time has less resolution than the value of an HTTP-date, the recipient <em class="bcp14">MUST</em> internally represent a parsed <a href="#header.expires" class="smpl">Expires</a> date as the nearest time equal to or earlier than the received value.
1018         </li>
1019         <li>Cache recipients <em class="bcp14">MUST NOT</em> allow local time zones to influence the calculation or comparison of an age or expiration time.
1020         </li>
1021         <li>Cache recipients <em class="bcp14">SHOULD</em> consider a date with a zone abbreviation other than "GMT" to be invalid for calculating expiration.
1022         </li>
1023      </ul>
1024      <h3 id="rfc.section.4.1.4"><a href="#rfc.section.4.1.4">4.1.4</a>&nbsp;<a id="serving.stale.responses" href="#serving.stale.responses">Serving Stale Responses</a></h3>
1025      <p id="rfc.section.4.1.4.p.1">A "stale" response is one that either has explicit expiry information or is allowed to have heuristic expiry calculated, but
1026         is not fresh according to the calculations in <a href="#expiration.model" title="Freshness Model">Section&nbsp;4.1</a>.
1027      </p>
1028      <p id="rfc.section.4.1.4.p.2">A cache <em class="bcp14">MUST NOT</em> send a stale response if it is prohibited by an explicit in-protocol directive (e.g., by a "no-store" or "no-cache" cache
1029         directive, a "must-revalidate" cache-response-directive, or an applicable "s-maxage" or "proxy-revalidate" cache-response-directive;
1030         see <a href="#cache-response-directive" title="Response Cache-Control Directives">Section&nbsp;7.2.2</a>).
1031      </p>
1032      <p id="rfc.section.4.1.4.p.3">A cache <em class="bcp14">MUST NOT</em> send stale responses unless it is disconnected (i.e., it cannot contact the origin server or otherwise find a forward path)
1033         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;7.2.1</a>).
1034      </p>
1035      <p id="rfc.section.4.1.4.p.4">A cache <em class="bcp14">SHOULD</em> append a <a href="#header.warning" class="smpl">Warning</a> header field with the 110 warn-code (see <a href="#header.warning" id="rfc.xref.header.warning.1" title="Warning">Section&nbsp;7.5</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.
1036      </p>
1037      <p id="rfc.section.4.1.4.p.5">If a cache receives a first-hand response (either an entire response, or a <a href="p4-conditional.html#status.304" class="smpl">304 (Not Modified)</a> response) that it would normally forward to the requesting client, and the received response is no longer fresh, the cache
1038         can forward it to the requesting client without adding a new <a href="#header.warning" class="smpl">Warning</a> (but without removing any existing Warning header fields). A cache shouldn't attempt to validate a response simply because
1039         that response became stale in transit.
1040      </p>
1041      <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a>&nbsp;<a id="validation.model" href="#validation.model">Validation Model</a></h2>
1042      <p id="rfc.section.4.2.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
1043         fresh, or one cannot be selected; see <a href="#caching.negotiated.responses" title="Using Negotiated Responses">Section&nbsp;4.3</a>), it can use the conditional request mechanism <a href="#Part4" id="rfc.xref.Part4.5"><cite title="Hypertext Transfer Protocol (HTTP/1.1): 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
1044         update it. This process is known as "validating" or "revalidating" the stored response.
1045      </p>
1046      <p id="rfc.section.4.2.p.2">When sending such a conditional request, a cache adds an <a href="p4-conditional.html#header.if-modified-since" class="smpl">If-Modified-Since</a> header field whose value is that of the <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> header field from the selected (see <a href="#caching.negotiated.responses" title="Using Negotiated Responses">Section&nbsp;4.3</a>) stored response, if available.
1047      </p>
1048      <p id="rfc.section.4.2.p.3">Additionally, a cache can add an <a href="p4-conditional.html#header.if-none-match" class="smpl">If-None-Match</a> header field whose value is that of the <a href="p4-conditional.html#header.etag" class="smpl">ETag</a> header field(s) from all responses stored for the requested URI, if present. However, if any of the stored responses contains
1049         only partial content, the cache shouldn't include its entity-tag in the If-None-Match header field unless the request is for
1050         a range that would be fully satisfied by that stored response.
1051      </p>
1052      <p id="rfc.section.4.2.p.4">Cache handling of a response to a conditional request is dependent upon its status code:</p>
1053      <p id="rfc.section.4.2.p.5"> </p>
1054      <ul>
1055         <li>A <a href="p4-conditional.html#status.304" class="smpl">304 (Not Modified)</a> 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;4.2.1</a>.
1056         </li>
1057         <li>A full response (i.e., one with a payload body) indicates that none of the stored responses nominated in the conditional request
1058            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).
1059         </li>
1060         <li>However, if a cache receives a <a href="p2-semantics.html#status.5xx" class="smpl">5xx (Server Error)</a> response while attempting to validate a response, it can either forward this response to the requesting client, or act as
1061            if the server failed to respond. In the latter case, it can send a previously stored response (see <a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.1.4</a>).
1062         </li>
1063      </ul>
1064      <h3 id="rfc.section.4.2.1"><a href="#rfc.section.4.2.1">4.2.1</a>&nbsp;<a id="freshening.responses" href="#freshening.responses">Freshening Responses with 304 Not Modified</a></h3>
1065      <p id="rfc.section.4.2.1.p.1">When a cache receives a <a href="p4-conditional.html#status.304" class="smpl">304 (Not Modified)</a> response and already has one or more stored <a href="p2-semantics.html#status.200" class="smpl">200 (OK)</a> responses for the same cache key, the cache needs to identify which of the stored responses are updated by this new response
1066         and then update the stored response(s) with the new information provided in the <a href="p4-conditional.html#status.304" class="smpl">304</a> response.
1067      </p>
1068      <p id="rfc.section.4.2.1.p.2">The stored response to update is identified by using the first match (if any) of: </p>
1069      <ul>
1070         <li>If the new response contains a strong validator, then that strong validator identifies the selected representation. All of
1071            the stored responses with the same strong validator are selected. If none of the stored responses contain the same strong
1072            validator, then the new response <em class="bcp14">MUST NOT</em> be used to update any stored responses.
1073         </li>
1074         <li>If the new response contains a weak validator and that validator corresponds to one of the cache's stored responses, then
1075            the most recent of those matching stored responses is selected.
1076         </li>
1077         <li>If the new response does not include any form of validator (such as in the case where a client generates an If-Modified-Since
1078            request from a source other than the Last-Modified response header field), and there is only one stored response, and that
1079            stored response also lacks a validator, then that stored response is selected.
1080         </li>
1081      </ul>
1082      <p id="rfc.section.4.2.1.p.3">If a stored response is selected for update, the cache <em class="bcp14">MUST</em>:
1083      </p>
1084      <ul>
1085         <li>delete any <a href="#header.warning" class="smpl">Warning</a> 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;7.5</a>);
1086         </li>
1087         <li>retain any <a href="#header.warning" class="smpl">Warning</a> header fields in the stored response with warn-code 2xx; and,
1088         </li>
1089         <li>use other header fields provided in the <a href="p4-conditional.html#status.304" class="smpl">304 (Not Modified)</a> response to replace all instances of the corresponding header fields in the stored response.
1090         </li>
1091      </ul>
1092      <h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a>&nbsp;<a id="caching.negotiated.responses" href="#caching.negotiated.responses">Using Negotiated Responses</a></h2>
1093      <p id="rfc.section.4.3.p.1">When a cache receives a request that can be satisfied by a stored response that has a <a href="p2-semantics.html#header.vary" class="smpl">Vary</a> header field (<a href="p2-semantics.html#header.vary" title="Vary">Section 7.2.1</a> of <a href="#Part2" id="rfc.xref.Part2.6"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></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
1094         request (i.e., that associated with the stored response), and the presented request.
1095      </p>
1096      <p id="rfc.section.4.3.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
1097         to those in the second request by applying any of the following:
1098      </p>
1099      <ul>
1100         <li>adding or removing whitespace, where allowed in the header field's syntax</li>
1101         <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.5"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>)
1102         </li>
1103         <li>normalizing both header field values in a way that is known to have identical semantics, according to the header field's specification
1104            (e.g., re-ordering field values when order is not significant; case-normalization, where values are defined to be case-insensitive)
1105         </li>
1106      </ul>
1107      <p id="rfc.section.4.3.p.3">If (after any normalization that might take place) a header field is absent from a request, it can only match another request
1108         if it is also absent there.
1109      </p>
1110      <p id="rfc.section.4.3.p.4">A <a href="p2-semantics.html#header.vary" class="smpl">Vary</a> header field-value of "*" always fails to match, and subsequent requests to that resource can only be properly interpreted
1111         by the origin server.
1112      </p>
1113      <p id="rfc.section.4.3.p.5">The stored response with matching selecting header fields is known as the selected response.</p>
1114      <p id="rfc.section.4.3.p.6">If multiple selected responses are available, the most recent response (as determined by the <a href="" class="smpl">Date</a> header field) is used; see <a href="#constructing.responses.from.caches" title="Constructing Responses from Caches">Section&nbsp;4</a>.
1115      </p>
1116      <p id="rfc.section.4.3.p.7">If no selected response is available, the cache cannot satisfy the presented request. Typically, it is forwarded to the origin
1117         server in a (possibly conditional; see <a href="#validation.model" title="Validation Model">Section&nbsp;4.2</a>) request.
1118      </p>
1119      <h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a>&nbsp;<a id="combining.responses" href="#combining.responses">Combining Partial Content</a></h2>
1120      <p id="rfc.section.4.4.p.1">A response might transfer only a partial representation if the connection closed prematurely or if the request used one or
1121         more Range specifiers (<a href="#Part5" id="rfc.xref.Part5.2"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Range Requests">[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
1122         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="Hypertext Transfer Protocol (HTTP/1.1): Range Requests">[Part5]</cite></a>.
1123      </p>
1124      <p id="rfc.section.4.4.p.2">When combining the new response with one or more stored responses, a cache <em class="bcp14">MUST</em>:
1125      </p>
1126      <ul>
1127         <li>delete any <a href="#header.warning" class="smpl">Warning</a> 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;7.5</a>);
1128         </li>
1129         <li>retain any <a href="#header.warning" class="smpl">Warning</a> header fields in the stored response with warn-code 2xx; and,
1130         </li>
1131         <li>use other header fields provided in the new response, aside from <a href="p5-range.html#header.content-range" class="smpl">Content-Range</a>, to replace all instances of the corresponding header fields in the stored response.
1132         </li>
1133      </ul>
1134      <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a id="head.effects" href="#head.effects">Updating Caches with HEAD Responses</a></h1>
1135      <p id="rfc.section.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
1136         a body. This property of HEAD responses is used to both invalidate and update cached GET responses.
1137      </p>
1138      <p id="rfc.section.5.p.2">If one or more stored GET responses can be selected (as per <a href="#caching.negotiated.responses" title="Using Negotiated Responses">Section&nbsp;4.3</a>) for a HEAD request, and the <a href="p1-messaging.html#header.content-length" class="smpl">Content-Length</a>, <a href="p4-conditional.html#header.etag" class="smpl">ETag</a> or <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> value of a HEAD response differs from that in a selected GET response, the cache <em class="bcp14">MUST</em> consider that selected response to be stale.
1139      </p>
1140      <p id="rfc.section.5.p.3">If the <a href="p1-messaging.html#header.content-length" class="smpl">Content-Length</a>, <a href="p4-conditional.html#header.etag" class="smpl">ETag</a> and <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> values of a HEAD response (when present) are the same as that in a selected GET response (as per <a href="#caching.negotiated.responses" title="Using Negotiated Responses">Section&nbsp;4.3</a>), the cache <em class="bcp14">SHOULD</em> update the remaining header fields in the stored response using the following rules:
1141      </p>
1142      <ul>
1143         <li>delete any <a href="#header.warning" class="smpl">Warning</a> 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;7.5</a>);
1144         </li>
1145         <li>retain any <a href="#header.warning" class="smpl">Warning</a> header fields in the stored response with warn-code 2xx; and,
1146         </li>
1147         <li>use other header fields provided in the response to replace all instances of the corresponding header fields in the stored
1148            response.
1149         </li>
1150      </ul>
1151      <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="invalidation.after.updates.or.deletions" href="#invalidation.after.updates.or.deletions">Request Methods that Invalidate</a></h1>
1152      <p id="rfc.section.6.p.1">Because unsafe request methods (<a href="p2-semantics.html#safe.methods" title="Safe Methods">Section 4.2.1</a> of <a href="#Part2" id="rfc.xref.Part2.7"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>) such as PUT, POST or DELETE have the potential for changing state on the origin server, intervening caches can use them
1153         to keep their contents up-to-date.
1154      </p>
1155      <p id="rfc.section.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 5.5</a> of <a href="#Part1" id="rfc.xref.Part1.6"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>) as well as the URI(s) in the <a href="p2-semantics.html#header.location" class="smpl">Location</a> and <a href="p2-semantics.html#header.content-location" class="smpl">Content-Location</a> response header fields (if present) when a non-error response to a request with an unsafe method is received.
1156      </p>
1157      <p id="rfc.section.6.p.3">However, a cache <em class="bcp14">MUST NOT</em> invalidate a URI from a <a href="p2-semantics.html#header.location" class="smpl">Location</a> or <a href="p2-semantics.html#header.content-location" class="smpl">Content-Location</a> response header field if the host part of that URI differs from the host part in the effective request URI (<a href="p1-messaging.html#effective.request.uri" title="Effective Request URI">Section 5.5</a> of <a href="#Part1" id="rfc.xref.Part1.7"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>). This helps prevent denial of service attacks.
1158      </p>
1159      <p id="rfc.section.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 5.5</a> of <a href="#Part1" id="rfc.xref.Part1.8"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>) when it receives a non-error response to a request with a method whose safety is unknown.
1160      </p>
1161      <p id="rfc.section.6.p.5">Here, a "non-error response" is one with a <a href="p2-semantics.html#status.2xx" class="smpl">2xx (Successful)</a> or <a href="p2-semantics.html#status.3xx" class="smpl">3xx (Redirection)</a> status code. "Invalidate" means that the cache will either remove all stored responses related to the effective request URI,
1162         or will mark these as "invalid" and in need of a mandatory validation before they can be sent in response to a subsequent
1163         request.
1164      </p>
1165      <p id="rfc.section.6.p.6">Note that this does not guarantee that all appropriate responses are invalidated. For example, the request that caused the
1166         change at the origin server might not have gone through the cache where a response is stored.
1167      </p>
1168      <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a id="header.field.definitions" href="#header.field.definitions">Header Field Definitions</a></h1>
1169      <p id="rfc.section.7.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to caching.</p>
1170      <div id="rfc.iref.a.2"></div>
1171      <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a id="header.age" href="#header.age">Age</a></h2>
1172      <p id="rfc.section.7.1.p.1">The "Age" header field conveys the sender's estimate of the amount of time since the response was generated or successfully
1173         validated at the origin server. Age values are calculated as specified in <a href="#age.calculations" title="Calculating Age">Section&nbsp;4.1.3</a>.
1174      </p>
1175      <div id="rfc.figure.u.6"></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>
1176</pre><p id="rfc.section.7.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.4.1</a>).
1177      </p>
1178      <p id="rfc.section.7.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
1179         true, since HTTP/1.0 caches might not implement the Age header field.
1180      </p>
1181      <div id="rfc.iref.c.6"></div>
1182      <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;<a id="header.cache-control" href="#header.cache-control">Cache-Control</a></h2>
1183      <p id="rfc.section.7.2.p.1">The "Cache-Control" header field is used to specify directives for caches along the request/response chain. Such cache directives
1184         are unidirectional in that the presence of a directive in a request does not imply that the same directive is to be given
1185         in the response.
1186      </p>
1187      <p id="rfc.section.7.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;7.2.3</a> for information about how Cache-Control directives defined elsewhere are handled.
1188      </p>
1189      <div class="note" id="rfc.section.7.2.p.3">
1190         <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;7.4</a>).
1191         </p>
1192      </div>
1193      <p id="rfc.section.7.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
1194         might be applicable to all recipients along the request/response chain. It is not possible to target a directive to a specific
1195         cache.
1196      </p>
1197      <p id="rfc.section.7.2.p.5">Cache directives are identified by a token, to be compared case-insensitively, and have an optional argument, that can use
1198         both token and quoted-string syntax. For the directives defined below that define arguments, recipients ought to accept both
1199         forms, even if one is documented to be preferred. For any directive not defined by this specification, recipients <em class="bcp14">MUST</em> accept both forms.
1200      </p>
1201      <div id="rfc.figure.u.7"></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>
1203  <a href="#header.cache-control" class="smpl">cache-directive</a> = <a href="#imported.abnf" class="smpl">token</a> [ "=" ( <a href="#imported.abnf" class="smpl">token</a> / <a href="#imported.abnf" class="smpl">quoted-string</a> ) ]
1204</pre><p id="rfc.section.7.2.p.7">For the cache directives defined below, no argument is defined (nor allowed) otherwise stated otherwise.</p>
1205      <h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a>&nbsp;<a id="cache-request-directive" href="#cache-request-directive">Request Cache-Control Directives</a></h3>
1206      <div id="rfc.iref.n.1"></div>
1207      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="" href="">no-cache</a></h4>
1208      <p id="rfc.section.">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.
1209      </p>
1210      <div id="rfc.iref.n.2"></div>
1211      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="" href="">no-store</a></h4>
1212      <p id="rfc.section.">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.
1213      </p>
1214      <p id="rfc.section.">This directive is NOT a reliable or sufficient mechanism for ensuring privacy. In particular, malicious or compromised caches
1215         might not recognize or obey this directive, and communications networks might be vulnerable to eavesdropping.
1216      </p>
1217      <p id="rfc.section.">Note that if a request containing this directive is satisfied from a cache, the no-store request directive does not apply
1218         to the already stored response.
1219      </p>
1220      <div id="rfc.iref.m.1"></div>
1221      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-request-directive.max-age" href="#cache-request-directive.max-age">max-age</a></h4>
1222      <p id="rfc.section.">Argument syntax: </p>
1223      <ul class="empty">
1224         <li> <a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.4.1</a>)
1225         </li>
1226      </ul>
1227      <p id="rfc.section.">The "max-age" request directive indicates that the client is unwilling to accept a response whose age is greater than the
1228         specified number of seconds. Unless the max-stale request directive is also present, the client is not willing to accept a
1229         stale response.
1230      </p>
1231      <p id="rfc.section."> <b>Note:</b> This directive uses the token form of the argument syntax; e.g., 'max-age=5', not 'max-age="5"'. Senders <em class="bcp14">SHOULD NOT</em> use the quoted-string form.
1232      </p>
1233      <div id="rfc.iref.m.2"></div>
1234      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-request-directive.max-stale" href="#cache-request-directive.max-stale">max-stale</a></h4>
1235      <p id="rfc.section.">Argument syntax: </p>
1236      <ul class="empty">
1237         <li> <a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.4.1</a>)
1238         </li>
1239      </ul>
1240      <p id="rfc.section.">The "max-stale" request directive indicates that the client is willing to accept a response that has exceeded its expiration
1241         time. If max-stale is assigned a value, then the client is willing to accept a response that has exceeded its expiration time
1242         by no more than the specified number of seconds. If no value is assigned to max-stale, then the client is willing to accept
1243         a stale response of any age.
1244      </p>
1245      <p id="rfc.section."> <b>Note:</b> This directive uses the token form of the argument syntax; e.g., 'max-stale=10', not 'max-stale="10"'. Senders <em class="bcp14">SHOULD NOT</em> use the quoted-string form.
1246      </p>
1247      <div id="rfc.iref.m.3"></div>
1248      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-request-directive.min-fresh" href="#cache-request-directive.min-fresh">min-fresh</a></h4>
1249      <p id="rfc.section.">Argument syntax: </p>
1250      <ul class="empty">
1251         <li> <a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.4.1</a>)
1252         </li>
1253      </ul>
1254      <p id="rfc.section.">The "min-fresh" request directive indicates that the client is willing to accept a response whose freshness lifetime is no
1255         less than its current age plus the specified time in seconds. That is, the client wants a response that will still be fresh
1256         for at least the specified number of seconds.
1257      </p>
1258      <p id="rfc.section."> <b>Note:</b> This directive uses the token form of the argument syntax; e.g., 'min-fresh=20', not 'min-fresh="20"'. Senders <em class="bcp14">SHOULD NOT</em> use the quoted-string form.
1259      </p>
1260      <div id="rfc.iref.n.3"></div>
1261      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="" href="">no-transform</a></h4>
1262      <p id="rfc.section.">The "no-transform" request directive indicates that an intermediary (whether or not it implements a cache) <em class="bcp14">MUST NOT</em> transform the payload, as defined in <a href="p1-messaging.html#message.transformations" title="Transformations">Section 5.7.2</a> of <a href="#Part1" id="rfc.xref.Part1.9"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>.
1263      </p>
1264      <div id="rfc.iref.o.1"></div>
1265      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-request-directive.only-if-cached" href="#cache-request-directive.only-if-cached">only-if-cached</a></h4>
1266      <p id="rfc.section.">The "only-if-cached" request directive indicates that the client only wishes to obtain a stored response. If it receives this
1267         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 <a href="p2-semantics.html#status.504" class="smpl">504 (Gateway
1268            Timeout)</a> status code. If a group of caches is being operated as a unified system with good internal connectivity, a member cache <em class="bcp14">MAY</em> forward such a request within that group of caches.
1269      </p>
1270      <h3 id="rfc.section.7.2.2"><a href="#rfc.section.7.2.2">7.2.2</a>&nbsp;<a id="cache-response-directive" href="#cache-response-directive">Response Cache-Control Directives</a></h3>
1271      <div id="rfc.iref.p.2"></div>
1272      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-response-directive.public" href="#cache-response-directive.public">public</a></h4>
1273      <p id="rfc.section.">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="Storing Responses to Authenticated Requests">Section&nbsp;3.2</a>).
1274      </p>
1275      <div id="rfc.iref.p.3"></div>
1276      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-response-directive.private" href="#cache-response-directive.private">private</a></h4>
1277      <p id="rfc.section.">Argument syntax: </p>
1278      <ul class="empty">
1279         <li>#<a href="#imported.abnf" class="smpl">field-name</a>
1280         </li>
1281      </ul>
1282      <p id="rfc.section.">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.
1283      </p>
1284      <p id="rfc.section.">If the private response directive specifies one or more field-names, this requirement is limited to the field-values associated
1285         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.
1286      </p>
1287      <p id="rfc.section.">The field-names given are not limited to the set of standard header fields defined by this specification. Field names are
1288         case-insensitive.
1289      </p>
1290      <p id="rfc.section."> <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
1291         content. Also, private response directives with field-names are often handled by implementations as if an unqualified private
1292         directive was received; i.e., the special handling for the qualified form is not widely implemented.
1293      </p>
1294      <p id="rfc.section."> <b>Note:</b> This directive uses the quoted-string form of the argument syntax. Senders <em class="bcp14">SHOULD NOT</em> use the token form (even if quoting appears not to be needed for single-entry lists).
1295      </p>
1296      <div id="rfc.iref.n.4"></div>
1297      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="" href="">no-cache</a></h4>
1298      <p id="rfc.section.">Argument syntax: </p>
1299      <ul class="empty">
1300         <li>#<a href="#imported.abnf" class="smpl">field-name</a>
1301         </li>
1302      </ul>
1303      <p id="rfc.section.">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
1304         prevent a cache from using it to satisfy a request without contacting it, even by caches that have been configured to send
1305         stale responses.
1306      </p>
1307      <p id="rfc.section.">If the no-cache response directive specifies one or more field-names, then a cache <em class="bcp14">MAY</em> use the response to satisfy a subsequent request, subject to any other restrictions on caching. However, any header fields
1308         in the response that have the field-name(s) 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
1309         server to prevent the re-use of certain header fields in a response, while still allowing caching of the rest of the response.
1310      </p>
1311      <p id="rfc.section.">The field-names given are not limited to the set of standard header fields defined by this specification. Field names are
1312         case-insensitive.
1313      </p>
1314      <p id="rfc.section."> <b>Note:</b> Many HTTP/1.0 caches will not recognize or obey this directive. Also, no-cache response directives with field-names are often
1315         handled by implementations as if an unqualified no-cache directive was received; i.e., the special handling for the qualified
1316         form is not widely implemented.
1317      </p>
1318      <p id="rfc.section."> <b>Note:</b> This directive uses the quoted-string form of the argument syntax. Senders <em class="bcp14">SHOULD NOT</em> use the token form (even if quoting appears not to be needed for single-entry lists).
1319      </p>
1320      <div id="rfc.iref.n.5"></div>
1321      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="" href="">no-store</a></h4>
1322      <p id="rfc.section.">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.
1323      </p>
1324      <p id="rfc.section.">This directive is NOT a reliable or sufficient mechanism for ensuring privacy. In particular, malicious or compromised caches
1325         might not recognize or obey this directive, and communications networks might be vulnerable to eavesdropping.
1326      </p>
1327      <div id="rfc.iref.m.4"></div>
1328      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-response-directive.must-revalidate" href="#cache-response-directive.must-revalidate">must-revalidate</a></h4>
1329      <p id="rfc.section.">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.
1330      </p>
1331      <p id="rfc.section.">The must-revalidate directive is necessary to support reliable operation for certain protocol features. In all circumstances
1332         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 <a href="p2-semantics.html#status.504" class="smpl">504 (Gateway Timeout)</a> response.
1333      </p>
1334      <p id="rfc.section.">The must-revalidate directive ought to be used by servers if and only if failure to validate a request on the representation
1335         could result in incorrect operation, such as a silently unexecuted financial transaction.
1336      </p>
1337      <div id="rfc.iref.p.4"></div>
1338      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-response-directive.proxy-revalidate" href="#cache-response-directive.proxy-revalidate">proxy-revalidate</a></h4>
1339      <p id="rfc.section.">The "proxy-revalidate" response directive has the same meaning as the must-revalidate response directive, except that it does
1340         not apply to private caches.
1341      </p>
1342      <div id="rfc.iref.m.5"></div>
1343      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-response-directive.max-age" href="#cache-response-directive.max-age">max-age</a></h4>
1344      <p id="rfc.section.">Argument syntax: </p>
1345      <ul class="empty">
1346         <li> <a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.4.1</a>)
1347         </li>
1348      </ul>
1349      <p id="rfc.section.">The "max-age" response directive indicates that the response is to be considered stale after its age is greater than the specified
1350         number of seconds.
1351      </p>
1352      <p id="rfc.section."> <b>Note:</b> This directive uses the token form of the argument syntax; e.g., 'max-age=5', not 'max-age="5"'. Senders <em class="bcp14">SHOULD NOT</em> use the quoted-string form.
1353      </p>
1354      <div id="rfc.iref.s.4"></div>
1355      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="cache-response-directive.s-maxage" href="#cache-response-directive.s-maxage">s-maxage</a></h4>
1356      <p id="rfc.section.">Argument syntax: </p>
1357      <ul class="empty">
1358         <li> <a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.4.1</a>)
1359         </li>
1360      </ul>
1361      <p id="rfc.section.">The "s-maxage" response directive indicates that, in shared caches, the maximum age specified by this directive overrides
1362         the maximum age specified by either the max-age directive or the <a href="#header.expires" class="smpl">Expires</a> header field. The s-maxage directive also implies the semantics of the proxy-revalidate response directive.
1363      </p>
1364      <p id="rfc.section."> <b>Note:</b> This directive uses the token form of the argument syntax; e.g., 's-maxage=10', not 's-maxage="10"'. Senders <em class="bcp14">SHOULD NOT</em> use the quoted-string form.
1365      </p>
1366      <div id="rfc.iref.n.6"></div>
1367      <h4 id="rfc.section."><a href="#rfc.section."></a>&nbsp;<a id="" href="">no-transform</a></h4>
1368      <p id="rfc.section.">The "no-transform" response directive indicates that an intermediary (regardless of whether it implements a cache) <em class="bcp14">MUST NOT</em> transform the payload, as defined in <a href="p1-messaging.html#message.transformations" title="Transformations">Section 5.7.2</a> of <a href="#Part1" id="rfc.xref.Part1.10"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>.
1369      </p>
1370      <h3 id="rfc.section.7.2.3"><a href="#rfc.section.7.2.3">7.2.3</a>&nbsp;<a id="cache.control.extensions" href="#cache.control.extensions">Cache Control Extensions</a></h3>
1371      <p id="rfc.section.7.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
1372         value. Informational extensions (those that do not require a change in cache behavior) can be added without changing the semantics
1373         of other directives. Behavioral extensions are designed to work by acting as modifiers to the existing base of cache directives.
1374         Both the new directive and the standard directive are supplied, such that applications that do not understand the new directive
1375         will default to the behavior specified by the standard directive, and those that understand the new directive will recognize
1376         it as modifying the requirements associated with the standard directive. In this way, extensions to the cache-control directives
1377         can be made without requiring changes to the base protocol.
1378      </p>
1379      <p id="rfc.section.7.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,
1380         obeying certain extensions, and ignoring all directives that it does not understand.
1381      </p>
1382      <p id="rfc.section.7.2.3.p.3">For example, consider a hypothetical new response directive called "community" that acts as a modifier to the private directive.
1383         We define this new directive to mean that, in addition to any private cache, any cache that is shared only by members of the
1384         community named within its value is allowed to cache the response. An origin server wishing to allow the UCI community to
1385         use an otherwise private response in their shared cache(s) could do so by including
1386      </p>
1387      <div id="rfc.figure.u.8"></div><pre class="text">  Cache-Control: private, community="UCI"
1388</pre><p id="rfc.section.7.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
1389         it will also see and understand the private directive and thus default to the safe behavior.
1390      </p>
1391      <p id="rfc.section.7.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
1392         will be combined with standard directives (or the response's default cacheability) such that the cache behavior will remain
1393         minimally correct even if the cache does not understand the extension(s).
1394      </p>
1395      <p id="rfc.section.7.2.3.p.7">New extension directives ought to consider defining:</p>
1396      <p id="rfc.section.7.2.3.p.8"> </p>
1397      <ul>
1398         <li>What it means for a directive to be specified multiple times,</li>
1399         <li>When the directive does not take an argument, what it means when an argument is present,</li>
1400         <li>When the directive requires an argument, what it means when it is missing.</li>
1401      </ul>
1402      <p id="rfc.section.7.2.3.p.9">The HTTP Cache Directive Registry defines the name space for the cache directives.</p>
1403      <p id="rfc.section.7.2.3.p.10">A registration <em class="bcp14">MUST</em> include the following fields:
1404      </p>
1405      <ul>
1406         <li>Cache Directive Name</li>
1407         <li>Pointer to specification text</li>
1408      </ul>
1409      <p id="rfc.section.7.2.3.p.11">Values to be added to this name space require IETF Review (see <a href="#RFC5226" id="rfc.xref.RFC5226.1"><cite title="Guidelines for Writing an IANA Considerations Section in RFCs">[RFC5226]</cite></a>, <a href="">Section 4.1</a>).
1410      </p>
1411      <p id="rfc.section.7.2.3.p.12">The registry itself is maintained at &lt;<a href=""></a>&gt;.
1412      </p>
1413      <div id="rfc.iref.e.2"></div>
1414      <h2 id="rfc.section.7.3"><a href="#rfc.section.7.3">7.3</a>&nbsp;<a id="header.expires" href="#header.expires">Expires</a></h2>
1415      <p id="rfc.section.7.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;4.1</a> for further discussion of the freshness model.
1416      </p>
1417      <p id="rfc.section.7.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
1418         that time.
1419      </p>
1420      <p id="rfc.section.7.3.p.3">The Expires value is an HTTP-date timestamp, as defined in <a href="" title="Date/Time Formats">Section</a> of <a href="#Part2" id="rfc.xref.Part2.8"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>.
1421      </p>
1422      <div id="rfc.figure.u.9"></div><pre class="inline"><span id="rfc.iref.g.5"></span>  <a href="#header.expires" class="smpl">Expires</a> = <a href="#imported.abnf" class="smpl">HTTP-date</a>
1423</pre><div id="rfc.figure.u.10"></div>
1424      <p>For example</p>  <pre class="text">  Expires: Thu, 01 Dec 1994 16:00:00 GMT
1425</pre><p id="rfc.section.7.3.p.6">A cache recipient <em class="bcp14">MUST</em> interpret invalid date formats, especially the value "0", as representing a time in the past (i.e., "already expired").
1426      </p>
1427      <p id="rfc.section.7.3.p.7">If a response includes a <a href="#header.cache-control" class="smpl">Cache-Control</a> field with the max-age directive (<a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;</a>), a recipient <em class="bcp14">MUST</em> ignore the Expires field. Likewise, if a response includes the s-maxage directive (<a href="#cache-response-directive.s-maxage" title="s-maxage">Section&nbsp;</a>), a shared cache recipient <em class="bcp14">MUST</em> ignore the Expires field. In both these cases, the value in Expires is only intended for recipients that have not yet implemented
1428         the Cache-Control field.
1429      </p>
1430      <p id="rfc.section.7.3.p.8">An origin server without a clock <em class="bcp14">MUST NOT</em> generate an Expires field unless its value represents a fixed time in the past (always expired) or its value has been associated
1431         with the resource by a system or user with a reliable clock.
1432      </p>
1433      <p id="rfc.section.7.3.p.9">Historically, HTTP required the Expires field-value to be no more than a year in the future. While longer freshness lifetimes
1434         are no longer prohibited, extremely large values have been demonstrated to cause problems (e.g., clock overflows due to use
1435         of 32-bit integers for time values), and many caches will evict a response far sooner than that.
1436      </p>
1437      <div id="rfc.iref.p.5"></div>
1438      <h2 id="rfc.section.7.4"><a href="#rfc.section.7.4">7.4</a>&nbsp;<a id="header.pragma" href="#header.pragma">Pragma</a></h2>
1439      <p id="rfc.section.7.4.p.1">The "Pragma" header field allows backwards compatibility with HTTP/1.0 caches, so that clients can specify a "no-cache" request
1440         that they will understand (as <a href="#header.cache-control" class="smpl">Cache-Control</a> was not defined until HTTP/1.1). When the Cache-Control header field is also present and understood in a request, Pragma is
1441         ignored.
1442      </p>
1443      <p id="rfc.section.7.4.p.2">In HTTP/1.0, Pragma was defined as an extensible field for implementation-specified directives for recipients. This specification
1444         deprecates such extensions to improve interoperability.
1445      </p>
1446      <div id="rfc.figure.u.11"></div><pre class="inline"><span id="rfc.iref.g.6"></span><span id="rfc.iref.g.7"></span><span id="rfc.iref.g.8"></span>  <a href="#header.pragma" class="smpl">Pragma</a>           = 1#<a href="#header.pragma" class="smpl">pragma-directive</a>
1447  <a href="#header.pragma" class="smpl">pragma-directive</a> = "no-cache" / <a href="#header.pragma" class="smpl">extension-pragma</a>
1448  <a href="#header.pragma" class="smpl">extension-pragma</a> = <a href="#imported.abnf" class="smpl">token</a> [ "=" ( <a href="#imported.abnf" class="smpl">token</a> / <a href="#imported.abnf" class="smpl">quoted-string</a> ) ]
1449</pre><p id="rfc.section.7.4.p.4">When the <a href="#header.cache-control" class="smpl">Cache-Control</a> header field 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;7.2.1</a>).
1450      </p>
1451      <p id="rfc.section.7.4.p.5">When sending a no-cache request, a client ought to include both the pragma and cache-control directives, unless Cache-Control:
1452         no-cache is purposefully omitted to target other <a href="#header.cache-control" class="smpl">Cache-Control</a> response directives at HTTP/1.1 caches. For example:
1453      </p>
1454      <div id="rfc.figure.u.12"></div> <pre class="text">GET / HTTP/1.1
1456Cache-Control: max-age=30
1457Pragma: no-cache
1459</pre> <p id="rfc.section.7.4.p.7">will constrain HTTP/1.1 caches to serve a response no older than 30 seconds, while precluding implementations that do not
1460         understand <a href="#header.cache-control" class="smpl">Cache-Control</a> from serving a cached response.
1461      </p>
1462      <div class="note" id="rfc.section.7.4.p.8">
1463         <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:
1464            no-cache" in them.
1465         </p>
1466      </div>
1467      <div id="rfc.iref.w.1"></div>
1468      <h2 id="rfc.section.7.5"><a href="#rfc.section.7.5">7.5</a>&nbsp;<a id="header.warning" href="#header.warning">Warning</a></h2>
1469      <p id="rfc.section.7.5.p.1">The "Warning" header field is used to carry additional information about the status or transformation of a message that might
1470         not be reflected in the message. This information is typically used to warn about possible incorrectness introduced by caching
1471         operations or transformations applied to the payload of the message.
1472      </p>
1473      <p id="rfc.section.7.5.p.2">Warnings can be used for other purposes, both cache-related and otherwise. The use of a warning, rather than an error status
1474         code, distinguishes these responses from true failures.
1475      </p>
1476      <p id="rfc.section.7.5.p.3">Warning header fields can in general be applied to any message, however some warn-codes are specific to caches and can only
1477         be applied to response messages.
1478      </p>
1479      <div id="rfc.figure.u.13"></div><pre class="inline"><span id="rfc.iref.g.9"></span><span id="rfc.iref.g.10"></span><span id="rfc.iref.g.11"></span><span id="rfc.iref.g.12"></span><span id="rfc.iref.g.13"></span><span id="rfc.iref.g.14"></span>  <a href="#header.warning" class="smpl">Warning</a>       = 1#<a href="#header.warning" class="smpl">warning-value</a>
1481  <a href="#header.warning" class="smpl">warning-value</a> = <a href="#header.warning" class="smpl">warn-code</a> <a href="#imported.abnf" class="smpl">SP</a> <a href="#header.warning" class="smpl">warn-agent</a> <a href="#imported.abnf" class="smpl">SP</a> <a href="#header.warning" class="smpl">warn-text</a>
1482                                        [<a href="#imported.abnf" class="smpl">SP</a> <a href="#header.warning" class="smpl">warn-date</a>]
1484  <a href="#header.warning" class="smpl">warn-code</a>  = 3<a href="#imported.abnf" class="smpl">DIGIT</a>
1485  <a href="#header.warning" class="smpl">warn-agent</a> = ( <a href="#imported.abnf" class="smpl">uri-host</a> [ ":" <a href="#imported.abnf" class="smpl">port</a> ] ) / <a href="#imported.abnf" class="smpl">pseudonym</a>
1486                  ; the name or pseudonym of the server adding
1487                  ; the Warning header field, for use in debugging
1488  <a href="#header.warning" class="smpl">warn-text</a>  = <a href="#imported.abnf" class="smpl">quoted-string</a>
1489  <a href="#header.warning" class="smpl">warn-date</a>  = <a href="#imported.abnf" class="smpl">DQUOTE</a> <a href="#imported.abnf" class="smpl">HTTP-date</a> <a href="#imported.abnf" class="smpl">DQUOTE</a>
1490</pre><p id="rfc.section.7.5.p.5">Multiple warnings can be attached to a response (either by the origin server or by a cache), including multiple warnings with
1491         the same code number, only differing in warn-text.
1492      </p>
1493      <p id="rfc.section.7.5.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.
1494      </p>
1495      <p id="rfc.section.7.5.p.7">Systems that generate multiple Warning header fields are encouraged to order them with this user agent behavior in mind. New
1496         Warning header fields are added after any existing Warning header fields.
1497      </p>
1498      <p id="rfc.section.7.5.p.8">Warnings are assigned three digit warn-codes. The first digit indicates whether the Warning is required to be deleted from
1499         a stored response after validation:
1500      </p>
1501      <ul>
1502         <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.
1503         </li>
1504         <li>2xx Warnings describe some aspect of the representation that is not rectified by a validation (for example, a lossy compression
1505            of the representation) and <em class="bcp14">MUST NOT</em> be deleted by a cache after validation, unless a full response is sent, in which case they <em class="bcp14">MUST</em> be.
1506         </li>
1507      </ul>
1508      <p id="rfc.section.7.5.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,
1509         then the sender <em class="bcp14">MUST</em> include in each warning-value a warn-date that matches the <a href="" class="smpl">Date</a> header field in the message.
1510      </p>
1511      <p id="rfc.section.7.5.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 <a href="" class="smpl">Date</a> 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
1512         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.
1513      </p>
1514      <p id="rfc.section.7.5.p.11">The following warn-codes are defined by this specification, each with a recommended warn-text in English, and a description
1515         of its meaning.
1516      </p>
1517      <div id="rfc.iref.52"></div>
1518      <h3 id="rfc.section.7.5.1"><a href="#rfc.section.7.5.1">7.5.1</a>&nbsp;<a id="warn.110" href="#warn.110">110 Response is Stale</a></h3>
1519      <p id="rfc.section.7.5.1.p.1">A cache <em class="bcp14">SHOULD</em> generate this whenever the sent response is stale.
1520      </p>
1521      <div id="rfc.iref.52"></div>
1522      <h3 id="rfc.section.7.5.2"><a href="#rfc.section.7.5.2">7.5.2</a>&nbsp;<a id="warn.111" href="#warn.111">111 Revalidation Failed</a></h3>
1523      <p id="rfc.section.7.5.2.p.1">A cache <em class="bcp14">SHOULD</em> generate this when sending a stale response because an attempt to validate the response failed, due to an inability to reach
1524         the server.
1525      </p>
1526      <div id="rfc.iref.52"></div>
1527      <h3 id="rfc.section.7.5.3"><a href="#rfc.section.7.5.3">7.5.3</a>&nbsp;<a id="warn.112" href="#warn.112">112 Disconnected Operation</a></h3>
1528      <p id="rfc.section.7.5.3.p.1">A cache <em class="bcp14">SHOULD</em> generate this if it is intentionally disconnected from the rest of the network for a period of time.
1529      </p>
1530      <div id="rfc.iref.52"></div>
1531      <h3 id="rfc.section.7.5.4"><a href="#rfc.section.7.5.4">7.5.4</a>&nbsp;<a id="warn.113" href="#warn.113">113 Heuristic Expiration</a></h3>
1532      <p id="rfc.section.7.5.4.p.1">A cache <em class="bcp14">SHOULD</em> generate this if it heuristically chose a freshness lifetime greater than 24 hours and the response's age is greater than
1533         24 hours.
1534      </p>
1535      <div id="rfc.iref.52"></div>
1536      <h3 id="rfc.section.7.5.5"><a href="#rfc.section.7.5.5">7.5.5</a>&nbsp;<a id="warn.199" href="#warn.199">199 Miscellaneous Warning</a></h3>
1537      <p id="rfc.section.7.5.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.
1538      </p>
1539      <div id="rfc.iref.52"></div>
1540      <h3 id="rfc.section.7.5.6"><a href="#rfc.section.7.5.6">7.5.6</a>&nbsp;<a id="warn.214" href="#warn.214">214 Transformation Applied</a></h3>
1541      <p id="rfc.section.7.5.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,
1542         or modifying the representation data, unless this Warning code already appears in the response.
1543      </p>
1544      <div id="rfc.iref.52"></div>
1545      <h3 id="rfc.section.7.5.7"><a href="#rfc.section.7.5.7">7.5.7</a>&nbsp;<a id="warn.299" href="#warn.299">299 Miscellaneous Persistent Warning</a></h3>
1546      <p id="rfc.section.7.5.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.
1547      </p>
1548      <h3 id="rfc.section.7.5.8"><a href="#rfc.section.7.5.8">7.5.8</a>&nbsp;<a id="warn.code.extensions" href="#warn.code.extensions">Warn Code Extensions</a></h3>
1549      <p id="rfc.section.7.5.8.p.1">The HTTP Warn Code Registry defines the name space for warn codes.</p>
1550      <p id="rfc.section.7.5.8.p.2">A registration <em class="bcp14">MUST</em> include the following fields:
1551      </p>
1552      <ul>
1553         <li>Warn Code (3 digits)</li>
1554         <li>Short Description</li>
1555         <li>Pointer to specification text</li>
1556      </ul>
1557      <p id="rfc.section.7.5.8.p.3">Values to be added to this name space require IETF Review (see <a href="#RFC5226" id="rfc.xref.RFC5226.2"><cite title="Guidelines for Writing an IANA Considerations Section in RFCs">[RFC5226]</cite></a>, <a href="">Section 4.1</a>).
1558      </p>
1559      <p id="rfc.section.7.5.8.p.4">The registry itself is maintained at &lt;<a href=""></a>&gt;.
1560      </p>
1561      <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;<a id="history.lists" href="#history.lists">History Lists</a></h1>
1562      <p id="rfc.section.8.p.1">User agents often have history mechanisms, such as "Back" buttons and history lists, that can be used to redisplay a representation
1563         retrieved earlier in a session.
1564      </p>
1565      <p id="rfc.section.8.p.2">The freshness model (<a href="#expiration.model" title="Freshness Model">Section&nbsp;4.1</a>) does not necessarily apply to history mechanisms. I.e., a history mechanism can display a previous representation even if
1566         it has expired.
1567      </p>
1568      <p id="rfc.section.8.p.3">This does not prohibit the history mechanism from telling the user that a view might be stale, or from honoring cache directives
1569         (e.g., Cache-Control: no-store).
1570      </p>
1571      <h1 id="rfc.section.9"><a href="#rfc.section.9">9.</a>&nbsp;<a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1>
1572      <h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a>&nbsp;<a id="cache.directive.registration" href="#cache.directive.registration">Cache Directive Registry</a></h2>
1573      <p id="rfc.section.9.1.p.1">The registration procedure for HTTP Cache Directives is defined by <a href="#cache.control.extensions" title="Cache Control Extensions">Section&nbsp;7.2.3</a> of this document.
1574      </p>
1575      <p id="rfc.section.9.1.p.2">The HTTP Cache Directive Registry shall be created at &lt;<a href=""></a>&gt; and be populated with the registrations below:
1576      </p>
1577      <div id="rfc.table.1">
1578         <div id="iana.cache.directive.registration.table"></div>
1579         <table class="tt full left" cellpadding="3" cellspacing="0">
1580            <thead>
1581               <tr>
1582                  <th>Cache Directive</th>
1583                  <th>Reference</th>
1584               </tr>
1585            </thead>
1586            <tbody>
1587               <tr>
1588                  <td class="left">max-age</td>
1589                  <td class="left"> <a href="#cache-request-directive.max-age" title="max-age">Section&nbsp;</a>, <a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;</a>
1590                  </td>
1591               </tr>
1592               <tr>
1593                  <td class="left">max-stale</td>
1594                  <td class="left"> <a href="#cache-request-directive.max-stale" title="max-stale">Section&nbsp;</a>
1595                  </td>
1596               </tr>
1597               <tr>
1598                  <td class="left">min-fresh</td>
1599                  <td class="left"> <a href="#cache-request-directive.min-fresh" title="min-fresh">Section&nbsp;</a>
1600                  </td>
1601               </tr>
1602               <tr>
1603                  <td class="left">must-revalidate</td>
1604                  <td class="left"> <a href="#cache-response-directive.must-revalidate" title="must-revalidate">Section&nbsp;</a>
1605                  </td>
1606               </tr>
1607               <tr>
1608                  <td class="left">no-cache</td>
1609                  <td class="left"> <a href="" title="no-cache">Section&nbsp;</a>, <a href="" title="no-cache">Section&nbsp;</a>
1610                  </td>
1611               </tr>
1612               <tr>
1613                  <td class="left">no-store</td>
1614                  <td class="left"> <a href="" title="no-store">Section&nbsp;</a>, <a href="" title="no-store">Section&nbsp;</a>
1615                  </td>
1616               </tr>
1617               <tr>
1618                  <td class="left">no-transform</td>
1619                  <td class="left"> <a href="" title="no-transform">Section&nbsp;</a>, <a href="" title="no-transform">Section&nbsp;</a>
1620                  </td>
1621               </tr>
1622               <tr>
1623                  <td class="left">only-if-cached</td>
1624                  <td class="left"> <a href="#cache-request-directive.only-if-cached" title="only-if-cached">Section&nbsp;</a>
1625                  </td>
1626               </tr>
1627               <tr>
1628                  <td class="left">private</td>
1629                  <td class="left"> <a href="#cache-response-directive.private" title="private">Section&nbsp;</a>
1630                  </td>
1631               </tr>
1632               <tr>
1633                  <td class="left">proxy-revalidate</td>
1634                  <td class="left"> <a href="#cache-response-directive.proxy-revalidate" title="proxy-revalidate">Section&nbsp;</a>
1635                  </td>
1636               </tr>
1637               <tr>
1638                  <td class="left">public</td>
1639                  <td class="left"> <a href="#cache-response-directive.public" title="public">Section&nbsp;</a>
1640                  </td>
1641               </tr>
1642               <tr>
1643                  <td class="left">s-maxage</td>
1644                  <td class="left"> <a href="#cache-response-directive.s-maxage" title="s-maxage">Section&nbsp;</a>
1645                  </td>
1646               </tr>
1647               <tr>
1648                  <td class="left">stale-if-error</td>
1649                  <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="">Section 4</a>
1650                  </td>
1651               </tr>
1652               <tr>
1653                  <td class="left">stale-while-revalidate</td>
1654                  <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="">Section 3</a>
1655                  </td>
1656               </tr>
1657            </tbody>
1658         </table>
1659      </div>
1660      <h2 id="rfc.section.9.2"><a href="#rfc.section.9.2">9.2</a>&nbsp;<a id="warn.code.registration" href="#warn.code.registration">Warn Code Registry</a></h2>
1661      <p id="rfc.section.9.2.p.1">The registration procedure for HTTP Warn Codes is defined by <a href="#warn.code.extensions" title="Warn Code Extensions">Section&nbsp;7.5.8</a> of this document.
1662      </p>
1663      <p id="rfc.section.9.2.p.2">The HTTP Warn Code Registry shall be created at &lt;<a href=""></a>&gt; and be populated with the registrations below:
1664      </p>
1665      <div id="rfc.table.2">
1666         <div id="iana.warn.code.registration.table"></div>
1667         <table class="tt full left" cellpadding="3" cellspacing="0">
1668            <thead>
1669               <tr>
1670                  <th>Warn Code</th>
1671                  <th>Short Description</th>
1672                  <th>Reference</th>
1673               </tr>
1674            </thead>
1675            <tbody>
1676               <tr>
1677                  <td class="left">110</td>
1678                  <td class="left">Response is Stale</td>
1679                  <td class="left"> <a href="#warn.110" id="rfc.xref.warn.110.1" title="110 Response is Stale">Section&nbsp;7.5.1</a>
1680                  </td>
1681               </tr>
1682               <tr>
1683                  <td class="left">111</td>
1684                  <td class="left">Revalidation Failed</td>
1685                  <td class="left"> <a href="#warn.111" id="rfc.xref.warn.111.1" title="111 Revalidation Failed">Section&nbsp;7.5.2</a>
1686                  </td>
1687               </tr>
1688               <tr>
1689                  <td class="left">112</td>
1690                  <td class="left">Disconnected Operation</td>
1691                  <td class="left"> <a href="#warn.112" id="rfc.xref.warn.112.1" title="112 Disconnected Operation">Section&nbsp;7.5.3</a>
1692                  </td>
1693               </tr>
1694               <tr>
1695                  <td class="left">113</td>
1696                  <td class="left">Heuristic Expiration</td>
1697                  <td class="left"> <a href="#warn.113" id="rfc.xref.warn.113.1" title="113 Heuristic Expiration">Section&nbsp;7.5.4</a>
1698                  </td>
1699               </tr>
1700               <tr>
1701                  <td class="left">199</td>
1702                  <td class="left">Miscellaneous Warning</td>
1703                  <td class="left"> <a href="#warn.199" id="rfc.xref.warn.199.1" title="199 Miscellaneous Warning">Section&nbsp;7.5.5</a>
1704                  </td>
1705               </tr>
1706               <tr>
1707                  <td class="left">214</td>
1708                  <td class="left">Transformation Applied</td>
1709                  <td class="left"> <a href="#warn.214" id="rfc.xref.warn.214.1" title="214 Transformation Applied">Section&nbsp;7.5.6</a>
1710                  </td>
1711               </tr>
1712               <tr>
1713                  <td class="left">299</td>
1714                  <td class="left">Miscellaneous Persistent Warning</td>
1715                  <td class="left"> <a href="#warn.299" id="rfc.xref.warn.299.1" title="299 Miscellaneous Persistent Warning">Section&nbsp;7.5.7</a>
1716                  </td>
1717               </tr>
1718            </tbody>
1719         </table>
1720      </div>
1721      <h2 id="rfc.section.9.3"><a href="#rfc.section.9.3">9.3</a>&nbsp;<a id="header.field.registration" href="#header.field.registration">Header Field Registration</a></h2>
1722      <p id="rfc.section.9.3.p.1">The Message Header Field Registry located at &lt;<a href=""></a>&gt; shall be updated with the permanent registrations below (see <a href="#BCP90" id="rfc.xref.BCP90.1"><cite title="Registration Procedures for Message Header Fields">[BCP90]</cite></a>):
1723      </p>
1724      <div id="rfc.table.3">
1725         <div id="iana.header.registration.table"></div>
1726         <table class="tt full left" cellpadding="3" cellspacing="0">
1727            <thead>
1728               <tr>
1729                  <th>Header Field Name</th>
1730                  <th>Protocol</th>
1731                  <th>Status</th>
1732                  <th>Reference</th>
1733               </tr>
1734            </thead>
1735            <tbody>
1736               <tr>
1737                  <td class="left">Age</td>
1738                  <td class="left">http</td>
1739                  <td class="left">standard</td>
1740                  <td class="left"> <a href="#header.age" id="rfc.xref.header.age.3" title="Age">Section&nbsp;7.1</a>
1741                  </td>
1742               </tr>
1743               <tr>
1744                  <td class="left">Cache-Control</td>
1745                  <td class="left">http</td>
1746                  <td class="left">standard</td>
1747                  <td class="left"> <a href="#header.cache-control" id="rfc.xref.header.cache-control.2" title="Cache-Control">Section&nbsp;7.2</a>
1748                  </td>
1749               </tr>
1750               <tr>
1751                  <td class="left">Expires</td>
1752                  <td class="left">http</td>
1753                  <td class="left">standard</td>
1754                  <td class="left"> <a href="#header.expires" id="rfc.xref.header.expires.4" title="Expires">Section&nbsp;7.3</a>
1755                  </td>
1756               </tr>
1757               <tr>
1758                  <td class="left">Pragma</td>
1759                  <td class="left">http</td>
1760                  <td class="left">standard</td>
1761                  <td class="left"> <a href="#header.pragma" id="rfc.xref.header.pragma.3" title="Pragma">Section&nbsp;7.4</a>
1762                  </td>
1763               </tr>
1764               <tr>
1765                  <td class="left">Warning</td>
1766                  <td class="left">http</td>
1767                  <td class="left">standard</td>
1768                  <td class="left"> <a href="#header.warning" id="rfc.xref.header.warning.5" title="Warning">Section&nbsp;7.5</a>
1769                  </td>
1770               </tr>
1771            </tbody>
1772         </table>
1773      </div>
1774      <p id="rfc.section.9.3.p.2">The change controller is: "IETF ( - Internet Engineering Task Force".</p>
1775      <h1 id="rfc.section.10"><a href="#rfc.section.10">10.</a>&nbsp;<a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>
1776      <p id="rfc.section.10.p.1">This section is meant to inform developers, information providers, and users of known security concerns specific to HTTP/1.1
1777         caching. More general security considerations are addressed in HTTP messaging <a href="#Part1" id="rfc.xref.Part1.11"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a> and semantics <a href="#Part2" id="rfc.xref.Part2.9"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>.
1778      </p>
1779      <p id="rfc.section.10.p.2">Caches expose additional potential vulnerabilities, since the contents of the cache represent an attractive target for malicious
1780         exploitation. Because cache contents persist after an HTTP request is complete, an attack on the cache can reveal information
1781         long after a user believes that the information has been removed from the network. Therefore, cache contents need to be protected
1782         as sensitive information.
1783      </p>
1784      <p id="rfc.section.10.p.3">Furthermore, the very use of a cache can bring about privacy concerns. For example, if two users share a cache, and the first
1785         one browses to a site, the second may be able to detect that the other has been to that site, because the resources from it
1786         load more quickly, thanks to the cache.
1787      </p>
1788      <p id="rfc.section.10.p.4">Implementation flaws might allow attackers to insert content into a cache ("cache poisoning"), leading to compromise of clients
1789         that trust that content. Because of their nature, these attacks are difficult to mitigate.
1790      </p>
1791      <p id="rfc.section.10.p.5">Likewise, implementation flaws (as well as misunderstanding of cache operation) might lead to caching of sensitive information
1792         (e.g., authentication credentials) that is thought to be private, exposing it to unauthorized parties.
1793      </p>
1794      <p id="rfc.section.10.p.6">Note that the Set-Cookie response header <a href="#RFC6265" id="rfc.xref.RFC6265.1"><cite title="HTTP State Management Mechanism">[RFC6265]</cite></a> does not inhibit caching; a cacheable response with a Set-Cookie header can be (and often is) used to satisfy subsequent requests
1795         to caches. Servers who wish to control caching of these responses are encouraged to emit appropriate Cache-Control response
1796         headers.
1797      </p>
1798      <h1 id="rfc.section.11"><a href="#rfc.section.11">11.</a>&nbsp;<a id="acks" href="#acks">Acknowledgments</a></h1>
1799      <p id="rfc.section.11.p.1">See <a href="p1-messaging.html#acks" title="Acknowledgments">Section 9</a> of <a href="#Part1" id="rfc.xref.Part1.12"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>.
1800      </p>
1801      <h1 id="rfc.references"><a id="rfc.section.12" href="#rfc.section.12">12.</a> References
1802      </h1>
1803      <h2 id="rfc.references.1"><a href="#rfc.section.12.1" id="rfc.section.12.1">12.1</a> Normative References
1804      </h2>
1805      <table>             
1806         <tr>
1807            <td class="reference"><b id="Part1">[Part1]</b></td>
1808            <td class="top"><a href="" title="Adobe Systems Incorporated">Fielding, R., Ed.</a> and <a href="" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2013.
1809            </td>
1810         </tr>
1811         <tr>
1812            <td class="reference"><b id="Part2">[Part2]</b></td>
1813            <td class="top"><a href="" title="Adobe Systems Incorporated">Fielding, R., Ed.</a> and <a href="" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2013.
1814            </td>
1815         </tr>
1816         <tr>
1817            <td class="reference"><b id="Part4">[Part4]</b></td>
1818            <td class="top"><a href="" title="Adobe Systems Incorporated">Fielding, R., Ed.</a> and <a href="" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2013.
1819            </td>
1820         </tr>
1821         <tr>
1822            <td class="reference"><b id="Part5">[Part5]</b></td>
1823            <td class="top"><a href="" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2013.
1824            </td>
1825         </tr>
1826         <tr>
1827            <td class="reference"><b id="Part7">[Part7]</b></td>
1828            <td class="top"><a href="" title="Adobe Systems Incorporated">Fielding, R., Ed.</a> and <a href="" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), January&nbsp;2013.
1829            </td>
1830         </tr>
1831         <tr>
1832            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
1833            <td class="top"><a href="" title="Harvard University">Bradner, S.</a>, “<a href="">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
1834            </td>
1835         </tr>
1836         <tr>
1837            <td class="reference"><b id="RFC5234">[RFC5234]</b></td>
1838            <td class="top"><a href="" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="" title="THUS plc.">P. Overell</a>, “<a href="">Augmented BNF for Syntax Specifications: ABNF</a>”, STD&nbsp;68, RFC&nbsp;5234, January&nbsp;2008.
1839            </td>
1840         </tr>
1841      </table>
1842      <h2 id="rfc.references.2"><a href="#rfc.section.12.2" id="rfc.section.12.2">12.2</a> Informative References
1843      </h2>
1844      <table>           
1845         <tr>
1846            <td class="reference"><b id="BCP90">[BCP90]</b></td>
1847            <td class="top"><a href="" title="Nine by Nine">Klyne, G.</a>, <a href="" title="BEA Systems">Nottingham, M.</a>, and <a href="" title="HP Labs">J. Mogul</a>, “<a href="">Registration Procedures for Message Header Fields</a>”, BCP&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
1848            </td>
1849         </tr>
1850         <tr>
1851            <td class="reference"><b id="RFC1305">[RFC1305]</b></td>
1852            <td class="top"><a href="" title="University of Delaware, Electrical Engineering Department">Mills, D.</a>, “<a href="">Network Time Protocol (Version 3) Specification, Implementation</a>”, RFC&nbsp;1305, March&nbsp;1992.
1853            </td>
1854         </tr>
1855         <tr>
1856            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
1857            <td class="top"><a href="" title="University of California, Irvine">Fielding, R.</a>, <a href="" title="W3C">Gettys, J.</a>, <a href="" title="Compaq Computer Corporation">Mogul, J.</a>, <a href="" title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a href="" title="Xerox Corporation">Masinter, L.</a>, <a href="" title="Microsoft Corporation">Leach, P.</a>, and <a href="" title="W3C">T. Berners-Lee</a>, “<a href="">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC&nbsp;2616, June&nbsp;1999.
1858            </td>
1859         </tr>
1860         <tr>
1861            <td class="reference"><b id="RFC5226">[RFC5226]</b></td>
1862            <td class="top"><a href="" title="IBM">Narten, T.</a> and <a href="" title="Google">H. Alvestrand</a>, “<a href="">Guidelines for Writing an IANA Considerations Section in RFCs</a>”, BCP&nbsp;26, RFC&nbsp;5226, May&nbsp;2008.
1863            </td>
1864         </tr>
1865         <tr>
1866            <td class="reference"><b id="RFC5861">[RFC5861]</b></td>
1867            <td class="top"><a href="" title="Yahoo! Inc.">Nottingham, M.</a>, “<a href="">HTTP Cache-Control Extensions for Stale Content</a>”, RFC&nbsp;5861, April&nbsp;2010.
1868            </td>
1869         </tr>
1870         <tr>
1871            <td class="reference"><b id="RFC6265">[RFC6265]</b></td>
1872            <td class="top"><a href="" title="&#xA;          University of California, Berkeley&#xA;        ">Barth, A.</a>, “<a href="">HTTP State Management Mechanism</a>”, RFC&nbsp;6265, April&nbsp;2011.
1873            </td>
1874         </tr>
1875      </table>
1876      <div class="avoidbreak">
1877         <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
1878         <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span>
1879               (editor)
1880               <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=""><span class="email"></span></a></span><span class="vcardline">URI: <a href="" class="url"></a></span></address>
1881         <address class="vcard"><span class="vcardline"><span class="fn">Mark Nottingham</span>
1882               (editor)
1883               <span class="n hidden"><span class="family-name">Nottingham</span><span class="given-name">Mark</span></span></span><span class="org vcardline">Akamai</span><span class="vcardline">Email: <a href=""><span class="email"></span></a></span><span class="vcardline">URI: <a href="" class="url"></a></span></address>
1884         <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span>
1885               (editor)
1886               <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">Email: <a href=""><span class="email"></span></a></span><span class="vcardline">URI: <a href="" class="url"></a></span></address>
1887      </div>
1888      <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>
1889      <p id="rfc.section.A.p.1">Caching-related text has been substantially rewritten for clarity.</p>
1890      <p id="rfc.section.A.p.2">The algorithm for calculating age is now less conservative. (<a href="#age.calculations" title="Calculating Age">Section&nbsp;4.1.3</a>)
1891      </p>
1892      <p id="rfc.section.A.p.3">Caches are now required to handle dates with timezones as if they're invalid, because it's not possible to accurately guess.
1893         (<a href="#age.calculations" title="Calculating Age">Section&nbsp;4.1.3</a>)
1894      </p>
1895      <p id="rfc.section.A.p.4">The <a href="p2-semantics.html#header.content-location" class="smpl">Content-Location</a> response header field is no longer used to determine the appropriate response to use when validating. (<a href="#validation.model" title="Validation Model">Section&nbsp;4.2</a>)
1896      </p>
1897      <p id="rfc.section.A.p.5">The algorithm for selecting a cached negotiated response to use has been clarified in several ways. In particular, it now
1898         explicitly allows header-specific canonicalization when processing selecting header fields. (<a href="#caching.negotiated.responses" title="Using Negotiated Responses">Section&nbsp;4.3</a>)
1899      </p>
1900      <p id="rfc.section.A.p.6">Requirements regarding denial of service attack avoidance when performing invalidation have been clarified. (<a href="#invalidation.after.updates.or.deletions" title="Request Methods that Invalidate">Section&nbsp;6</a>)
1901      </p>
1902      <p id="rfc.section.A.p.7">Cache invalidation only occurs when a successful response is received. (<a href="#invalidation.after.updates.or.deletions" title="Request Methods that Invalidate">Section&nbsp;6</a>)
1903      </p>
1904      <p id="rfc.section.A.p.8">The conditions under which an authenticated response can be cached have been clarified. (<a href="#caching.authenticated.responses" title="Storing Responses to Authenticated Requests">Section&nbsp;3.2</a>)
1905      </p>
1906      <p id="rfc.section.A.p.9">The one-year limit on Expires header field values has been removed; instead, the reasoning for using a sensible value is given.
1907         (<a href="#header.expires" id="rfc.xref.header.expires.5" title="Expires">Section&nbsp;7.3</a>)
1908      </p>
1909      <p id="rfc.section.A.p.10">The Pragma header field is now only defined for backwards compatibility; future pragmas are deprecated. (<a href="#header.pragma" id="rfc.xref.header.pragma.4" title="Pragma">Section&nbsp;7.4</a>)
1910      </p>
1911      <p id="rfc.section.A.p.11">Cache directives are explicitly defined to be case-insensitive. (<a href="#header.cache-control" id="rfc.xref.header.cache-control.3" title="Cache-Control">Section&nbsp;7.2</a>)
1912      </p>
1913      <p id="rfc.section.A.p.12">Handling of multiple instances of cache directives when only one is expected is now defined. (<a href="#header.cache-control" id="rfc.xref.header.cache-control.4" title="Cache-Control">Section&nbsp;7.2</a>)
1914      </p>
1915      <p id="rfc.section.A.p.13">The qualified forms of the private and no-cache cache directives are noted to not be widely implemented; e.g., "private=foo"
1916         is interpreted by many caches as simply "private". Additionally, the meaning of the qualified form of no-cache has been clarified.
1917         (<a href="#cache-response-directive" title="Response Cache-Control Directives">Section&nbsp;7.2.2</a>)
1918      </p>
1919      <p id="rfc.section.A.p.14">The "no-store" cache request directive doesn't apply to responses; i.e., a cache can satisfy a request with no-store on it,
1920         and does not invalidate it. (<a href="" title="no-store">Section&nbsp;</a>)
1921      </p>
1922      <p id="rfc.section.A.p.15">The meaning of the "public" cache response directive has been refined to be less vague. (<a href="#cache-response-directive.public" title="public">Section&nbsp;</a>)
1923      </p>
1924      <p id="rfc.section.A.p.16">The "no-cache" response cache directive's meaning has been clarified. (<a href="" title="no-cache">Section&nbsp;</a>)
1925      </p>
1926      <p id="rfc.section.A.p.17">New status codes can now define that caches are allowed to use heuristic freshness with them. (<a href="#heuristic.freshness" title="Calculating Heuristic Freshness">Section&nbsp;4.1.2</a>)
1927      </p>
1928      <p id="rfc.section.A.p.18">Caches are now allow to calculate heuristic freshness for URLs with query components. (<a href="#heuristic.freshness" title="Calculating Heuristic Freshness">Section&nbsp;4.1.2</a>)
1929      </p>
1930      <p id="rfc.section.A.p.19">Some requirements regarding production of the <a href="#header.warning" class="smpl">Warning</a> header have been relaxed, as it is not widely implemented. (<a href="#header.warning" id="rfc.xref.header.warning.6" title="Warning">Section&nbsp;7.5</a>)
1931      </p>
1932      <p id="rfc.section.A.p.20">The <a href="#header.warning" class="smpl">Warning</a> header field no longer uses RFC 2047 encoding, nor allows multiple languages, as these aspects were not implemented. (<a href="#header.warning" id="rfc.xref.header.warning.7" title="Warning">Section&nbsp;7.5</a>)
1933      </p>
1934      <p id="rfc.section.A.p.21">This specification introduces the Cache Directive and Warn Code Registries, and defines considerations for new cache directives.
1935         (<a href="#cache.control.extensions" title="Cache Control Extensions">Section&nbsp;7.2.3</a> and <a href="#warn.code.extensions" title="Warn Code Extensions">Section&nbsp;7.5.8</a>)
1936      </p>
1937      <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a id="imported.abnf" href="#imported.abnf">Imported ABNF</a></h1>
1938      <p id="rfc.section.B.p.1">The following core rules are included by reference, as defined in <a href="">Appendix B.1</a> of <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
1939         (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
1940         character).
1941      </p>
1942      <p id="rfc.section.B.p.2">The rules below are defined in <a href="#Part1" id="rfc.xref.Part1.13"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>:
1943      </p>
1944      <div id="rfc.figure.u.14"></div><pre class="inline">  <a href="#imported.abnf" class="smpl">OWS</a>           = &lt;OWS, defined in <a href="#Part1" id="rfc.xref.Part1.14"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>, <a href="p1-messaging.html#whitespace" title="Whitespace">Section 3.2.3</a>&gt;
1945  <a href="#imported.abnf" class="smpl">field-name</a>    = &lt;field-name, defined in <a href="#Part1" id="rfc.xref.Part1.15"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>, <a href="p1-messaging.html#header.fields" title="Header Fields">Section 3.2</a>&gt;
1946  <a href="#imported.abnf" class="smpl">quoted-string</a> = &lt;quoted-string, defined in <a href="#Part1" id="rfc.xref.Part1.16"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>, <a href="p1-messaging.html#field.components" title="Field value components">Section 3.2.6</a>&gt;
1947  <a href="#imported.abnf" class="smpl">token</a>         = &lt;token, defined in <a href="#Part1" id="rfc.xref.Part1.17"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>, <a href="p1-messaging.html#field.components" title="Field value components">Section 3.2.6</a>&gt;
1949  <a href="#imported.abnf" class="smpl">port</a>          = &lt;port, defined in <a href="#Part1" id="rfc.xref.Part1.18"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>, <a href="p1-messaging.html#uri" title="Uniform Resource Identifiers">Section 2.7</a>&gt;
1950  <a href="#imported.abnf" class="smpl">pseudonym</a>     = &lt;pseudonym, defined in <a href="#Part1" id="rfc.xref.Part1.19"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>, <a href="p1-messaging.html#header.via" title="Via">Section 5.7.1</a>&gt;
1951  <a href="#imported.abnf" class="smpl">uri-host</a>      = &lt;uri-host, defined in <a href="#Part1" id="rfc.xref.Part1.20"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>, <a href="p1-messaging.html#uri" title="Uniform Resource Identifiers">Section 2.7</a>&gt;
1952</pre><p id="rfc.section.B.p.4">The rules below are defined in other parts:</p>
1953      <div id="rfc.figure.u.15"></div><pre class="inline">  <a href="#imported.abnf" class="smpl">HTTP-date</a>     = &lt;HTTP-date, defined in <a href="#Part2" id="rfc.xref.Part2.10"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>, <a href="" title="Date/Time Formats">Section</a>&gt;
1954</pre><h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a id="collected.abnf" href="#collected.abnf">Collected ABNF</a></h1>
1955      <div id="rfc.figure.u.16"></div> <pre class="inline"><a href="#header.age" class="smpl">Age</a> = delta-seconds
1957<a href="#header.cache-control" class="smpl">Cache-Control</a> = *( "," OWS ) cache-directive *( OWS "," [ OWS
1958 cache-directive ] )
1960<a href="#header.expires" class="smpl">Expires</a> = HTTP-date
1962<a href="#imported.abnf" class="smpl">HTTP-date</a> = &lt;HTTP-date, defined in [Part2], Section;
1964<a href="#imported.abnf" class="smpl">OWS</a> = &lt;OWS, defined in [Part1], Section 3.2.3&gt;
1966<a href="#header.pragma" class="smpl">Pragma</a> = *( "," OWS ) pragma-directive *( OWS "," [ OWS
1967 pragma-directive ] )
1969<a href="#header.warning" class="smpl">Warning</a> = *( "," OWS ) warning-value *( OWS "," [ OWS warning-value ]
1970 )
1972<a href="#header.cache-control" class="smpl">cache-directive</a> = token [ "=" ( token / quoted-string ) ]
1974<a href="#delta-seconds" class="smpl">delta-seconds</a> = 1*DIGIT
1976<a href="#header.pragma" class="smpl">extension-pragma</a> = token [ "=" ( token / quoted-string ) ]
1978<a href="#imported.abnf" class="smpl">field-name</a> = &lt;field-name, defined in [Part1], Section 3.2&gt;
1980<a href="#imported.abnf" class="smpl">port</a> = &lt;port, defined in [Part1], Section 2.7&gt;
1981<a href="#header.pragma" class="smpl">pragma-directive</a> = "no-cache" / extension-pragma
1982<a href="#imported.abnf" class="smpl">pseudonym</a> = &lt;pseudonym, defined in [Part1], Section 5.7.1&gt;
1984<a href="#imported.abnf" class="smpl">quoted-string</a> = &lt;quoted-string, defined in [Part1], Section 3.2.6&gt;
1986<a href="#imported.abnf" class="smpl">token</a> = &lt;token, defined in [Part1], Section 3.2.6&gt;
1988<a href="#imported.abnf" class="smpl">uri-host</a> = &lt;uri-host, defined in [Part1], Section 2.7&gt;
1990<a href="#header.warning" class="smpl">warn-agent</a> = ( uri-host [ ":" port ] ) / pseudonym
1991<a href="#header.warning" class="smpl">warn-code</a> = 3DIGIT
1992<a href="#header.warning" class="smpl">warn-date</a> = DQUOTE HTTP-date DQUOTE
1993<a href="#header.warning" class="smpl">warn-text</a> = quoted-string
1994<a href="#header.warning" class="smpl">warning-value</a> = warn-code SP warn-agent SP warn-text [ SP warn-date
1995 ]
1996</pre> <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
1997      <p id="rfc.section.D.p.1">Changes up to the first Working Group Last Call draft are summarized in &lt;<a href=""></a>&gt;.
1998      </p>
1999      <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;<a id="changes.since.19" href="#changes.since.19">Since draft-ietf-httpbis-p6-cache-19</a></h2>
2000      <p id="rfc.section.D.1.p.1">Closed issues: </p>
2001      <ul>
2002         <li> &lt;<a href=""></a>&gt;: "untangle Cache-Control ABNF"
2003         </li>
2004         <li> &lt;<a href=""></a>&gt;: "Multiple values in Cache-Control header fields"
2005         </li>
2006         <li> &lt;<a href=""></a>&gt;: "Case sensitivity of header fields in CC values"
2007         </li>
2008         <li> &lt;<a href=""></a>&gt;: "Spurious 'MAYs'"
2009         </li>
2010         <li> &lt;<a href=""></a>&gt;: "enhance considerations for new cache control directives"
2011         </li>
2012         <li> &lt;<a href=""></a>&gt;: "ABNF requirements for recipients"
2013         </li>
2014         <li> &lt;<a href=""></a>&gt;: "note introduction of new IANA registries as normative changes"
2015         </li>
2016         <li> &lt;<a href=""></a>&gt;: "broken prose in description of 'Vary'"
2017         </li>
2018      </ul>
2019      <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;<a id="changes.since.20" href="#changes.since.20">Since draft-ietf-httpbis-p6-cache-20</a></h2>
2020      <p id="rfc.section.D.2.p.1">Closed issues: </p>
2021      <ul>
2022         <li> &lt;<a href=""></a>&gt;: "'Most Conservative'"
2023         </li>
2024      </ul>
2025      <p id="rfc.section.D.2.p.2">Other changes: </p>
2026      <ul>
2027         <li>Conformance criteria and considerations regarding error handling are now defined in Part 1.</li>
2028         <li>Move definition of "Vary" header field into Part 2.</li>
2029         <li>Add security considerations with respect to cache poisoning and the "Set-Cookie" header field.</li>
2030      </ul>
2031      <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;<a id="changes.since.21" href="#changes.since.21">Since draft-ietf-httpbis-p6-cache-21</a></h2>
2032      <p id="rfc.section.D.3.p.1">Closed issues: </p>
2033      <ul>
2034         <li> &lt;<a href=""></a>&gt;: "No-Transform"
2035         </li>
2036      </ul>
2037      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
2038      <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.B">B</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>
2039      </p>
2040      <div class="print2col">
2041         <ul class="ind">
2042            <li><a id="rfc.index.1" href="#rfc.index.1"><b>1</b></a><ul>
2043                  <li>110 Response is Stale (warn code)&nbsp;&nbsp;<a href="#rfc.iref.52"><b>7.5.1</b></a>, <a href="#rfc.xref.warn.110.1">9.2</a></li>
2044                  <li>111 Revalidation Failed (warn code)&nbsp;&nbsp;<a href="#rfc.iref.52"><b>7.5.2</b></a>, <a href="#rfc.xref.warn.111.1">9.2</a></li>
2045                  <li>112 Disconnected Operation (warn code)&nbsp;&nbsp;<a href="#rfc.iref.52"><b>7.5.3</b></a>, <a href="#rfc.xref.warn.112.1">9.2</a></li>
2046                  <li>113 Heuristic Expiration (warn code)&nbsp;&nbsp;<a href="#rfc.iref.52"><b>7.5.4</b></a>, <a href="#rfc.xref.warn.113.1">9.2</a></li>
2047                  <li>199 Miscellaneous Warning (warn code)&nbsp;&nbsp;<a href="#rfc.iref.52"><b>7.5.5</b></a>, <a href="#rfc.xref.warn.199.1">9.2</a></li>
2048               </ul>
2049            </li>
2050            <li><a id="rfc.index.2" href="#rfc.index.2"><b>2</b></a><ul>
2051                  <li>214 Transformation Applied (warn code)&nbsp;&nbsp;<a href="#rfc.iref.52"><b>7.5.6</b></a>, <a href="#rfc.xref.warn.214.1">9.2</a></li>
2052                  <li>299 Miscellaneous Persistent Warning (warn code)&nbsp;&nbsp;<a href="#rfc.iref.52"><b>7.5.7</b></a>, <a href="#rfc.xref.warn.299.1">9.2</a></li>
2053               </ul>
2054            </li>
2055            <li><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul>
2056                  <li>age&nbsp;&nbsp;<a href="#rfc.iref.a.1">1.2</a></li>
2057                  <li>Age header field&nbsp;&nbsp;<a href="#rfc.xref.header.age.1">4</a>, <a href="#rfc.xref.header.age.2">4.1.3</a>, <a href="#rfc.iref.a.2"><b>7.1</b></a>, <a href="#rfc.xref.header.age.3">9.3</a></li>
2058               </ul>
2059            </li>
2060            <li><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul>
2061                  <li><em>BCP90</em>&nbsp;&nbsp;<a href="#rfc.xref.BCP90.1">9.3</a>, <a href="#BCP90"><b>12.2</b></a></li>
2062               </ul>
2063            </li>
2064            <li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul>
2065                  <li>cache&nbsp;&nbsp;<a href="#rfc.iref.c.1">1.1</a>, <a href="#rfc.iref.c.2">1.2</a></li>
2066                  <li>cache entry&nbsp;&nbsp;<a href="#rfc.iref.c.4">2</a></li>
2067                  <li>cache key&nbsp;&nbsp;<a href="#rfc.iref.c.5">2</a></li>
2068                  <li>Cache-Control header field&nbsp;&nbsp;<a href="#rfc.xref.header.cache-control.1">3</a>, <a href="#rfc.iref.c.6"><b>7.2</b></a>, <a href="#rfc.xref.header.cache-control.2">9.3</a>, <a href="#rfc.xref.header.cache-control.3">A</a>, <a href="#rfc.xref.header.cache-control.4">A</a></li>
2069                  <li>cacheable&nbsp;&nbsp;<a href="#rfc.iref.c.3">1.2</a></li>
2070               </ul>
2071            </li>
2072            <li><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul>
2073                  <li>Expires header field&nbsp;&nbsp;<a href="#rfc.xref.header.expires.1">3</a>, <a href="#rfc.xref.header.expires.2">4.1</a>, <a href="#rfc.xref.header.expires.3">4.1.1</a>, <a href="#rfc.iref.e.2"><b>7.3</b></a>, <a href="#rfc.xref.header.expires.4">9.3</a>, <a href="#rfc.xref.header.expires.5">A</a></li>
2074                  <li>explicit expiration time&nbsp;&nbsp;<a href="#rfc.iref.e.1">1.2</a></li>
2075               </ul>
2076            </li>
2077            <li><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul>
2078                  <li>first-hand&nbsp;&nbsp;<a href="#rfc.iref.f.1">1.2</a></li>
2079                  <li>fresh&nbsp;&nbsp;<a href="#rfc.iref.f.3">1.2</a></li>
2080                  <li>freshness lifetime&nbsp;&nbsp;<a href="#rfc.iref.f.2">1.2</a></li>
2081               </ul>
2082            </li>
2083            <li><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul>
2084                  <li><tt>Grammar</tt>&nbsp;&nbsp;
2085                     <ul>
2086                        <li><tt>Age</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.2"><b>7.1</b></a></li>
2087                        <li><tt>Cache-Control</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.3"><b>7.2</b></a></li>
2088                        <li><tt>cache-directive</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.4"><b>7.2</b></a></li>
2089                        <li><tt>delta-seconds</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.1"><b>1.4.1</b></a></li>
2090                        <li><tt>Expires</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.5"><b>7.3</b></a></li>
2091                        <li><tt>extension-pragma</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.8"><b>7.4</b></a></li>
2092                        <li><tt>Pragma</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.6"><b>7.4</b></a></li>
2093                        <li><tt>pragma-directive</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.7"><b>7.4</b></a></li>
2094                        <li><tt>warn-agent</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.12"><b>7.5</b></a></li>
2095                        <li><tt>warn-code</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.11"><b>7.5</b></a></li>
2096                        <li><tt>warn-date</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.14"><b>7.5</b></a></li>
2097                        <li><tt>warn-text</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.13"><b>7.5</b></a></li>
2098                        <li><tt>Warning</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.9"><b>7.5</b></a></li>
2099                        <li><tt>warning-value</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.10"><b>7.5</b></a></li>
2100                     </ul>
2101                  </li>
2102               </ul>
2103            </li>
2104            <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul>
2105                  <li>heuristic expiration time&nbsp;&nbsp;<a href="#rfc.iref.h.1">1.2</a></li>
2106               </ul>
2107            </li>
2108            <li><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul>
2109                  <li>max-age (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.m.1"><b></b></a>, <a href="#rfc.iref.m.5"><b></b></a></li>
2110                  <li>max-stale (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.m.2"><b></b></a></li>
2111                  <li>min-fresh (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.m.3"><b></b></a></li>
2112                  <li>must-revalidate (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.m.4"><b></b></a></li>
2113               </ul>
2114            </li>
2115            <li><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul>
2116                  <li>no-cache (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.n.1"><b></b></a>, <a href="#rfc.iref.n.4"><b></b></a></li>
2117                  <li>no-store (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.n.2"><b></b></a>, <a href="#rfc.iref.n.5"><b></b></a></li>
2118                  <li>no-transform (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.n.3"><b></b></a>, <a href="#rfc.iref.n.6"><b></b></a></li>
2119               </ul>
2120            </li>
2121            <li><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul>
2122                  <li>only-if-cached (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.o.1"><b></b></a></li>
2123               </ul>
2124            </li>
2125            <li><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul>
2126                  <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">3.1</a>, <a href="#rfc.xref.Part1.4">4</a>, <a href="#rfc.xref.Part1.5">4.3</a>, <a href="#rfc.xref.Part1.6">6</a>, <a href="#rfc.xref.Part1.7">6</a>, <a href="#rfc.xref.Part1.8">6</a>, <a href="#rfc.xref.Part1.9"></a>, <a href="#rfc.xref.Part1.10"></a>, <a href="#rfc.xref.Part1.11">10</a>, <a href="#rfc.xref.Part1.12">11</a>, <a href="#Part1"><b>12.1</b></a>, <a href="#rfc.xref.Part1.13">B</a>, <a href="#rfc.xref.Part1.14">B</a>, <a href="#rfc.xref.Part1.15">B</a>, <a href="#rfc.xref.Part1.16">B</a>, <a href="#rfc.xref.Part1.17">B</a>, <a href="#rfc.xref.Part1.18">B</a>, <a href="#rfc.xref.Part1.19">B</a>, <a href="#rfc.xref.Part1.20">B</a><ul>
2127                        <li><em>Section 1.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.2">1.4</a></li>
2128                        <li><em>Section 2.5</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.1">1.3</a></li>
2129                        <li><em>Section 2.7</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.18">B</a>, <a href="#rfc.xref.Part1.20">B</a></li>
2130                        <li><em>Section 3.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.5">4.3</a>, <a href="#rfc.xref.Part1.15">B</a></li>
2131                        <li><em>Section 3.2.3</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.14">B</a></li>
2132                        <li><em>Section 3.2.6</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.16">B</a>, <a href="#rfc.xref.Part1.17">B</a></li>
2133                        <li><em>Section 5.5</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.4">4</a>, <a href="#rfc.xref.Part1.6">6</a>, <a href="#rfc.xref.Part1.7">6</a>, <a href="#rfc.xref.Part1.8">6</a></li>
2134                        <li><em>Section 5.7.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.19">B</a></li>
2135                        <li><em>Section 5.7.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.9"></a>, <a href="#rfc.xref.Part1.10"></a></li>
2136                        <li><em>Section 9</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.12">11</a></li>
2137                     </ul>
2138                  </li>
2139                  <li><em>Part2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.1">2</a>, <a href="#rfc.xref.Part2.2">2</a>, <a href="#rfc.xref.Part2.3">4</a>, <a href="#rfc.xref.Part2.4">4.1.2</a>, <a href="#rfc.xref.Part2.5">4.1.3</a>, <a href="#rfc.xref.Part2.6">4.3</a>, <a href="#rfc.xref.Part2.7">6</a>, <a href="#rfc.xref.Part2.8">7.3</a>, <a href="#rfc.xref.Part2.9">10</a>, <a href="#Part2"><b>12.1</b></a>, <a href="#rfc.xref.Part2.10">B</a><ul>
2140                        <li><em>Section 4.2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.3">4</a>, <a href="#rfc.xref.Part2.7">6</a></li>
2141                        <li><em>Section 4.3.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.2">2</a></li>
2142                        <li><em>Section 6</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.4">4.1.2</a></li>
2143                        <li><em>Section</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.8">7.3</a>, <a href="#rfc.xref.Part2.10">B</a></li>
2144                        <li><em>Section</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.5">4.1.3</a></li>
2145                        <li><em>Section 7.2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.6">4.3</a></li>
2146                     </ul>
2147                  </li>
2148                  <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">4.1.2</a>, <a href="#rfc.xref.Part4.5">4.2</a>, <a href="#Part4"><b>12.1</b></a><ul>
2149                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.1">1.2</a></li>
2150                        <li><em>Section 2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.4">4.1.2</a></li>
2151                        <li><em>Section 2.2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.3">1.2</a></li>
2152                        <li><em>Section 2.3</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.2">1.2</a></li>
2153                     </ul>
2154                  </li>
2155                  <li><em>Part5</em>&nbsp;&nbsp;<a href="#rfc.xref.Part5.1">3.1</a>, <a href="#rfc.xref.Part5.2">4.4</a>, <a href="#rfc.xref.Part5.3">4.4</a>, <a href="#Part5"><b>12.1</b></a><ul>
2156                        <li><em>Section 4.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part5.3">4.4</a></li>
2157                     </ul>
2158                  </li>
2159                  <li><em>Part7</em>&nbsp;&nbsp;<a href="#rfc.xref.Part7.1">3</a>, <a href="#rfc.xref.Part7.2">3.2</a>, <a href="#Part7"><b>12.1</b></a><ul>
2160                        <li><em>Section 4.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part7.1">3</a>, <a href="#rfc.xref.Part7.2">3.2</a></li>
2161                     </ul>
2162                  </li>
2163                  <li>Pragma header field&nbsp;&nbsp;<a href="#rfc.xref.header.pragma.1">4</a>, <a href="#rfc.xref.header.pragma.2">7.2</a>, <a href="#rfc.iref.p.5"><b>7.4</b></a>, <a href="#rfc.xref.header.pragma.3">9.3</a>, <a href="#rfc.xref.header.pragma.4">A</a></li>
2164                  <li>private (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.p.3"><b></b></a></li>
2165                  <li>private cache&nbsp;&nbsp;<a href="#rfc.iref.p.1">1.2</a></li>
2166                  <li>proxy-revalidate (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.p.4"><b></b></a></li>
2167                  <li>public (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.p.2"><b></b></a></li>
2168               </ul>
2169            </li>
2170            <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul>
2171                  <li><em>RFC1305</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC1305.1">4.1.3</a>, <a href="#RFC1305"><b>12.2</b></a></li>
2172                  <li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">1.3</a>, <a href="#RFC2119"><b>12.1</b></a></li>
2173                  <li><em>RFC2616</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">4.1.2</a>, <a href="#RFC2616"><b>12.2</b></a><ul>
2174                        <li><em>Section 13.9</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">4.1.2</a></li>
2175                     </ul>
2176                  </li>
2177                  <li><em>RFC5226</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5226.1">7.2.3</a>, <a href="#rfc.xref.RFC5226.2">7.5.8</a>, <a href="#RFC5226"><b>12.2</b></a><ul>
2178                        <li><em>Section 4.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5226.1">7.2.3</a>, <a href="#rfc.xref.RFC5226.2">7.5.8</a></li>
2179                     </ul>
2180                  </li>
2181                  <li><em>RFC5234</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5234.1">1.4</a>, <a href="#RFC5234"><b>12.1</b></a>, <a href="#rfc.xref.RFC5234.2">B</a><ul>
2182                        <li><em>Appendix B.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5234.2">B</a></li>
2183                     </ul>
2184                  </li>
2185                  <li><em>RFC5861</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5861.1">9.1</a>, <a href="#rfc.xref.RFC5861.2">9.1</a>, <a href="#RFC5861"><b>12.2</b></a><ul>
2186                        <li><em>Section 3</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5861.2">9.1</a></li>
2187                        <li><em>Section 4</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5861.1">9.1</a></li>
2188                     </ul>
2189                  </li>
2190                  <li><em>RFC6265</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC6265.1">10</a>, <a href="#RFC6265"><b>12.2</b></a></li>
2191               </ul>
2192            </li>
2193            <li><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul>
2194                  <li>s-maxage (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.s.4"><b></b></a></li>
2195                  <li>shared cache&nbsp;&nbsp;<a href="#rfc.iref.s.1">1.2</a></li>
2196                  <li>stale&nbsp;&nbsp;<a href="#rfc.iref.s.2">1.2</a></li>
2197                  <li>strong validator&nbsp;&nbsp;<a href="#rfc.iref.s.3">1.2</a></li>
2198               </ul>
2199            </li>
2200            <li><a id="rfc.index.V" href="#rfc.index.V"><b>V</b></a><ul>
2201                  <li>validator&nbsp;&nbsp;<a href="#rfc.iref.v.1">1.2</a><ul>
2202                        <li>strong&nbsp;&nbsp;<a href="#rfc.iref.v.2">1.2</a></li>
2203                     </ul>
2204                  </li>
2205               </ul>
2206            </li>
2207            <li><a id="rfc.index.W" href="#rfc.index.W"><b>W</b></a><ul>
2208                  <li>Warning header field&nbsp;&nbsp;<a href="#rfc.xref.header.warning.1">4.1.4</a>, <a href="#rfc.xref.header.warning.2">4.2.1</a>, <a href="#rfc.xref.header.warning.3">4.4</a>, <a href="#rfc.xref.header.warning.4">5</a>, <a href="#rfc.iref.w.1"><b>7.5</b></a>, <a href="#rfc.xref.header.warning.5">9.3</a>, <a href="#rfc.xref.header.warning.6">A</a>, <a href="#rfc.xref.header.warning.7">A</a></li>
2209               </ul>
2210            </li>
2211         </ul>
2212      </div>
2213   </body>
Note: See TracBrowser for help on using the repository browser.