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

Last change on this file since 2626 was 2626, checked in by julian.reschke@…, 6 years ago

bump up document dates, update to latest version of rfc2629.xslt

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/html;charset=utf-8
File size: 195.7 KB
Line 
1<!DOCTYPE html
2  PUBLIC "-//W3C//DTD HTML 4.01//EN">
3<html lang="en">
4   <head profile="http://dublincore.org/documents/2008/08/04/dc-html/">
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;
8
9function init() {
10  var fb = document.createElement("div");
11  fb.className = "feedback noprint";
12  fb.setAttribute("onclick", "feedback();");
13  fb.appendChild(document.createTextNode("feedback"));
14
15  var bodyl = document.getElementsByTagName("body");
16  bodyl.item(0).appendChild(fb);
17}
18
19function feedback() {
20  toggleButtonsToElementsByName("h1");
21  toggleButtonsToElementsByName("h2");
22  toggleButtonsToElementsByName("h3");
23  toggleButtonsToElementsByName("h4");
24
25  buttonsAdded = !buttonsAdded;
26}
27
28function toggleButtonsToElementsByName(name) {
29  var list = document.getElementsByTagName(name);
30  for (var i = 0; i < list.length; i++) {
31    toggleButton(list.item(i));
32  }
33}
34
35function toggleButton(node) {
36  if (! buttonsAdded) {
37
38    // docname
39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
40
41    var id = node.getAttribute("id");
42    // better id available?
43    var titlelinks = node.getElementsByTagName("a");
44    for (var i = 0; i < titlelinks.length; i++) {
45      var tl = titlelinks.item(i);
46      if (tl.getAttribute("id")) {
47        id = tl.getAttribute("id");
48      }
49    }
50
51    // ref
52    var ref = window.location.toString();
53    var hash = ref.indexOf("#");
54    if (hash != -1) {
55      ref = ref.substring(0, hash);
56    }
57    if (id != "") {
58      ref += "#" + id;
59    }
60
61    // docname
62    var docname = "draft-ietf-httpbis-p6-cache-latest";
63
64    // section
65    var section = node.textContent;
66    section = section.replace("\u00a0", " ");
67
68    // build URI from template
69    var uri = template.replace("{docname}", encodeURIComponent(docname));
70    uri = uri.replace("{section}", encodeURIComponent(section));
71    uri = uri.replace("{ref}", encodeURIComponent(ref));
72
73    var button = document.createElement("a");
74    button.className = "fbbutton noprint";
75    button.setAttribute("href", uri);
76    button.appendChild(document.createTextNode("send feedback"));
77    node.appendChild(button);
78  }
79  else {
80    var buttons = node.getElementsByTagName("a");
81    for (var i = 0; i < buttons.length; i++) {
82      var b = buttons.item(i);
83      if (b.className == "fbbutton noprint") {
84        node.removeChild(b);
85      }
86    }
87  }
88}</script><style type="text/css" title="Xml2Rfc (sans serif)">
89a {
90  text-decoration: none;
91}
92a.smpl {
93  color: black;
94}
95a:hover {
96  text-decoration: underline;
97}
98a:active {
99  text-decoration: underline;
100}
101address {
102  margin-top: 1em;
103  margin-left: 2em;
104  font-style: normal;
105}
106body {
107  color: black;
108  font-family: cambria, helvetica, arial, sans-serif;
109  font-size: 11pt;
110  margin-right: 2em;
111}
112cite {
113  font-style: normal;
114}
115div.note {
116  margin-left: 2em;
117}
118dl {
119  margin-left: 2em;
120}
121ul.empty {
122  list-style-type: none;
123}
124ul.empty li {
125  margin-top: .5em;
126}
127dl p {
128  margin-left: 0em;
129}
130dt {
131  margin-top: .5em;
132}
133h1 {
134  font-size: 130%;
135  line-height: 21pt;
136  page-break-after: avoid;
137}
138h1.np {
139  page-break-before: always;
140}
141h2 {
142  font-size: 120%;
143  line-height: 15pt;
144  page-break-after: avoid;
145}
146h3 {
147  font-size: 110%;
148  page-break-after: avoid;
149}
150h4, h5, h6 {
151  page-break-after: avoid;
152}
153h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
154  color: black;
155}
156img {
157  margin-left: 3em;
158}
159li {
160  margin-left: 2em;
161}
162ol {
163  margin-left: 2em;
164}
165ol.la {
166  list-style-type: lower-alpha;
167}
168ol.ua {
169  list-style-type: upper-alpha;
170}
171ol p {
172  margin-left: 0em;
173}
174p {
175  margin-left: 2em;
176}
177pre {
178  margin-left: 3em;
179  background-color: lightyellow;
180  padding: .25em;
181  page-break-inside: avoid;
182}
183pre.text2 {
184  border-style: dotted;
185  border-width: 1px;
186  background-color: #f0f0f0;
187  width: 69em;
188}
189pre.inline {
190  background-color: white;
191  padding: 0em;
192}
193pre.text {
194  border-style: dotted;
195  border-width: 1px;
196  background-color: #f8f8f8;
197  width: 69em;
198}
199pre.drawing {
200  border-style: solid;
201  border-width: 1px;
202  background-color: #f8f8f8;
203  padding: 2em;
204}
205sup {
206  font-size: 60%;
207}
208table {
209  margin-left: 2em;
210}
211table.tt {
212  vertical-align: top;
213  border-color: gray;
214}
215table.tt th {
216  border-color: gray;
217}
218table.tt td {
219  border-color: gray;
220}
221table.all {
222  border-style: solid;
223  border-width: 2px;
224}
225table.full {
226  border-style: solid;
227  border-width: 2px;
228}
229table.tt td {
230  vertical-align: top;
231}
232table.all td {
233  border-style: solid;
234  border-width: 1px;
235}
236table.full td {
237  border-style: none solid;
238  border-width: 1px;
239}
240table.tt th {
241  vertical-align: top;
242}
243table.all th {
244  border-style: solid;
245  border-width: 1px;
246}
247table.full th {
248  border-style: solid;
249  border-width: 1px 1px 2px 1px;
250}
251table.headers th {
252  border-style: none none solid none;
253  border-width: 2px;
254}
255table.left {
256  margin-right: auto;
257}
258table.right {
259  margin-left: auto;
260}
261table.center {
262  margin-left: auto;
263  margin-right: auto;
264}
265caption {
266  caption-side: bottom;
267  font-weight: bold;
268  font-size: 10pt;
269  margin-top: .5em;
270}
271
272table.header {
273  border-spacing: 1px;
274  width: 95%;
275  font-size: 11pt;
276  color: white;
277}
278td.top {
279  vertical-align: top;
280}
281td.topnowrap {
282  vertical-align: top;
283  white-space: nowrap;
284}
285table.header td {
286  background-color: gray;
287  width: 50%;
288}
289table.header a {
290  color: white;
291}
292td.reference {
293  vertical-align: top;
294  white-space: nowrap;
295  padding-right: 1em;
296}
297thead {
298  display:table-header-group;
299}
300ul.toc, ul.toc ul {
301  list-style: none;
302  margin-left: 1.5em;
303  padding-left: 0em;
304}
305ul.toc li {
306  line-height: 150%;
307  font-weight: bold;
308  margin-left: 0em;
309}
310ul.toc li li {
311  line-height: normal;
312  font-weight: normal;
313  font-size: 10pt;
314  margin-left: 0em;
315}
316li.excluded {
317  font-size: 0pt;
318}
319ul p {
320  margin-left: 0em;
321}
322.title, .filename, h1, h2, h3, h4 {
323  font-family: candara, helvetica, arial, sans-serif;
324}
325samp, tt, code, pre {
326  font: consolas, monospace;
327}
328ul.ind, ul.ind ul {
329  list-style: none;
330  margin-left: 1.5em;
331  padding-left: 0em;
332  page-break-before: avoid;
333}
334ul.ind li {
335  font-weight: bold;
336  line-height: 200%;
337  margin-left: 0em;
338}
339ul.ind li li {
340  font-weight: normal;
341  line-height: 150%;
342  margin-left: 0em;
343}
344.avoidbreak {
345  page-break-inside: avoid;
346}
347.bcp14 {
348  font-style: normal;
349  text-transform: lowercase;
350  font-variant: small-caps;
351}
352.comment {
353  background-color: yellow;
354}
355.center {
356  text-align: center;
357}
358.error {
359  color: red;
360  font-style: italic;
361  font-weight: bold;
362}
363.figure {
364  font-weight: bold;
365  text-align: center;
366  font-size: 10pt;
367}
368.filename {
369  color: #333333;
370  font-size: 75%;
371  font-weight: bold;
372  line-height: 21pt;
373  text-align: center;
374}
375.fn {
376  font-weight: bold;
377}
378.left {
379  text-align: left;
380}
381.right {
382  text-align: right;
383}
384.title {
385  color: green;
386  font-size: 150%;
387  line-height: 18pt;
388  font-weight: bold;
389  text-align: center;
390  margin-top: 36pt;
391}
392.warning {
393  font-size: 130%;
394  background-color: yellow;
395}
396.feedback {
397  position: fixed;
398  bottom: 1%;
399  right: 1%;
400  padding: 3px 5px;
401  color: white;
402  border-radius: 5px;
403  background: #a00000;
404  border: 1px solid silver;
405}
406.fbbutton {
407  margin-left: 1em;
408  color: #303030;
409  font-size: small;
410  font-weight: normal;
411  background: #d0d000;
412  padding: 1px 4px;
413  border: 1px solid silver;
414  border-radius: 5px;
415}
416
417@media print {
418  .noprint {
419    display: none;
420  }
421
422  a {
423    color: black;
424    text-decoration: none;
425  }
426
427  table.header {
428    width: 90%;
429  }
430
431  td.header {
432    width: 50%;
433    color: black;
434    background-color: white;
435    vertical-align: top;
436    font-size: 110%;
437  }
438
439  ul.toc a:nth-child(2)::after {
440    content: leader('.') target-counter(attr(href), page);
441  }
442
443  ul.ind li li a {
444    content: target-counter(attr(href), page);
445  }
446
447  .print2col {
448    column-count: 2;
449    -moz-column-count: 2;
450    column-fill: auto;
451  }
452}
453
454@page {
455  @top-left {
456       content: "Internet-Draft";
457  }
458  @top-right {
459       content: "March 2014";
460  }
461  @top-center {
462       content: "HTTP/1.1 Caching";
463  }
464  @bottom-left {
465       content: "Fielding, et al.";
466  }
467  @bottom-center {
468       content: "Expires September 7, 2014";
469  }
470  @bottom-right {
471       content: "[Page " counter(page) "]";
472  }
473}
474
475@page:first {
476    @top-left {
477      content: normal;
478    }
479    @top-right {
480      content: normal;
481    }
482    @top-center {
483      content: normal;
484    }
485}
486</style><link rel="Contents" href="#rfc.toc">
487      <link rel="Author" href="#rfc.authors">
488      <link rel="Copyright" href="#rfc.copyrightnotice">
489      <link rel="Index" href="#rfc.index">
490      <link rel="Chapter" title="1 Introduction" href="#rfc.section.1">
491      <link rel="Chapter" title="2 Overview of Cache Operation" href="#rfc.section.2">
492      <link rel="Chapter" title="3 Storing Responses in Caches" href="#rfc.section.3">
493      <link rel="Chapter" title="4 Constructing Responses from Caches" href="#rfc.section.4">
494      <link rel="Chapter" title="5 Header Field Definitions" href="#rfc.section.5">
495      <link rel="Chapter" title="6 History Lists" href="#rfc.section.6">
496      <link rel="Chapter" title="7 IANA Considerations" href="#rfc.section.7">
497      <link rel="Chapter" title="8 Security Considerations" href="#rfc.section.8">
498      <link rel="Chapter" title="9 Acknowledgments" href="#rfc.section.9">
499      <link rel="Chapter" href="#rfc.section.10" title="10 References">
500      <link rel="Appendix" title="A Changes from RFC 2616" href="#rfc.section.A">
501      <link rel="Appendix" title="B Imported ABNF" href="#rfc.section.B">
502      <link rel="Appendix" title="C Collected ABNF" href="#rfc.section.C">
503      <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D">
504      <link href="p5-range.html" rel="prev">
505      <link href="p7-auth.html" rel="next">
506      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.620, 2014/02/15 10:52:53, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
507      <link rel="schema.dct" href="http://purl.org/dc/terms/">
508      <meta name="dct.creator" content="Fielding, R.">
509      <meta name="dct.creator" content="Nottingham, M.">
510      <meta name="dct.creator" content="Reschke, J. F.">
511      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p6-cache-latest">
512      <meta name="dct.issued" scheme="ISO8601" content="2014-03-06">
513      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
514      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document defines HTTP caches and the associated header fields that control cache behavior or indicate cacheable response messages.">
515      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document defines HTTP caches and the associated header fields that control cache behavior or indicate cacheable response messages.">
516   </head>
517   <body onload="init();">
518      <table class="header">
519         <tbody>
520            <tr>
521               <td class="left">HTTPbis Working Group</td>
522               <td class="right">R. Fielding, Editor</td>
523            </tr>
524            <tr>
525               <td class="left">Internet-Draft</td>
526               <td class="right">Adobe</td>
527            </tr>
528            <tr>
529               <td class="left">Obsoletes: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
530               </td>
531               <td class="right">M. Nottingham, Editor</td>
532            </tr>
533            <tr>
534               <td class="left">Intended status: Standards Track</td>
535               <td class="right">Akamai</td>
536            </tr>
537            <tr>
538               <td class="left">Expires: September 7, 2014</td>
539               <td class="right">J. Reschke, Editor</td>
540            </tr>
541            <tr>
542               <td class="left"></td>
543               <td class="right">greenbytes</td>
544            </tr>
545            <tr>
546               <td class="left"></td>
547               <td class="right">March 6, 2014</td>
548            </tr>
549         </tbody>
550      </table>
551      <p class="title">Hypertext Transfer Protocol (HTTP/1.1): Caching<br><span class="filename">draft-ietf-httpbis-p6-cache-latest</span></p>
552      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1>
553      <p>The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext
554         information systems. This document defines HTTP caches and the associated header fields that control cache behavior or indicate
555         cacheable response messages.
556      </p>
557      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1>
558      <p>Discussion of this draft takes place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org), which is archived at &lt;<a href="http://lists.w3.org/Archives/Public/ietf-http-wg/">http://lists.w3.org/Archives/Public/ietf-http-wg/</a>&gt;.
559      </p>
560      <p>The current issues list is at &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/report/3">http://tools.ietf.org/wg/httpbis/trac/report/3</a>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://tools.ietf.org/wg/httpbis/">http://tools.ietf.org/wg/httpbis/</a>&gt;.
561      </p>
562      <p>The changes in this draft are summarized in <a href="#changes.since.26" title="Since draft-ietf-httpbis-p6-cache-26">Appendix&nbsp;D.3</a>.
563      </p>
564      <div id="rfc.status">
565         <h1><a href="#rfc.status">Status of This Memo</a></h1>
566         <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
567         <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
568            working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>.
569         </p>
570         <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
571            documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
572            in progress”.
573         </p>
574         <p>This Internet-Draft will expire on September 7, 2014.</p>
575      </div>
576      <div id="rfc.copyrightnotice">
577         <h1><a href="#rfc.copyrightnotice">Copyright Notice</a></h1>
578         <p>Copyright © 2014 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
579         <p>This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights
580            and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
581            text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
582            BSD License.
583         </p>
584         <p>This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November
585            10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to
586            allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s)
587            controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative
588            works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate
589            it into languages other than English.
590         </p>
591      </div>
592      <hr class="noprint">
593      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
594      <ul class="toc">
595         <li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#caching">Introduction</a><ul>
596               <li><a href="#rfc.section.1.1">1.1</a>&nbsp;&nbsp;&nbsp;<a href="#conformance">Conformance and Error Handling</a></li>
597               <li><a href="#rfc.section.1.2">1.2</a>&nbsp;&nbsp;&nbsp;<a href="#notation">Syntax Notation</a><ul>
598                     <li><a href="#rfc.section.1.2.1">1.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#delta-seconds">Delta Seconds</a></li>
599                  </ul>
600               </li>
601            </ul>
602         </li>
603         <li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#caching.overview">Overview of Cache Operation</a></li>
604         <li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#response.cacheability">Storing Responses in Caches</a><ul>
605               <li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#incomplete.responses">Storing Incomplete Responses</a></li>
606               <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>
607               <li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#combining.responses">Combining Partial Content</a></li>
608            </ul>
609         </li>
610         <li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#constructing.responses.from.caches">Constructing Responses from Caches</a><ul>
611               <li><a href="#rfc.section.4.1">4.1</a>&nbsp;&nbsp;&nbsp;<a href="#caching.negotiated.responses">Calculating Secondary Keys with Vary</a></li>
612               <li><a href="#rfc.section.4.2">4.2</a>&nbsp;&nbsp;&nbsp;<a href="#expiration.model">Freshness</a><ul>
613                     <li><a href="#rfc.section.4.2.1">4.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#calculating.freshness.lifetime">Calculating Freshness Lifetime</a></li>
614                     <li><a href="#rfc.section.4.2.2">4.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#heuristic.freshness">Calculating Heuristic Freshness</a></li>
615                     <li><a href="#rfc.section.4.2.3">4.2.3</a>&nbsp;&nbsp;&nbsp;<a href="#age.calculations">Calculating Age</a></li>
616                     <li><a href="#rfc.section.4.2.4">4.2.4</a>&nbsp;&nbsp;&nbsp;<a href="#serving.stale.responses">Serving Stale Responses</a></li>
617                  </ul>
618               </li>
619               <li><a href="#rfc.section.4.3">4.3</a>&nbsp;&nbsp;&nbsp;<a href="#validation.model">Validation</a><ul>
620                     <li><a href="#rfc.section.4.3.1">4.3.1</a>&nbsp;&nbsp;&nbsp;<a href="#validation.sent">Sending a Validation Request</a></li>
621                     <li><a href="#rfc.section.4.3.2">4.3.2</a>&nbsp;&nbsp;&nbsp;<a href="#validation.received">Handling a Received Validation Request</a></li>
622                     <li><a href="#rfc.section.4.3.3">4.3.3</a>&nbsp;&nbsp;&nbsp;<a href="#validation.response">Handling a Validation Response</a></li>
623                     <li><a href="#rfc.section.4.3.4">4.3.4</a>&nbsp;&nbsp;&nbsp;<a href="#freshening.responses">Freshening Stored Responses upon Validation</a></li>
624                     <li><a href="#rfc.section.4.3.5">4.3.5</a>&nbsp;&nbsp;&nbsp;<a href="#head.effects">Freshening Responses via HEAD</a></li>
625                  </ul>
626               </li>
627               <li><a href="#rfc.section.4.4">4.4</a>&nbsp;&nbsp;&nbsp;<a href="#invalidation">Invalidation</a></li>
628            </ul>
629         </li>
630         <li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.definitions">Header Field Definitions</a><ul>
631               <li><a href="#rfc.section.5.1">5.1</a>&nbsp;&nbsp;&nbsp;<a href="#header.age">Age</a></li>
632               <li><a href="#rfc.section.5.2">5.2</a>&nbsp;&nbsp;&nbsp;<a href="#header.cache-control">Cache-Control</a><ul>
633                     <li><a href="#rfc.section.5.2.1">5.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive">Request Cache-Control Directives</a><ul>
634                           <li><a href="#rfc.section.5.2.1.1">5.2.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.max-age">max-age</a></li>
635                           <li><a href="#rfc.section.5.2.1.2">5.2.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.max-stale">max-stale</a></li>
636                           <li><a href="#rfc.section.5.2.1.3">5.2.1.3</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.min-fresh">min-fresh</a></li>
637                           <li><a href="#rfc.section.5.2.1.4">5.2.1.4</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.no-cache">no-cache</a></li>
638                           <li><a href="#rfc.section.5.2.1.5">5.2.1.5</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.no-store">no-store</a></li>
639                           <li><a href="#rfc.section.5.2.1.6">5.2.1.6</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.no-transform">no-transform</a></li>
640                           <li><a href="#rfc.section.5.2.1.7">5.2.1.7</a>&nbsp;&nbsp;&nbsp;<a href="#cache-request-directive.only-if-cached">only-if-cached</a></li>
641                        </ul>
642                     </li>
643                     <li><a href="#rfc.section.5.2.2">5.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive">Response Cache-Control Directives</a><ul>
644                           <li><a href="#rfc.section.5.2.2.1">5.2.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.must-revalidate">must-revalidate</a></li>
645                           <li><a href="#rfc.section.5.2.2.2">5.2.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.no-cache">no-cache</a></li>
646                           <li><a href="#rfc.section.5.2.2.3">5.2.2.3</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.no-store">no-store</a></li>
647                           <li><a href="#rfc.section.5.2.2.4">5.2.2.4</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.no-transform">no-transform</a></li>
648                           <li><a href="#rfc.section.5.2.2.5">5.2.2.5</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.public">public</a></li>
649                           <li><a href="#rfc.section.5.2.2.6">5.2.2.6</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.private">private</a></li>
650                           <li><a href="#rfc.section.5.2.2.7">5.2.2.7</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.proxy-revalidate">proxy-revalidate</a></li>
651                           <li><a href="#rfc.section.5.2.2.8">5.2.2.8</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.max-age">max-age</a></li>
652                           <li><a href="#rfc.section.5.2.2.9">5.2.2.9</a>&nbsp;&nbsp;&nbsp;<a href="#cache-response-directive.s-maxage">s-maxage</a></li>
653                        </ul>
654                     </li>
655                     <li><a href="#rfc.section.5.2.3">5.2.3</a>&nbsp;&nbsp;&nbsp;<a href="#cache.control.extensions">Cache Control Extensions</a></li>
656                  </ul>
657               </li>
658               <li><a href="#rfc.section.5.3">5.3</a>&nbsp;&nbsp;&nbsp;<a href="#header.expires">Expires</a></li>
659               <li><a href="#rfc.section.5.4">5.4</a>&nbsp;&nbsp;&nbsp;<a href="#header.pragma">Pragma</a></li>
660               <li><a href="#rfc.section.5.5">5.5</a>&nbsp;&nbsp;&nbsp;<a href="#header.warning">Warning</a><ul>
661                     <li><a href="#rfc.section.5.5.1">5.5.1</a>&nbsp;&nbsp;&nbsp;<a href="#warn.110">Warning: 110 - "Response is Stale"</a></li>
662                     <li><a href="#rfc.section.5.5.2">5.5.2</a>&nbsp;&nbsp;&nbsp;<a href="#warn.111">Warning: 111 - "Revalidation Failed"</a></li>
663                     <li><a href="#rfc.section.5.5.3">5.5.3</a>&nbsp;&nbsp;&nbsp;<a href="#warn.112">Warning: 112 - "Disconnected Operation"</a></li>
664                     <li><a href="#rfc.section.5.5.4">5.5.4</a>&nbsp;&nbsp;&nbsp;<a href="#warn.113">Warning: 113 - "Heuristic Expiration"</a></li>
665                     <li><a href="#rfc.section.5.5.5">5.5.5</a>&nbsp;&nbsp;&nbsp;<a href="#warn.199">Warning: 199 - "Miscellaneous Warning"</a></li>
666                     <li><a href="#rfc.section.5.5.6">5.5.6</a>&nbsp;&nbsp;&nbsp;<a href="#warn.214">Warning: 214 - "Transformation Applied"</a></li>
667                     <li><a href="#rfc.section.5.5.7">5.5.7</a>&nbsp;&nbsp;&nbsp;<a href="#warn.299">Warning: 299 - "Miscellaneous Persistent Warning"</a></li>
668                  </ul>
669               </li>
670            </ul>
671         </li>
672         <li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#history.lists">History Lists</a></li>
673         <li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#iana.considerations">IANA Considerations</a><ul>
674               <li><a href="#rfc.section.7.1">7.1</a>&nbsp;&nbsp;&nbsp;<a href="#cache.directive.registry">Cache Directive Registry</a><ul>
675                     <li><a href="#rfc.section.7.1.1">7.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#cache.directive.registry.procedure">Procedure</a></li>
676                     <li><a href="#rfc.section.7.1.2">7.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#cache.directive.considerations">Considerations for New Cache Control Directives</a></li>
677                     <li><a href="#rfc.section.7.1.3">7.1.3</a>&nbsp;&nbsp;&nbsp;<a href="#cache.directive.registration">Registrations</a></li>
678                  </ul>
679               </li>
680               <li><a href="#rfc.section.7.2">7.2</a>&nbsp;&nbsp;&nbsp;<a href="#warn.code.registry">Warn Code Registry</a><ul>
681                     <li><a href="#rfc.section.7.2.1">7.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#warn.code.registry.procedure">Procedure</a></li>
682                     <li><a href="#rfc.section.7.2.2">7.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#warn.code.registration">Registrations</a></li>
683                  </ul>
684               </li>
685               <li><a href="#rfc.section.7.3">7.3</a>&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
686            </ul>
687         </li>
688         <li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
689         <li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#acks">Acknowledgments</a></li>
690         <li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul>
691               <li><a href="#rfc.section.10.1">10.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
692               <li><a href="#rfc.section.10.2">10.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
693            </ul>
694         </li>
695         <li><a href="#rfc.authors">Authors' Addresses</a></li>
696         <li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc.2616">Changes from RFC 2616</a></li>
697         <li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#imported.abnf">Imported ABNF</a></li>
698         <li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#collected.abnf">Collected ABNF</a></li>
699         <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>
700               <li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.24">Since draft-ietf-httpbis-p6-cache-24</a></li>
701               <li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.25">Since draft-ietf-httpbis-p6-cache-25</a></li>
702               <li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#changes.since.26">Since draft-ietf-httpbis-p6-cache-26</a></li>
703            </ul>
704         </li>
705         <li><a href="#rfc.index">Index</a></li>
706      </ul>
707      <div id="caching">
708         <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#caching">Introduction</a></h1>
709         <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.
710            This document defines aspects of HTTP/1.1 related to caching and reusing response messages.
711         </p>
712         <div id="rfc.iref.c.1"></div>
713         <p id="rfc.section.1.p.2">An HTTP <dfn>cache</dfn> is a local store of response messages and the subsystem that controls storage, retrieval, and deletion of messages in it.
714            A cache stores cacheable responses in order to reduce the response time and network bandwidth consumption on future, equivalent
715            requests. 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.
716         </p>
717         <div id="rfc.iref.s.1"></div>
718         <div id="rfc.iref.p.1"></div>
719         <div id="shared.and.private.caches">
720            <p id="rfc.section.1.p.3">A <dfn>shared cache</dfn> is a cache that stores responses to be reused by more than one user; shared caches are usually (but not always) deployed as
721               a part of an intermediary. A <dfn>private cache</dfn>, in contrast, is dedicated to a single user; often, they are deployed as a component of a user agent.
722            </p>
723         </div>
724         <p id="rfc.section.1.p.4">The goal of caching in HTTP/1.1 is to significantly improve performance by reusing a prior response message to satisfy a current
725            request. A stored response is considered "fresh", as defined in <a href="#expiration.model" title="Freshness">Section&nbsp;4.2</a>, if the response can be reused without "validation" (checking with the origin server to see if the cached response remains
726            valid for this request). A fresh response can therefore reduce both latency and network overhead each time it is reused. When
727            a cached response is not fresh, it might still be reusable if it can be freshened by validation (<a href="#validation.model" title="Validation">Section&nbsp;4.3</a>) or if the origin is unavailable (<a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.2.4</a>).
728         </p>
729         <div id="conformance">
730            <h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;<a href="#conformance">Conformance and Error Handling</a></h2>
731            <p id="rfc.section.1.1.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
732               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>.
733            </p>
734            <p id="rfc.section.1.1.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>.
735            </p>
736         </div>
737         <div id="notation">
738            <h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;<a href="#notation">Syntax Notation</a></h2>
739            <p id="rfc.section.1.2.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 a list extension, defined in <a href="p1-messaging.html#abnf.extension" title="ABNF list extension: #rule">Section 7</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>, that allows for compact definition of comma-separated lists using a '#' operator (similar to how the '*' operator indicates
740               repetition). <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 grammar with all list operators expanded to standard ABNF notation.
741            </p>
742            <div id="delta-seconds">
743               <h3 id="rfc.section.1.2.1"><a href="#rfc.section.1.2.1">1.2.1</a>&nbsp;<a href="#delta-seconds">Delta Seconds</a></h3>
744               <p id="rfc.section.1.2.1.p.1">The delta-seconds rule specifies a non-negative integer, representing time in seconds.</p>
745               <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>
746</pre><p id="rfc.section.1.2.1.p.3">A recipient parsing a delta-seconds value and converting it to binary form ought to use an arithmetic type of at least 31
747                  bits of non-negative integer range. If a cache receives a delta-seconds value greater than the greatest integer it can represent,
748                  or if any of its subsequent calculations overflows, the cache <em class="bcp14">MUST</em> consider the value to be either 2147483648 (2<sup>31</sup>) or the greatest positive integer it can conveniently represent.
749               </p>
750               <div class="note" id="rfc.section.1.2.1.p.4">
751                  <p><b>Note:</b> The value 2147483648 is here for historical reasons, effectively represents infinity (over 68 years), and does not need to
752                     be stored in binary form; an implementation could produce it as a canned string if any overflow occurs, even if the calculations
753                     are performed with an arithmetic type incapable of directly representing that number. What matters here is that an overflow
754                     be detected and not treated as a negative value in later calculations.
755                  </p>
756               </div>
757            </div>
758         </div>
759      </div>
760      <div id="caching.overview">
761         <div id="rfc.iref.c.2"></div>
762         <div id="rfc.iref.c.3"></div>
763         <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a href="#caching.overview">Overview of Cache Operation</a></h1>
764         <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, it can be assumed that reusing a cached response is desirable and that such reuse is the default behavior
765            when no requirement or local configuration prevents it. Therefore, HTTP cache requirements are focused on preventing a cache
766            from either storing a non-reusable response or reusing a stored response inappropriately, rather than mandating that caches
767            always store and reuse particular responses.
768         </p>
769         <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
770            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 permanent redirects, 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
771            use as a cache key.
772         </p>
773         <div id="rfc.iref.c.4"></div>
774         <p id="rfc.section.2.p.3">The primary <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
775            responses to GET, many caches simply decline other methods and use only the URI as the primary cache key.
776         </p>
777         <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
778            by a secondary key for the values of the original request's selecting header fields (<a href="#caching.negotiated.responses" title="Calculating Secondary Keys with Vary">Section&nbsp;4.1</a>).
779         </p>
780      </div>
781      <div id="response.cacheability">
782         <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a href="#response.cacheability">Storing Responses in Caches</a></h1>
783         <p id="rfc.section.3.p.1">A cache <em class="bcp14">MUST NOT</em> store a response to any request, unless:
784         </p>
785         <ul>
786            <li>The request method is understood by the cache and defined as being cacheable, and</li>
787            <li>the response status code is understood by the cache, and</li>
788            <li>the "no-store" cache directive (see <a href="#header.cache-control" id="rfc.xref.header.cache-control.1" title="Cache-Control">Section&nbsp;5.2</a>) does not appear in request or response header fields, and
789            </li>
790            <li>the "private" response directive (see <a href="#cache-response-directive.private" title="private">Section&nbsp;5.2.2.6</a>) does not appear in the response, if the cache is shared, and
791            </li>
792            <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.2</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
793            </li>
794            <li>the response either:
795               <ul>
796                  <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;5.3</a>), or
797                  </li>
798                  <li>contains a max-age response directive (see <a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;5.2.2.8</a>), or
799                  </li>
800                  <li>contains a s-maxage response directive (see <a href="#cache-response-directive.s-maxage" title="s-maxage">Section&nbsp;5.2.2.9</a>) and the cache is shared, or
801                  </li>
802                  <li>contains a Cache Control Extension (see <a href="#cache.control.extensions" title="Cache Control Extensions">Section&nbsp;5.2.3</a>) that allows it to be cached, or
803                  </li>
804                  <li>has a status code that is defined as cacheable by default (see <a href="#heuristic.freshness" title="Calculating Heuristic Freshness">Section&nbsp;4.2.2</a>), or
805                  </li>
806                  <li>contains a public response directive (see <a href="#cache-response-directive.public" title="public">Section&nbsp;5.2.2.5</a>).
807                  </li>
808               </ul>
809            </li>
810         </ul>
811         <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;5.2.3</a>.
812         </p>
813         <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 all
814            specified caching-related behavior.
815         </p>
816         <p id="rfc.section.3.p.4">Note that, in normal operation, some caches will not store a response that has neither a cache validator nor an explicit expiration
817            time, as such responses are not usually useful to store. However, caches are not prohibited from storing such responses.
818         </p>
819         <div id="incomplete.responses">
820            <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;<a href="#incomplete.responses">Storing Incomplete Responses</a></h2>
821            <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 method is GET, the response status code is <a href="p2-semantics.html#status.200" class="smpl">200 (OK)</a>, and the entire response header section 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
822                  (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#header.range" 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.
823            </p>
824            <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;3.3</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
825               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.
826            </p>
827         </div>
828         <div id="caching.authenticated.responses">
829            <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a href="#caching.authenticated.responses">Storing Responses to Authenticated Requests</a></h2>
830            <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.2</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.
831            </p>
832            <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;5.2.2</a>) have such an effect: must-revalidate, public, s-maxage.
833            </p>
834            <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
835               served stale (<a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.2.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
836               a subsequent request without revalidating it on the origin server.
837            </p>
838         </div>
839         <div id="combining.responses">
840            <h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;<a href="#combining.responses">Combining Partial Content</a></h2>
841            <p id="rfc.section.3.3.p.1">A response might transfer only a partial representation if the connection closed prematurely or if the request used one or
842               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
843               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.3</a> of <a href="#Part5" id="rfc.xref.Part5.3"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Range Requests">[Part5]</cite></a>.
844            </p>
845            <p id="rfc.section.3.3.p.2">When combining the new response with one or more stored responses, a cache <em class="bcp14">MUST</em>:
846            </p>
847            <ul>
848               <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.1" title="Warning">Section&nbsp;5.5</a>);
849               </li>
850               <li>retain any <a href="#header.warning" class="smpl">Warning</a> header fields in the stored response with warn-code 2xx; and,
851               </li>
852               <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.
853               </li>
854            </ul>
855         </div>
856      </div>
857      <div id="constructing.responses.from.caches">
858         <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a href="#constructing.responses.from.caches">Constructing Responses from Caches</a></h1>
859         <p id="rfc.section.4.p.1">When presented with a request, a cache <em class="bcp14">MUST NOT</em> reuse a stored response, unless:
860         </p>
861         <ul>
862            <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
863            </li>
864            <li>the request method associated with the stored response allows it to be used for the presented request, and</li>
865            <li>selecting header fields nominated by the stored response (if any) match those presented (see <a href="#caching.negotiated.responses" title="Calculating Secondary Keys with Vary">Section&nbsp;4.1</a>), and
866            </li>
867            <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;5.4</a>), nor the no-cache cache directive (<a href="#cache-request-directive" title="Request Cache-Control Directives">Section&nbsp;5.2.1</a>), unless the stored response is successfully validated (<a href="#validation.model" title="Validation">Section&nbsp;4.3</a>), and
868            </li>
869            <li>the stored response does not contain the no-cache cache directive (<a href="#cache-response-directive.no-cache" title="no-cache">Section&nbsp;5.2.2.2</a>), unless it is successfully validated (<a href="#validation.model" title="Validation">Section&nbsp;4.3</a>), and
870            </li>
871            <li>the stored response is either:
872               <ul>
873                  <li>fresh (see <a href="#expiration.model" title="Freshness">Section&nbsp;4.2</a>), or
874                  </li>
875                  <li>allowed to be served stale (see <a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.2.4</a>), or
876                  </li>
877                  <li>successfully validated (see <a href="#validation.model" title="Validation">Section&nbsp;4.3</a>).
878                  </li>
879               </ul>
880            </li>
881         </ul>
882         <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;5.2.3</a>.
883         </p>
884         <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> generate an <a href="#header.age" class="smpl">Age</a> header field (<a href="#header.age" id="rfc.xref.header.age.1" title="Age">Section&nbsp;5.1</a>), replacing any present 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.2.3</a>.
885         </p>
886         <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
887            and having received a corresponding response.
888         </p>
889         <p id="rfc.section.4.p.5">Also, note that unsafe requests might invalidate already stored responses; see <a href="#invalidation" title="Invalidation">Section&nbsp;4.4</a>.
890         </p>
891         <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="p2-semantics.html#header.date" class="smpl">Date</a> header field). It can also forward the request with "Cache-Control: max-age=0" or "Cache-Control: no-cache" to disambiguate
892            which response to use.
893         </p>
894         <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 upon every use.
895         </p>
896         <div id="caching.negotiated.responses">
897            <h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;<a href="#caching.negotiated.responses">Calculating Secondary Keys with Vary</a></h2>
898            <p id="rfc.section.4.1.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.1.4</a> of <a href="#Part2" id="rfc.xref.Part2.4"><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
899               request (i.e., that associated with the stored response), and the presented request.
900            </p>
901            <p id="rfc.section.4.1.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
902               to those in the second request by applying any of the following:
903            </p>
904            <ul>
905               <li>adding or removing whitespace, where allowed in the header field's syntax</li>
906               <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>)
907               </li>
908               <li>normalizing both header field values in a way that is known to have identical semantics, according to the header field's specification
909                  (e.g., re-ordering field values when order is not significant; case-normalization, where values are defined to be case-insensitive)
910               </li>
911            </ul>
912            <p id="rfc.section.4.1.p.3">If (after any normalization that might take place) a header field is absent from a request, it can only match another request
913               if it is also absent there.
914            </p>
915            <p id="rfc.section.4.1.p.4">A <a href="p2-semantics.html#header.vary" class="smpl">Vary</a> header field-value of "*" always fails to match.
916            </p>
917            <p id="rfc.section.4.1.p.5">The stored response with matching selecting header fields is known as the selected response.</p>
918            <p id="rfc.section.4.1.p.6">If multiple selected responses are available (potentially including responses without a Vary header field), the cache will
919               need to choose one to use. When a selecting header field has a known mechanism for doing so (e.g., qvalues on <a href="p2-semantics.html#header.accept" class="smpl">Accept</a> and similar request header fields), that mechanism <em class="bcp14">MAY</em> be used to select preferred responses; of the remainder, the most recent response (as determined by the <a href="p2-semantics.html#header.date" class="smpl">Date</a> header field) is used, as per <a href="#constructing.responses.from.caches" title="Constructing Responses from Caches">Section&nbsp;4</a>.
920            </p>
921            <p id="rfc.section.4.1.p.7">If no selected response is available, the cache cannot satisfy the presented request. Typically, it is forwarded to the origin
922               server in a (possibly conditional; see <a href="#validation.model" title="Validation">Section&nbsp;4.3</a>) request.
923            </p>
924         </div>
925         <div id="expiration.model">
926            <div id="rfc.iref.f.1"></div>
927            <div id="rfc.iref.s.2"></div>
928            <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a>&nbsp;<a href="#expiration.model">Freshness</a></h2>
929            <p id="rfc.section.4.2.p.1">A <dfn>fresh</dfn> response is one whose age has not yet exceeded its freshness lifetime. Conversely, a <dfn>stale</dfn> response is one where it has.
930            </p>
931            <div id="rfc.iref.f.2"></div>
932            <div id="rfc.iref.e.1"></div>
933            <div id="rfc.iref.h.1"></div>
934            <p id="rfc.section.4.2.p.2">A response's <dfn>freshness lifetime</dfn> is the length of time between its generation by the origin server and its expiration time. An <dfn>explicit expiration time</dfn> is the time at which the origin server intends that a stored response can no longer be used by a cache without further validation,
935               whereas a <dfn>heuristic expiration time</dfn> is assigned by a cache when no explicit expiration time is available.
936            </p>
937            <div id="rfc.iref.a.1"></div>
938            <p id="rfc.section.4.2.p.3">A response's <dfn>age</dfn> is the time that has passed since it was generated by, or successfully validated with, the origin server.
939            </p>
940            <p id="rfc.section.4.2.p.4">When a response is "fresh" in the cache, it can be used to satisfy subsequent requests without contacting the origin server,
941               thereby improving efficiency.
942            </p>
943            <p id="rfc.section.4.2.p.5">The primary mechanism for determining freshness is for an origin server to provide an explicit expiration time in the future,
944               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;5.3</a>) or the max-age response directive (<a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;5.2.2.8</a>). Generally, origin servers will assign future explicit expiration times to responses in the belief that the representation
945               is not likely to change in a semantically significant way before the expiration time is reached.
946            </p>
947            <p id="rfc.section.4.2.p.6">If an origin server wishes to force a cache to validate every request, it can assign an explicit expiration time in the past
948               to indicate that the response is already stale. Compliant caches will normally validate a stale cached response before reusing
949               it for subsequent requests (see <a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.2.4</a>).
950            </p>
951            <p id="rfc.section.4.2.p.7">Since origin servers do not always provide explicit expiration times, caches are also allowed to use a heuristic to determine
952               an expiration time under certain circumstances (see <a href="#heuristic.freshness" title="Calculating Heuristic Freshness">Section&nbsp;4.2.2</a>).
953            </p>
954            <div id="rfc.figure.u.2"></div>
955            <p>The calculation to determine if a response is fresh is:</p><pre class="text">   response_is_fresh = (freshness_lifetime &gt; current_age)
956</pre><p id="rfc.section.4.2.p.9">freshness_lifetime is defined in <a href="#calculating.freshness.lifetime" title="Calculating Freshness Lifetime">Section&nbsp;4.2.1</a>; current_age is defined in <a href="#age.calculations" title="Calculating Age">Section&nbsp;4.2.3</a>.
957            </p>
958            <p id="rfc.section.4.2.p.10">Clients can send the max-age or min-fresh cache directives in a request to constrain or relax freshness calculations for the
959               corresponding response (<a href="#cache-request-directive" title="Request Cache-Control Directives">Section&nbsp;5.2.1</a>).
960            </p>
961            <p id="rfc.section.4.2.p.11">When calculating freshness, to avoid common problems in date parsing:</p>
962            <p id="rfc.section.4.2.p.12"></p>
963            <ul>
964               <li>Although all date formats are specified to be case-sensitive, a cache recipient <em class="bcp14">SHOULD</em> match day, week, and timezone names case-insensitively.
965               </li>
966               <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.
967               </li>
968               <li>A cache recipient <em class="bcp14">MUST NOT</em> allow local time zones to influence the calculation or comparison of an age or expiration time.
969               </li>
970               <li>A cache recipient <em class="bcp14">SHOULD</em> consider a date with a zone abbreviation other than GMT or UTC to be invalid for calculating expiration.
971               </li>
972            </ul>
973            <p id="rfc.section.4.2.p.13">Note that freshness applies only to cache operation; it cannot be used to force a user agent to refresh its display or reload
974               a resource. See <a href="#history.lists" title="History Lists">Section&nbsp;6</a> for an explanation of the difference between caches and history mechanisms.
975            </p>
976            <div id="calculating.freshness.lifetime">
977               <h3 id="rfc.section.4.2.1"><a href="#rfc.section.4.2.1">4.2.1</a>&nbsp;<a href="#calculating.freshness.lifetime">Calculating Freshness Lifetime</a></h3>
978               <p id="rfc.section.4.2.1.p.1">A cache can calculate the freshness lifetime (denoted as freshness_lifetime) of a response by using the first match of: </p>
979               <ul>
980                  <li>If the cache is shared and the s-maxage response directive (<a href="#cache-response-directive.s-maxage" title="s-maxage">Section&nbsp;5.2.2.9</a>) is present, use its value, or
981                  </li>
982                  <li>If the max-age response directive (<a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;5.2.2.8</a>) is present, use its value, or
983                  </li>
984                  <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;5.3</a>) is present, use its value minus the value of the <a href="p2-semantics.html#header.date" class="smpl">Date</a> response header field, or
985                  </li>
986                  <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.2.2</a>.
987                  </li>
988               </ul>
989               <p id="rfc.section.4.2.1.p.2">Note that this calculation is not vulnerable to clock skew, since all of the information comes from the origin server.</p>
990               <p id="rfc.section.4.2.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), the directive's value is considered invalid. Caches are encouraged
991                  to consider responses that have invalid freshness information to be stale.
992               </p>
993            </div>
994            <div id="heuristic.freshness">
995               <h3 id="rfc.section.4.2.2"><a href="#rfc.section.4.2.2">4.2.2</a>&nbsp;<a href="#heuristic.freshness">Calculating Heuristic Freshness</a></h3>
996               <p id="rfc.section.4.2.2.p.1">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
997                  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
998                  constraints on their results.
999               </p>
1000               <p id="rfc.section.4.2.2.p.2">A cache <em class="bcp14">MUST NOT</em> use heuristics to determine freshness when an explicit expiration time is present in the stored response. Because of the requirements
1001                  in <a href="#response.cacheability" title="Storing Responses in Caches">Section&nbsp;3</a>, this means that, effectively, heuristics can only be used on responses without explicit freshness whose status codes are
1002                  defined as cacheable by default (see <a href="p2-semantics.html#overview.of.status.codes" title="Overview of Status Codes">Section 6.1</a> of <a href="#Part2" id="rfc.xref.Part2.5"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>), and those responses without explicit freshness that have been marked as explicitly cacheable (e.g., with a "public" response
1003                  directive).
1004               </p>
1005               <p id="rfc.section.4.2.2.p.3">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.1"><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
1006                  time. A typical setting of this fraction might be 10%.
1007               </p>
1008               <p id="rfc.section.4.2.2.p.4">When a heuristic is used to calculate freshness lifetime, a cache <em class="bcp14">SHOULD</em> generate a <a href="#header.warning" class="smpl">Warning</a> header field with a 113 warn-code (see <a href="#warn.113" id="rfc.xref.warn.113.1" title="Warning: 113 - &#34;Heuristic Expiration&#34;">Section&nbsp;5.5.4</a>) in the response if its current_age is more than 24 hours and such a warning is not already present.
1009               </p>
1010               <div class="note" id="rfc.section.4.2.2.p.5">
1011                  <p><b>Note:</b> <a href="http://tools.ietf.org/html/rfc2616#section-13.9">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,
1012                     this has not been widely implemented. Therefore, origin servers are encouraged to send explicit directives (e.g., Cache-Control:
1013                     no-cache) if they wish to preclude caching.
1014                  </p>
1015               </div>
1016            </div>
1017            <div id="age.calculations">
1018               <h3 id="rfc.section.4.2.3"><a href="#rfc.section.4.2.3">4.2.3</a>&nbsp;<a href="#age.calculations">Calculating Age</a></h3>
1019               <p id="rfc.section.4.2.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
1020                  the cache's estimate of the number of seconds since the response was generated or validated by the origin server. In essence,
1021                  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
1022                  server, plus the amount of time it has been in transit along network paths.
1023               </p>
1024               <p id="rfc.section.4.2.3.p.2">The following data is used for the age calculation:</p>
1025               <p id="rfc.section.4.2.3.p.3"><dfn>age_value</dfn>
1026               </p>
1027               <ul class="empty">
1028                  <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;5.1</a>), in a form appropriate for arithmetic operation; or 0, if not available.
1029                  </li>
1030               </ul>
1031               <p id="rfc.section.4.2.3.p.4"><dfn>date_value</dfn>
1032               </p>
1033               <ul class="empty">
1034                  <li>The term "date_value" denotes the value of the Date header field, in a form appropriate for arithmetic operations. See <a href="p2-semantics.html#header.date" title="Date">Section 7.1.1.2</a> of <a href="#Part2" id="rfc.xref.Part2.6"><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.
1035                  </li>
1036               </ul>
1037               <p id="rfc.section.4.2.3.p.5"><dfn>now</dfn>
1038               </p>
1039               <ul class="empty">
1040                  <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="#RFC5905" id="rfc.xref.RFC5905.1"><cite title="Network Time Protocol Version 4: Protocol and Algorithms Specification">[RFC5905]</cite></a>) or some similar protocol to synchronize its clocks to Coordinated Universal Time.
1041                  </li>
1042               </ul>
1043               <p id="rfc.section.4.2.3.p.6"><dfn>request_time</dfn>
1044               </p>
1045               <ul class="empty">
1046                  <li>The current value of the clock at the host at the time the request resulting in the stored response was made.</li>
1047               </ul>
1048               <p id="rfc.section.4.2.3.p.7"><dfn>response_time</dfn>
1049               </p>
1050               <ul class="empty">
1051                  <li>The current value of the clock at the host at the time the response was received.</li>
1052               </ul>
1053               <p id="rfc.section.4.2.3.p.8">A response's age can be calculated in two entirely independent ways: </p>
1054               <ol>
1055                  <li>the "apparent_age": response_time minus date_value, if the local clock is reasonably well synchronized to the origin server's
1056                     clock. If the result is negative, the result is replaced by zero.
1057                  </li>
1058                  <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.
1059                  </li>
1060               </ol>
1061               <div id="rfc.figure.u.3"></div><pre class="text">  apparent_age = max(0, response_time - date_value);
1062
1063  response_delay = response_time - request_time;
1064  corrected_age_value = age_value + response_delay; 
1065</pre><div id="rfc.figure.u.4"></div>
1066               <p>These are combined as</p><pre class="text">  corrected_initial_age = max(apparent_age, corrected_age_value);
1067</pre><p id="rfc.section.4.2.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.
1068               </p>
1069               <p id="rfc.section.4.2.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
1070                  was last validated by the origin server to the corrected_initial_age.
1071               </p>
1072               <div id="rfc.figure.u.5"></div><pre class="text">  resident_time = now - response_time;
1073  current_age = corrected_initial_age + resident_time;
1074</pre></div>
1075            <div id="serving.stale.responses">
1076               <h3 id="rfc.section.4.2.4"><a href="#rfc.section.4.2.4">4.2.4</a>&nbsp;<a href="#serving.stale.responses">Serving Stale Responses</a></h3>
1077               <p id="rfc.section.4.2.4.p.1">A "stale" response is one that either has explicit expiry information or is allowed to have heuristic expiry calculated, but
1078                  is not fresh according to the calculations in <a href="#expiration.model" title="Freshness">Section&nbsp;4.2</a>.
1079               </p>
1080               <p id="rfc.section.4.2.4.p.2">A cache <em class="bcp14">MUST NOT</em> generate a stale response if it is prohibited by an explicit in-protocol directive (e.g., by a "no-store" or "no-cache" cache
1081                  directive, a "must-revalidate" cache-response-directive, or an applicable "s-maxage" or "proxy-revalidate" cache-response-directive;
1082                  see <a href="#cache-response-directive" title="Response Cache-Control Directives">Section&nbsp;5.2.2</a>).
1083               </p>
1084               <p id="rfc.section.4.2.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)
1085                  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;5.2.1</a>).
1086               </p>
1087               <p id="rfc.section.4.2.4.p.4">A cache <em class="bcp14">SHOULD</em> generate a <a href="#header.warning" class="smpl">Warning</a> header field with the 110 warn-code (see <a href="#warn.110" id="rfc.xref.warn.110.1" title="Warning: 110 - &#34;Response is Stale&#34;">Section&nbsp;5.5.1</a>) in stale responses. Likewise, a cache <em class="bcp14">SHOULD</em> generate a 112 warn-code (see <a href="#warn.112" id="rfc.xref.warn.112.1" title="Warning: 112 - &#34;Disconnected Operation&#34;">Section&nbsp;5.5.3</a>) in stale responses if the cache is disconnected.
1088               </p>
1089               <p id="rfc.section.4.2.4.p.5">A cache <em class="bcp14">SHOULD NOT</em> generate a new <a href="#header.warning" class="smpl">Warning</a> header field when forwarding a response that does not have an <a href="#header.age" class="smpl">Age</a> header field, even if the response is already stale. A cache need not validate a response that merely became stale in transit.
1090               </p>
1091            </div>
1092         </div>
1093         <div id="validation.model">
1094            <h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a>&nbsp;<a href="#validation.model">Validation</a></h2>
1095            <p id="rfc.section.4.3.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
1096               fresh, or one cannot be selected; see <a href="#caching.negotiated.responses" title="Calculating Secondary Keys with Vary">Section&nbsp;4.1</a>), it can use the conditional request mechanism <a href="#Part4" id="rfc.xref.Part4.2"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a> in the forwarded request to give the next inbound server an opportunity to select a valid stored response to use, updating
1097               the stored metadata in the process, or to replace the stored response(s) with a new response. This process is known as "validating"
1098               or "revalidating" the stored response.
1099            </p>
1100            <div id="validation.sent">
1101               <div id="rfc.iref.v.1"></div>
1102               <h3 id="rfc.section.4.3.1"><a href="#rfc.section.4.3.1">4.3.1</a>&nbsp;<a href="#validation.sent">Sending a Validation Request</a></h3>
1103               <p id="rfc.section.4.3.1.p.1">When sending a conditional request for cache validation, a cache sends one or more precondition header fields containing <dfn>validator</dfn> metadata from its stored response(s), which is then compared by recipients to determine whether a stored response is equivalent
1104                  to a current representation of the resource.
1105               </p>
1106               <p id="rfc.section.4.3.1.p.2">One such validator is the timestamp given in 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.3"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>), which can be used in an <a href="p4-conditional.html#header.if-modified-since" class="smpl">If-Modified-Since</a> header field for response validation, or in an <a href="p4-conditional.html#header.if-unmodified-since" class="smpl">If-Unmodified-Since</a> or <a href="p5-range.html#header.if-range" class="smpl">If-Range</a> header field for representation selection (i.e., the client is referring specifically to a previously obtained representation
1107                  with that timestamp).
1108               </p>
1109               <p id="rfc.section.4.3.1.p.3">Another validator is the entity-tag given in an <a href="p4-conditional.html#header.etag" class="smpl">ETag</a> header field (<a href="p4-conditional.html#header.etag" title="ETag">Section 2.3</a> of <a href="#Part4" id="rfc.xref.Part4.4"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>). One or more entity-tags, indicating one or more stored responses, can be used in an <a href="p4-conditional.html#header.if-none-match" class="smpl">If-None-Match</a> header field for response validation, or in an <a href="p4-conditional.html#header.if-match" class="smpl">If-Match</a> or <a href="p5-range.html#header.if-range" class="smpl">If-Range</a> header field for representation selection (i.e., the client is referring specifically to one or more previously obtained representations
1110                  with the listed entity-tags).
1111               </p>
1112            </div>
1113            <div id="validation.received">
1114               <h3 id="rfc.section.4.3.2"><a href="#rfc.section.4.3.2">4.3.2</a>&nbsp;<a href="#validation.received">Handling a Received Validation Request</a></h3>
1115               <p id="rfc.section.4.3.2.p.1">Each client in the request chain may have its own cache, so it is common for a cache at an intermediary to receive conditional
1116                  requests from other (outbound) caches. Likewise, some user agents make use of conditional requests to limit data transfers
1117                  to recently modified representations or to complete the transfer of a partially retrieved representation.
1118               </p>
1119               <p id="rfc.section.4.3.2.p.2">If a cache receives a request that can be satisfied by reusing one of its stored <a href="p2-semantics.html#status.200" class="smpl">200 (OK)</a> or <a href="p5-range.html#status.206" class="smpl">206 (Partial Content)</a> responses, the cache <em class="bcp14">SHOULD</em> evaluate any applicable conditional header field preconditions received in that request with respect to the corresponding
1120                  validators contained within the selected response. A cache <em class="bcp14">MUST NOT</em> evaluate conditional header fields that are only applicable to an origin server, found in a request with semantics that cannot
1121                  be satisfied with a cached response, or applied to a target resource for which it has no stored responses; such preconditions
1122                  are likely intended for some other (inbound) server.
1123               </p>
1124               <p id="rfc.section.4.3.2.p.3">The proper evaluation of conditional requests by a cache depends on the received precondition header fields and their precedence,
1125                  as defined in <a href="p4-conditional.html#precedence" title="Precedence">Section 6</a> of <a href="#Part4" id="rfc.xref.Part4.5"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>. The <a href="p4-conditional.html#header.if-match" class="smpl">If-Match</a> and <a href="p4-conditional.html#header.if-unmodified-since" class="smpl">If-Unmodified-Since</a> conditional header fields are not applicable to a cache.
1126               </p>
1127               <p id="rfc.section.4.3.2.p.4">A request containing an <a href="p4-conditional.html#header.if-none-match" class="smpl">If-None-Match</a> header field (<a href="p4-conditional.html#header.if-none-match" title="If-None-Match">Section 3.2</a> of <a href="#Part4" id="rfc.xref.Part4.6"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>) indicates that the client wants to validate one or more of its own stored responses in comparison to whichever stored response
1128                  is selected by the cache. If the field-value is "*", or if the field-value is a list of entity-tags and at least one of them
1129                  match the entity-tag of the selected stored response, a cache recipient <em class="bcp14">SHOULD</em> generate a <a href="p4-conditional.html#status.304" class="smpl">304 (Not Modified)</a> response (using the metadata of the selected stored response) instead of sending that stored response.
1130               </p>
1131               <p id="rfc.section.4.3.2.p.5">When a cache decides to revalidate its own stored responses for a request that contains an <a href="p4-conditional.html#header.if-none-match" class="smpl">If-None-Match</a> list of entity-tags, the cache <em class="bcp14">MAY</em> combine the received list with a list of entity-tags from its own stored set of responses (fresh or stale) and send the union
1132                  of the two lists as a replacement <a href="p4-conditional.html#header.if-none-match" class="smpl">If-None-Match</a> header field value in the forwarded request. If a stored response contains only partial content, the cache <em class="bcp14">MUST NOT</em> include its entity-tag in the union unless the request is for a range that would be fully satisfied by that partial stored
1133                  response. If the response to the forwarded request is <a href="p4-conditional.html#status.304" class="smpl">304 (Not Modified)</a> and has an ETag header field value with an entity-tag that is not in the client's list, the cache <em class="bcp14">MUST</em> generate a <a href="p2-semantics.html#status.200" class="smpl">200 (OK)</a> response for the client by reusing its corresponding stored response, as updated by the 304 response metadata (<a href="#freshening.responses" title="Freshening Stored Responses upon Validation">Section&nbsp;4.3.4</a>).
1134               </p>
1135               <p id="rfc.section.4.3.2.p.6">If an <a href="p4-conditional.html#header.if-none-match" class="smpl">If-None-Match</a> header field is not present, a request containing an <a href="p4-conditional.html#header.if-modified-since" class="smpl">If-Modified-Since</a> header field (<a href="p4-conditional.html#header.if-modified-since" title="If-Modified-Since">Section 3.3</a> of <a href="#Part4" id="rfc.xref.Part4.7"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>) indicates that the client wants to validate one or more of its own stored responses by modification date. A cache recipient <em class="bcp14">SHOULD</em> generate a <a href="p4-conditional.html#status.304" class="smpl">304 (Not Modified)</a> response (using the metadata of the selected stored response) if one of the following cases is true: 1) the selected stored
1136                  response has a <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> field-value that is earlier than or equal to the conditional timestamp; 2) no <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> field is present in the selected stored response, but it has a <a href="p2-semantics.html#header.date" class="smpl">Date</a> field-value that is earlier than or equal to the conditional timestamp; or, 3) neither <a href="p4-conditional.html#header.last-modified" class="smpl">Last-Modified</a> nor <a href="p2-semantics.html#header.date" class="smpl">Date</a> is present in the selected stored response, but the cache recorded it as having been received at a time earlier than or equal
1137                  to the conditional timestamp.
1138               </p>
1139               <p id="rfc.section.4.3.2.p.7">A cache that implements partial responses to range requests, as defined in <a href="#Part5" id="rfc.xref.Part5.4"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Range Requests">[Part5]</cite></a>, also needs to evaluate a received <a href="p5-range.html#header.if-range" class="smpl">If-Range</a> header field (<a href="p5-range.html#header.if-range" title="If-Range">Section 3.2</a> of <a href="#Part5" id="rfc.xref.Part5.5"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Range Requests">[Part5]</cite></a>) with respect to its selected stored response.
1140               </p>
1141            </div>
1142            <div id="validation.response">
1143               <h3 id="rfc.section.4.3.3"><a href="#rfc.section.4.3.3">4.3.3</a>&nbsp;<a href="#validation.response">Handling a Validation Response</a></h3>
1144               <p id="rfc.section.4.3.3.p.1">Cache handling of a response to a conditional request is dependent upon its status code:</p>
1145               <p id="rfc.section.4.3.3.p.2"></p>
1146               <ul>
1147                  <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 Stored Responses upon Validation">Section&nbsp;4.3.4</a>.
1148                  </li>
1149                  <li>A full response (i.e., one with a payload body) indicates that none of the stored responses nominated in the conditional request
1150                     is suitable. Instead, the cache <em class="bcp14">MUST</em> use the full response to satisfy the request and <em class="bcp14">MAY</em> replace the stored response(s).
1151                  </li>
1152                  <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
1153                     if the server failed to respond. In the latter case, the cache <em class="bcp14">MAY</em> send a previously stored response (see <a href="#serving.stale.responses" title="Serving Stale Responses">Section&nbsp;4.2.4</a>).
1154                  </li>
1155               </ul>
1156            </div>
1157            <div id="freshening.responses">
1158               <h3 id="rfc.section.4.3.4"><a href="#rfc.section.4.3.4">4.3.4</a>&nbsp;<a href="#freshening.responses">Freshening Stored Responses upon Validation</a></h3>
1159               <p id="rfc.section.4.3.4.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
1160                  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.
1161               </p>
1162               <div id="rfc.iref.s.3"></div>
1163               <p id="rfc.section.4.3.4.p.2">The stored response to update is identified by using the first match (if any) of: </p>
1164               <ul>
1165                  <li>If the new response contains a <dfn>strong validator</dfn> (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.8"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests">[Part4]</cite></a>), then that strong validator identifies the selected representation for update. All of the stored responses with the same
1166                     strong validator are selected. If none of the stored responses contain the same strong validator, then the cache <em class="bcp14">MUST NOT</em> use the new response to update any stored responses.
1167                  </li>
1168                  <li>If the new response contains a weak validator and that validator corresponds to one of the cache's stored responses, then
1169                     the most recent of those matching stored responses is selected for update.
1170                  </li>
1171                  <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
1172                     request from a source other than the Last-Modified response header field), and there is only one stored response, and that
1173                     stored response also lacks a validator, then that stored response is selected for update.
1174                  </li>
1175               </ul>
1176               <p id="rfc.section.4.3.4.p.3">If a stored response is selected for update, the cache <em class="bcp14">MUST</em>:
1177               </p>
1178               <ul>
1179                  <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;5.5</a>);
1180                  </li>
1181                  <li>retain any <a href="#header.warning" class="smpl">Warning</a> header fields in the stored response with warn-code 2xx; and,
1182                  </li>
1183                  <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.
1184                  </li>
1185               </ul>
1186            </div>
1187            <div id="head.effects">
1188               <h3 id="rfc.section.4.3.5"><a href="#rfc.section.4.3.5">4.3.5</a>&nbsp;<a href="#head.effects">Freshening Responses via HEAD</a></h3>
1189               <p id="rfc.section.4.3.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
1190                  a body. This property of HEAD responses can be used to invalidate or update a cached GET response if the more efficient conditional
1191                  GET request mechanism is not available (due to no validators being present in the stored response) or if transmission of the
1192                  representation body is not desired even if it has changed.
1193               </p>
1194               <p id="rfc.section.4.3.5.p.2">When a cache makes an inbound HEAD request for a given request target and receives a <a href="p2-semantics.html#status.200" class="smpl">200 (OK)</a> response, the cache <em class="bcp14">SHOULD</em> update or invalidate each of its stored GET responses that could have been selected for that request (see <a href="#caching.negotiated.responses" title="Calculating Secondary Keys with Vary">Section&nbsp;4.1</a>).
1195               </p>
1196               <p id="rfc.section.4.3.5.p.3">For each of the stored responses that could have been selected, if the stored response and HEAD response have matching values
1197                  for any received validator fields (<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>) and, if the HEAD response has a <a href="p1-messaging.html#header.content-length" class="smpl">Content-Length</a> header field, the value of <a href="p1-messaging.html#header.content-length" class="smpl">Content-Length</a> matches that of the stored response, the cache <em class="bcp14">SHOULD</em> update the stored response as described below; otherwise, the cache <em class="bcp14">SHOULD</em> consider the stored response to be stale.
1198               </p>
1199               <p id="rfc.section.4.3.5.p.4">If a cache updates a stored response with the metadata provided in a HEAD response, the cache <em class="bcp14">MUST</em>:
1200               </p>
1201               <ul>
1202                  <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;5.5</a>);
1203                  </li>
1204                  <li>retain any <a href="#header.warning" class="smpl">Warning</a> header fields in the stored response with warn-code 2xx; and,
1205                  </li>
1206                  <li>use other header fields provided in the HEAD response to replace all instances of the corresponding header fields in the stored
1207                     response and append new header fields to the stored response's header section unless otherwise restricted by the <a href="#header.cache-control" class="smpl">Cache-Control</a> header field.
1208                  </li>
1209               </ul>
1210            </div>
1211         </div>
1212         <div id="invalidation">
1213            <h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a>&nbsp;<a href="#invalidation">Invalidation</a></h2>
1214            <p id="rfc.section.4.4.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
1215               to keep their contents up-to-date.
1216            </p>
1217            <p id="rfc.section.4.4.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 status code is received in response to an unsafe request method.
1218            </p>
1219            <p id="rfc.section.4.4.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.
1220            </p>
1221            <p id="rfc.section.4.4.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.
1222            </p>
1223            <p id="rfc.section.4.4.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,
1224               or will mark these as "invalid" and in need of a mandatory validation before they can be sent in response to a subsequent
1225               request.
1226            </p>
1227            <p id="rfc.section.4.4.p.6">Note that this does not guarantee that all appropriate responses are invalidated. For example, a state-changing request might
1228               invalidate responses in the caches it travels through, but relevant responses still might be stored in other caches that it
1229               has not.
1230            </p>
1231         </div>
1232      </div>
1233      <div id="header.field.definitions">
1234         <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#header.field.definitions">Header Field Definitions</a></h1>
1235         <p id="rfc.section.5.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to caching.</p>
1236         <div id="header.age">
1237            <div id="rfc.iref.a.2"></div>
1238            <h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;<a href="#header.age">Age</a></h2>
1239            <p id="rfc.section.5.1.p.1">The "Age" header field conveys the sender's estimate of the amount of time since the response was generated or successfully
1240               validated at the origin server. Age values are calculated as specified in <a href="#age.calculations" title="Calculating Age">Section&nbsp;4.2.3</a>.
1241            </p>
1242            <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>
1243</pre><p id="rfc.section.5.1.p.3">The Age field-value is a non-negative integer, representing time in seconds (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.2.1</a>).
1244            </p>
1245            <p id="rfc.section.5.1.p.4">The presence of an Age header field implies that the response was not generated or validated by the origin server for this
1246               request. However, lack of an Age header field does not imply the origin was contacted, since the response might have been
1247               received from an HTTP/1.0 cache that does not implement Age.
1248            </p>
1249         </div>
1250         <div id="header.cache-control">
1251            <div id="rfc.iref.c.5"></div>
1252            <h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;<a href="#header.cache-control">Cache-Control</a></h2>
1253            <p id="rfc.section.5.2.p.1">The "Cache-Control" header field is used to specify directives for caches along the request/response chain. Such cache directives
1254               are unidirectional in that the presence of a directive in a request does not imply that the same directive is to be given
1255               in the response.
1256            </p>
1257            <p id="rfc.section.5.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;5.2.3</a> for information about how Cache-Control directives defined elsewhere are handled.
1258            </p>
1259            <div class="note" id="rfc.section.5.2.p.3">
1260               <p><b>Note:</b> Some HTTP/1.0 caches might not implement Cache-Control.
1261               </p>
1262            </div>
1263            <p id="rfc.section.5.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
1264               might be applicable to all recipients along the request/response chain. It is not possible to target a directive to a specific
1265               cache.
1266            </p>
1267            <p id="rfc.section.5.2.p.5">Cache directives are identified by a token, to be compared case-insensitively, and have an optional argument, that can use
1268               both token and quoted-string syntax. For the directives defined below that define arguments, recipients ought to accept both
1269               forms, even if one is documented to be preferred. For any directive not defined by this specification, a recipient <em class="bcp14">MUST</em> accept both forms.
1270            </p>
1271            <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>
1272
1273  <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> ) ]
1274</pre><p id="rfc.section.5.2.p.7">For the cache directives defined below, no argument is defined (nor allowed) unless stated otherwise.</p>
1275            <div id="cache-request-directive">
1276               <h3 id="rfc.section.5.2.1"><a href="#rfc.section.5.2.1">5.2.1</a>&nbsp;<a href="#cache-request-directive">Request Cache-Control Directives</a></h3>
1277               <div id="cache-request-directive.max-age">
1278                  <div id="rfc.iref.m.1"></div>
1279                  <h4 id="rfc.section.5.2.1.1"><a href="#rfc.section.5.2.1.1">5.2.1.1</a>&nbsp;<a href="#cache-request-directive.max-age">max-age</a></h4>
1280                  <p id="rfc.section.5.2.1.1.p.1">Argument syntax: </p>
1281                  <ul class="empty">
1282                     <li><a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.2.1</a>)
1283                     </li>
1284                  </ul>
1285                  <p id="rfc.section.5.2.1.1.p.2">The "max-age" request directive indicates that the client is unwilling to accept a response whose age is greater than the
1286                     specified number of seconds. Unless the max-stale request directive is also present, the client is not willing to accept a
1287                     stale response.
1288                  </p>
1289                  <p id="rfc.section.5.2.1.1.p.3">This directive uses the token form of the argument syntax; e.g., 'max-age=5', not 'max-age="5"'. A sender <em class="bcp14">SHOULD NOT</em> generate the quoted-string form.
1290                  </p>
1291               </div>
1292               <div id="cache-request-directive.max-stale">
1293                  <div id="rfc.iref.m.2"></div>
1294                  <h4 id="rfc.section.5.2.1.2"><a href="#rfc.section.5.2.1.2">5.2.1.2</a>&nbsp;<a href="#cache-request-directive.max-stale">max-stale</a></h4>
1295                  <p id="rfc.section.5.2.1.2.p.1">Argument syntax: </p>
1296                  <ul class="empty">
1297                     <li><a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.2.1</a>)
1298                     </li>
1299                  </ul>
1300                  <p id="rfc.section.5.2.1.2.p.2">The "max-stale" request directive indicates that the client is willing to accept a response that has exceeded its freshness
1301                     lifetime. If max-stale is assigned a value, then the client is willing to accept a response that has exceeded its freshness
1302                     lifetime by no more than the specified number of seconds. If no value is assigned to max-stale, then the client is willing
1303                     to accept a stale response of any age.
1304                  </p>
1305                  <p id="rfc.section.5.2.1.2.p.3">This directive uses the token form of the argument syntax; e.g., 'max-stale=10', not 'max-stale="10"'. A sender <em class="bcp14">SHOULD NOT</em> generate the quoted-string form.
1306                  </p>
1307               </div>
1308               <div id="cache-request-directive.min-fresh">
1309                  <div id="rfc.iref.m.3"></div>
1310                  <h4 id="rfc.section.5.2.1.3"><a href="#rfc.section.5.2.1.3">5.2.1.3</a>&nbsp;<a href="#cache-request-directive.min-fresh">min-fresh</a></h4>
1311                  <p id="rfc.section.5.2.1.3.p.1">Argument syntax: </p>
1312                  <ul class="empty">
1313                     <li><a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.2.1</a>)
1314                     </li>
1315                  </ul>
1316                  <p id="rfc.section.5.2.1.3.p.2">The "min-fresh" request directive indicates that the client is willing to accept a response whose freshness lifetime is no
1317                     less than its current age plus the specified time in seconds. That is, the client wants a response that will still be fresh
1318                     for at least the specified number of seconds.
1319                  </p>
1320                  <p id="rfc.section.5.2.1.3.p.3">This directive uses the token form of the argument syntax; e.g., 'min-fresh=20', not 'min-fresh="20"'. A sender <em class="bcp14">SHOULD NOT</em> generate the quoted-string form.
1321                  </p>
1322               </div>
1323               <div id="cache-request-directive.no-cache">
1324                  <div id="rfc.iref.n.1"></div>
1325                  <h4 id="rfc.section.5.2.1.4"><a href="#rfc.section.5.2.1.4">5.2.1.4</a>&nbsp;<a href="#cache-request-directive.no-cache">no-cache</a></h4>
1326                  <p id="rfc.section.5.2.1.4.p.1">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.
1327                  </p>
1328               </div>
1329               <div id="cache-request-directive.no-store">
1330                  <div id="rfc.iref.n.2"></div>
1331                  <h4 id="rfc.section.5.2.1.5"><a href="#rfc.section.5.2.1.5">5.2.1.5</a>&nbsp;<a href="#cache-request-directive.no-store">no-store</a></h4>
1332                  <p id="rfc.section.5.2.1.5.p.1">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.
1333                  </p>
1334                  <p id="rfc.section.5.2.1.5.p.2">This directive is NOT a reliable or sufficient mechanism for ensuring privacy. In particular, malicious or compromised caches
1335                     might not recognize or obey this directive, and communications networks might be vulnerable to eavesdropping.
1336                  </p>
1337                  <p id="rfc.section.5.2.1.5.p.3">Note that if a request containing this directive is satisfied from a cache, the no-store request directive does not apply
1338                     to the already stored response.
1339                  </p>
1340               </div>
1341               <div id="cache-request-directive.no-transform">
1342                  <div id="rfc.iref.n.3"></div>
1343                  <h4 id="rfc.section.5.2.1.6"><a href="#rfc.section.5.2.1.6">5.2.1.6</a>&nbsp;<a href="#cache-request-directive.no-transform">no-transform</a></h4>
1344                  <p id="rfc.section.5.2.1.6.p.1">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>.
1345                  </p>
1346               </div>
1347               <div id="cache-request-directive.only-if-cached">
1348                  <div id="rfc.iref.o.1"></div>
1349                  <h4 id="rfc.section.5.2.1.7"><a href="#rfc.section.5.2.1.7">5.2.1.7</a>&nbsp;<a href="#cache-request-directive.only-if-cached">only-if-cached</a></h4>
1350                  <p id="rfc.section.5.2.1.7.p.1">The "only-if-cached" request directive indicates that the client only wishes to obtain a stored response. If it receives this
1351                     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
1352                        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.
1353                  </p>
1354               </div>
1355            </div>
1356            <div id="cache-response-directive">
1357               <h3 id="rfc.section.5.2.2"><a href="#rfc.section.5.2.2">5.2.2</a>&nbsp;<a href="#cache-response-directive">Response Cache-Control Directives</a></h3>
1358               <div id="cache-response-directive.must-revalidate">
1359                  <div id="rfc.iref.m.4"></div>
1360                  <h4 id="rfc.section.5.2.2.1"><a href="#rfc.section.5.2.2.1">5.2.2.1</a>&nbsp;<a href="#cache-response-directive.must-revalidate">must-revalidate</a></h4>
1361                  <p id="rfc.section.5.2.2.1.p.1">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.
1362                  </p>
1363                  <p id="rfc.section.5.2.2.1.p.2">The must-revalidate directive is necessary to support reliable operation for certain protocol features. In all circumstances
1364                     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.
1365                  </p>
1366                  <p id="rfc.section.5.2.2.1.p.3">The must-revalidate directive ought to be used by servers if and only if failure to validate a request on the representation
1367                     could result in incorrect operation, such as a silently unexecuted financial transaction.
1368                  </p>
1369               </div>
1370               <div id="cache-response-directive.no-cache">
1371                  <div id="rfc.iref.n.4"></div>
1372                  <h4 id="rfc.section.5.2.2.2"><a href="#rfc.section.5.2.2.2">5.2.2.2</a>&nbsp;<a href="#cache-response-directive.no-cache">no-cache</a></h4>
1373                  <p id="rfc.section.5.2.2.2.p.1">Argument syntax: </p>
1374                  <ul class="empty">
1375                     <li>#<a href="#imported.abnf" class="smpl">field-name</a>
1376                     </li>
1377                  </ul>
1378                  <p id="rfc.section.5.2.2.2.p.2">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
1379                     prevent a cache from using it to satisfy a request without contacting it, even by caches that have been configured to send
1380                     stale responses.
1381                  </p>
1382                  <p id="rfc.section.5.2.2.2.p.3">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
1383                     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
1384                     server to prevent the re-use of certain header fields in a response, while still allowing caching of the rest of the response.
1385                  </p>
1386                  <p id="rfc.section.5.2.2.2.p.4">The field-names given are not limited to the set of header fields defined by this specification. Field names are case-insensitive.</p>
1387                  <p id="rfc.section.5.2.2.2.p.5">This directive uses the quoted-string form of the argument syntax. A sender <em class="bcp14">SHOULD NOT</em> generate the token form (even if quoting appears not to be needed for single-entry lists).
1388                  </p>
1389                  <p id="rfc.section.5.2.2.2.p.6"><b>Note:</b> Although it has been back-ported to many implementations, some HTTP/1.0 caches will not recognize or obey this directive.
1390                     Also, no-cache response directives with field-names are often handled by caches as if an unqualified no-cache directive was
1391                     received; i.e., the special handling for the qualified form is not widely implemented.
1392                  </p>
1393               </div>
1394               <div id="cache-response-directive.no-store">
1395                  <div id="rfc.iref.n.5"></div>
1396                  <h4 id="rfc.section.5.2.2.3"><a href="#rfc.section.5.2.2.3">5.2.2.3</a>&nbsp;<a href="#cache-response-directive.no-store">no-store</a></h4>
1397                  <p id="rfc.section.5.2.2.3.p.1">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.
1398                  </p>
1399                  <p id="rfc.section.5.2.2.3.p.2">This directive is NOT a reliable or sufficient mechanism for ensuring privacy. In particular, malicious or compromised caches
1400                     might not recognize or obey this directive, and communications networks might be vulnerable to eavesdropping.
1401                  </p>
1402               </div>
1403               <div id="cache-response-directive.no-transform">
1404                  <div id="rfc.iref.n.6"></div>
1405                  <h4 id="rfc.section.5.2.2.4"><a href="#rfc.section.5.2.2.4">5.2.2.4</a>&nbsp;<a href="#cache-response-directive.no-transform">no-transform</a></h4>
1406                  <p id="rfc.section.5.2.2.4.p.1">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>.
1407                  </p>
1408               </div>
1409               <div id="cache-response-directive.public">
1410                  <div id="rfc.iref.p.2"></div>
1411                  <h4 id="rfc.section.5.2.2.5"><a href="#rfc.section.5.2.2.5">5.2.2.5</a>&nbsp;<a href="#cache-response-directive.public">public</a></h4>
1412                  <p id="rfc.section.5.2.2.5.p.1">The "public" response directive indicates that any cache <em class="bcp14">MAY</em> store the response, even if the response would normally be non-cacheable or cacheable only within a private cache. (See <a href="#caching.authenticated.responses" title="Storing Responses to Authenticated Requests">Section&nbsp;3.2</a> for additional details related to the use of public in response to a request containing <a href="p7-auth.html#header.authorization" class="smpl">Authorization</a>, and <a href="#response.cacheability" title="Storing Responses in Caches">Section&nbsp;3</a> for details of how public affects responses that would normally not be stored, due to their status codes not being defined
1413                     as cacheable by default; see <a href="#heuristic.freshness" title="Calculating Heuristic Freshness">Section&nbsp;4.2.2</a>.)
1414                  </p>
1415               </div>
1416               <div id="cache-response-directive.private">
1417                  <div id="rfc.iref.p.3"></div>
1418                  <h4 id="rfc.section.5.2.2.6"><a href="#rfc.section.5.2.2.6">5.2.2.6</a>&nbsp;<a href="#cache-response-directive.private">private</a></h4>
1419                  <p id="rfc.section.5.2.2.6.p.1">Argument syntax: </p>
1420                  <ul class="empty">
1421                     <li>#<a href="#imported.abnf" class="smpl">field-name</a>
1422                     </li>
1423                  </ul>
1424                  <p id="rfc.section.5.2.2.6.p.2">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 and reuse it for later requests, even if the response would normally be non-cacheable.
1425                  </p>
1426                  <p id="rfc.section.5.2.2.6.p.3">If the private response directive specifies one or more field-names, this requirement is limited to the field-values associated
1427                     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.
1428                  </p>
1429                  <p id="rfc.section.5.2.2.6.p.4">The field-names given are not limited to the set of header fields defined by this specification. Field names are case-insensitive.</p>
1430                  <p id="rfc.section.5.2.2.6.p.5">This directive uses the quoted-string form of the argument syntax. A sender <em class="bcp14">SHOULD NOT</em> generate the token form (even if quoting appears not to be needed for single-entry lists).
1431                  </p>
1432                  <p id="rfc.section.5.2.2.6.p.6"><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
1433                     content. Also, private response directives with field-names are often handled by caches as if an unqualified private directive
1434                     was received; i.e., the special handling for the qualified form is not widely implemented.
1435                  </p>
1436               </div>
1437               <div id="cache-response-directive.proxy-revalidate">
1438                  <div id="rfc.iref.p.4"></div>
1439                  <h4 id="rfc.section.5.2.2.7"><a href="#rfc.section.5.2.2.7">5.2.2.7</a>&nbsp;<a href="#cache-response-directive.proxy-revalidate">proxy-revalidate</a></h4>
1440                  <p id="rfc.section.5.2.2.7.p.1">The "proxy-revalidate" response directive has the same meaning as the must-revalidate response directive, except that it does
1441                     not apply to private caches.
1442                  </p>
1443               </div>
1444               <div id="cache-response-directive.max-age">
1445                  <div id="rfc.iref.m.5"></div>
1446                  <h4 id="rfc.section.5.2.2.8"><a href="#rfc.section.5.2.2.8">5.2.2.8</a>&nbsp;<a href="#cache-response-directive.max-age">max-age</a></h4>
1447                  <p id="rfc.section.5.2.2.8.p.1">Argument syntax: </p>
1448                  <ul class="empty">
1449                     <li><a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.2.1</a>)
1450                     </li>
1451                  </ul>
1452                  <p id="rfc.section.5.2.2.8.p.2">The "max-age" response directive indicates that the response is to be considered stale after its age is greater than the specified
1453                     number of seconds.
1454                  </p>
1455                  <p id="rfc.section.5.2.2.8.p.3">This directive uses the token form of the argument syntax; e.g., 'max-age=5', not 'max-age="5"'. A sender <em class="bcp14">SHOULD NOT</em> generate the quoted-string form.
1456                  </p>
1457               </div>
1458               <div id="cache-response-directive.s-maxage">
1459                  <div id="rfc.iref.s.4"></div>
1460                  <h4 id="rfc.section.5.2.2.9"><a href="#rfc.section.5.2.2.9">5.2.2.9</a>&nbsp;<a href="#cache-response-directive.s-maxage">s-maxage</a></h4>
1461                  <p id="rfc.section.5.2.2.9.p.1">Argument syntax: </p>
1462                  <ul class="empty">
1463                     <li><a href="#delta-seconds" class="smpl">delta-seconds</a> (see <a href="#delta-seconds" title="Delta Seconds">Section&nbsp;1.2.1</a>)
1464                     </li>
1465                  </ul>
1466                  <p id="rfc.section.5.2.2.9.p.2">The "s-maxage" response directive indicates that, in shared caches, the maximum age specified by this directive overrides
1467                     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.
1468                  </p>
1469                  <p id="rfc.section.5.2.2.9.p.3">This directive uses the token form of the argument syntax; e.g., 's-maxage=10', not 's-maxage="10"'. A sender <em class="bcp14">SHOULD NOT</em> generate the quoted-string form.
1470                  </p>
1471               </div>
1472            </div>
1473            <div id="cache.control.extensions">
1474               <h3 id="rfc.section.5.2.3"><a href="#rfc.section.5.2.3">5.2.3</a>&nbsp;<a href="#cache.control.extensions">Cache Control Extensions</a></h3>
1475               <p id="rfc.section.5.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
1476                  value. A cache <em class="bcp14">MUST</em> ignore unrecognized cache directives.
1477               </p>
1478               <p id="rfc.section.5.2.3.p.2">Informational extensions (those that do not require a change in cache behavior) can be added without changing the semantics
1479                  of other directives.
1480               </p>
1481               <p id="rfc.section.5.2.3.p.3">Behavioral extensions are designed to work by acting as modifiers to the existing base of cache directives. Both the new directive
1482                  and the old directive are supplied, such that applications that do not understand the new directive will default to the behavior
1483                  specified by the old directive, and those that understand the new directive will recognize it as modifying the requirements
1484                  associated with the old directive. In this way, extensions to the existing cache-control directives can be made without breaking
1485                  deployed caches.
1486               </p>
1487               <p id="rfc.section.5.2.3.p.4">For example, consider a hypothetical new response directive called "community" that acts as a modifier to the private directive:
1488                  in addition to private caches, any cache that is shared only by members of the named community is allowed to cache the response.
1489                  An origin server wishing to allow the UCI community to use an otherwise private response in their shared cache(s) could do
1490                  so by including
1491               </p>
1492               <div id="rfc.figure.u.8"></div><pre class="text">  Cache-Control: private, community="UCI"
1493</pre><p id="rfc.section.5.2.3.p.6">A cache that recognizes such a community cache-extension could broaden its behavior in accordance with that extension. A cache
1494                  that does not recognize the community cache-extension would ignore it and adhere to the private directive.
1495               </p>
1496            </div>
1497         </div>
1498         <div id="header.expires">
1499            <div id="rfc.iref.e.2"></div>
1500            <h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a>&nbsp;<a href="#header.expires">Expires</a></h2>
1501            <p id="rfc.section.5.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">Section&nbsp;4.2</a> for further discussion of the freshness model.
1502            </p>
1503            <p id="rfc.section.5.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
1504               that time.
1505            </p>
1506            <p id="rfc.section.5.3.p.3">The Expires value is an HTTP-date timestamp, as defined in <a href="p2-semantics.html#http.date" title="Date/Time Formats">Section 7.1.1.1</a> of <a href="#Part2" id="rfc.xref.Part2.8"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content">[Part2]</cite></a>.
1507            </p>
1508            <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>
1509</pre><div id="rfc.figure.u.10"></div>
1510            <p>For example</p><pre class="text">  Expires: Thu, 01 Dec 1994 16:00:00 GMT
1511</pre><p id="rfc.section.5.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").
1512            </p>
1513            <p id="rfc.section.5.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;5.2.2.8</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;5.2.2.9</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
1514               the Cache-Control field.
1515            </p>
1516            <p id="rfc.section.5.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
1517               with the resource by a system or user with a reliable clock.
1518            </p>
1519            <p id="rfc.section.5.3.p.9">Historically, HTTP required the Expires field-value to be no more than a year in the future. While longer freshness lifetimes
1520               are no longer prohibited, extremely large values have been demonstrated to cause problems (e.g., clock overflows due to use
1521               of 32-bit integers for time values), and many caches will evict a response far sooner than that.
1522            </p>
1523         </div>
1524         <div id="header.pragma">
1525            <div id="rfc.iref.p.5"></div>
1526            <h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a>&nbsp;<a href="#header.pragma">Pragma</a></h2>
1527            <p id="rfc.section.5.4.p.1">The "Pragma" header field allows backwards compatibility with HTTP/1.0 caches, so that clients can specify a "no-cache" request
1528               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
1529               ignored.
1530            </p>
1531            <p id="rfc.section.5.4.p.2">In HTTP/1.0, Pragma was defined as an extensible field for implementation-specified directives for recipients. This specification
1532               deprecates such extensions to improve interoperability.
1533            </p>
1534            <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>
1535  <a href="#header.pragma" class="smpl">pragma-directive</a> = "no-cache" / <a href="#header.pragma" class="smpl">extension-pragma</a>
1536  <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> ) ]
1537</pre><p id="rfc.section.5.4.p.4">When the <a href="#header.cache-control" class="smpl">Cache-Control</a> header field is not present in a request, caches <em class="bcp14">MUST</em> consider the no-cache request pragma-directive as having the same effect as if "Cache-Control: no-cache" were present (see <a href="#cache-request-directive" title="Request Cache-Control Directives">Section&nbsp;5.2.1</a>).
1538            </p>
1539            <p id="rfc.section.5.4.p.5">When sending a no-cache request, a client ought to include both the pragma and cache-control directives, unless Cache-Control:
1540               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:
1541            </p>
1542            <div id="rfc.figure.u.12"></div><pre class="text">GET / HTTP/1.1
1543Host: www.example.com
1544Cache-Control: max-age=30
1545Pragma: no-cache
1546
1547</pre><p id="rfc.section.5.4.p.7">will constrain HTTP/1.1 caches to serve a response no older than 30 seconds, while precluding implementations that do not
1548               understand <a href="#header.cache-control" class="smpl">Cache-Control</a> from serving a cached response.
1549            </p>
1550            <div class="note" id="rfc.section.5.4.p.8">
1551               <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:
1552                  no-cache" in them.
1553               </p>
1554            </div>
1555         </div>
1556         <div id="header.warning">
1557            <div id="rfc.iref.w.1"></div>
1558            <h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a>&nbsp;<a href="#header.warning">Warning</a></h2>
1559            <p id="rfc.section.5.5.p.1">The "Warning" header field is used to carry additional information about the status or transformation of a message that might
1560               not be reflected in the status code. This information is typically used to warn about possible incorrectness introduced by
1561               caching operations or transformations applied to the payload of the message.
1562            </p>
1563            <p id="rfc.section.5.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
1564               code, distinguishes these responses from true failures.
1565            </p>
1566            <p id="rfc.section.5.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
1567               be applied to response messages.
1568            </p>
1569            <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>
1570 
1571  <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>
1572                                        [ <a href="#imported.abnf" class="smpl">SP</a> <a href="#header.warning" class="smpl">warn-date</a> ]
1573 
1574  <a href="#header.warning" class="smpl">warn-code</a>  = 3<a href="#imported.abnf" class="smpl">DIGIT</a>
1575  <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>
1576                  ; the name or pseudonym of the server adding
1577                  ; the Warning header field, for use in debugging
1578                  ; a single "-" is recommended when agent unknown
1579  <a href="#header.warning" class="smpl">warn-text</a>  = <a href="#imported.abnf" class="smpl">quoted-string</a>
1580  <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>
1581</pre><p id="rfc.section.5.5.p.5">Multiple warnings can be generated in a response (either by the origin server or by a cache), including multiple warnings
1582               with the same warn-code number that only differ in warn-text.
1583            </p>
1584            <p id="rfc.section.5.5.p.6">A user agent that receives one or more Warning header fields <em class="bcp14">SHOULD</em> inform the user of as many of them as possible, in the order that they appear in the response. Senders that generate multiple
1585               Warning header fields are encouraged to order them with this user agent behavior in mind. A sender that generates new Warning
1586               header fields <em class="bcp14">MUST</em> append them after any existing Warning header fields.
1587            </p>
1588            <p id="rfc.section.5.5.p.7">Warnings are assigned three digit warn-codes. The first digit indicates whether the Warning is required to be deleted from
1589               a stored response after validation:
1590            </p>
1591            <ul>
1592               <li>1xx warn-codes 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.
1593               </li>
1594               <li>2xx warn-codes describe some aspect of the representation that is not rectified by a validation (for example, a lossy compression
1595                  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.
1596               </li>
1597            </ul>
1598            <p id="rfc.section.5.5.p.8">If a sender generates one or more 1xx warn-codes in a message to be sent to a recipient known to implement only HTTP/1.0,
1599               the sender <em class="bcp14">MUST</em> include in each corresponding warning-value a warn-date that matches the <a href="p2-semantics.html#header.date" class="smpl">Date</a> header field in the message. For example:
1600            </p>
1601            <div id="rfc.figure.u.14"></div><pre class="text">HTTP/1.1 200 OK
1602Date: Sat, 25 Aug 2012 23:34:45 GMT
1603Warning: 112 - "network down" "Sat, 25 Aug 2012 23:34:45 GMT"
1604
1605</pre><p id="rfc.section.5.5.p.10">Warnings have accompanying warn-text that describes the error, e.g., for logging. It is advisory only, and its content does
1606               not affect interpretation of the warn-code.
1607            </p>
1608            <p id="rfc.section.5.5.p.11">If a recipient that uses, evaluates, or displays Warning header fields receives a warn-date that is different from the <a href="p2-semantics.html#header.date" class="smpl">Date</a> value in the same message, the recipient <em class="bcp14">MUST</em> exclude the warning-value containing that warn-date before storing, forwarding, or using the message. This allows recipients
1609               to exclude warning-values that were improperly retained after a cache validation. If all of the warning-values are excluded,
1610               the recipient <em class="bcp14">MUST</em> exclude the Warning header field as well.
1611            </p>
1612            <p id="rfc.section.5.5.p.12">The following warn-codes are defined by this specification, each with a recommended warn-text in English, and a description
1613               of its meaning. The procedure for defining additional warn codes is described in <a href="#warn.code.registry.procedure" title="Procedure">Section&nbsp;7.2.1</a>.
1614            </p>
1615            <div id="warn.110">
1616               <div id="rfc.iref.49"></div>
1617               <div id="rfc.iref.r.1"></div>
1618               <h3 id="rfc.section.5.5.1"><a href="#rfc.section.5.5.1">5.5.1</a>&nbsp;<a href="#warn.110">Warning: 110 - "Response is Stale"</a></h3>
1619               <p id="rfc.section.5.5.1.p.1">A cache <em class="bcp14">SHOULD</em> generate this whenever the sent response is stale.
1620               </p>
1621            </div>
1622            <div id="warn.111">
1623               <div id="rfc.iref.50"></div>
1624               <div id="rfc.iref.r.2"></div>
1625               <h3 id="rfc.section.5.5.2"><a href="#rfc.section.5.5.2">5.5.2</a>&nbsp;<a href="#warn.111">Warning: 111 - "Revalidation Failed"</a></h3>
1626               <p id="rfc.section.5.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
1627                  the server.
1628               </p>
1629            </div>
1630            <div id="warn.112">
1631               <div id="rfc.iref.51"></div>
1632               <div id="rfc.iref.d.1"></div>
1633               <h3 id="rfc.section.5.5.3"><a href="#rfc.section.5.5.3">5.5.3</a>&nbsp;<a href="#warn.112">Warning: 112 - "Disconnected Operation"</a></h3>
1634               <p id="rfc.section.5.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.
1635               </p>
1636            </div>
1637            <div id="warn.113">
1638               <div id="rfc.iref.52"></div>
1639               <div id="rfc.iref.h.2"></div>
1640               <h3 id="rfc.section.5.5.4"><a href="#rfc.section.5.5.4">5.5.4</a>&nbsp;<a href="#warn.113">Warning: 113 - "Heuristic Expiration"</a></h3>
1641               <p id="rfc.section.5.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
1642                  24 hours.
1643               </p>
1644            </div>
1645            <div id="warn.199">
1646               <div id="rfc.iref.53"></div>
1647               <div id="rfc.iref.m.6"></div>
1648               <h3 id="rfc.section.5.5.5"><a href="#rfc.section.5.5.5">5.5.5</a>&nbsp;<a href="#warn.199">Warning: 199 - "Miscellaneous Warning"</a></h3>
1649               <p id="rfc.section.5.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.
1650               </p>
1651            </div>
1652            <div id="warn.214">
1653               <div id="rfc.iref.54"></div>
1654               <div id="rfc.iref.t.1"></div>
1655               <h3 id="rfc.section.5.5.6"><a href="#rfc.section.5.5.6">5.5.6</a>&nbsp;<a href="#warn.214">Warning: 214 - "Transformation Applied"</a></h3>
1656               <p id="rfc.section.5.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,
1657                  or modifying the representation data, unless this Warning code already appears in the response.
1658               </p>
1659            </div>
1660            <div id="warn.299">
1661               <div id="rfc.iref.55"></div>
1662               <div id="rfc.iref.m.7"></div>
1663               <h3 id="rfc.section.5.5.7"><a href="#rfc.section.5.5.7">5.5.7</a>&nbsp;<a href="#warn.299">Warning: 299 - "Miscellaneous Persistent Warning"</a></h3>
1664               <p id="rfc.section.5.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.
1665               </p>
1666            </div>
1667         </div>
1668      </div>
1669      <div id="history.lists">
1670         <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a href="#history.lists">History Lists</a></h1>
1671         <p id="rfc.section.6.p.1">User agents often have history mechanisms, such as "Back" buttons and history lists, that can be used to redisplay a representation
1672            retrieved earlier in a session.
1673         </p>
1674         <p id="rfc.section.6.p.2">The freshness model (<a href="#expiration.model" title="Freshness">Section&nbsp;4.2</a>) does not necessarily apply to history mechanisms. I.e., a history mechanism can display a previous representation even if
1675            it has expired.
1676         </p>
1677         <p id="rfc.section.6.p.3">This does not prohibit the history mechanism from telling the user that a view might be stale, or from honoring cache directives
1678            (e.g., Cache-Control: no-store).
1679         </p>
1680      </div>
1681      <div id="iana.considerations">
1682         <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a href="#iana.considerations">IANA Considerations</a></h1>
1683         <div id="cache.directive.registry">
1684            <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;<a href="#cache.directive.registry">Cache Directive Registry</a></h2>
1685            <p id="rfc.section.7.1.p.1">The HTTP Cache Directive Registry defines the name space for the cache directives. It will be created and maintained at (the
1686               suggested URI) &lt;<a href="http://www.iana.org/assignments/http-cache-directives">http://www.iana.org/assignments/http-cache-directives</a>&gt;.
1687            </p>
1688            <div id="cache.directive.registry.procedure">
1689               <h3 id="rfc.section.7.1.1"><a href="#rfc.section.7.1.1">7.1.1</a>&nbsp;<a href="#cache.directive.registry.procedure">Procedure</a></h3>
1690               <p id="rfc.section.7.1.1.p.1">A registration <em class="bcp14">MUST</em> include the following fields:
1691               </p>
1692               <ul>
1693                  <li>Cache Directive Name</li>
1694                  <li>Pointer to specification text</li>
1695               </ul>
1696               <p id="rfc.section.7.1.1.p.2">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="http://tools.ietf.org/html/rfc5226#section-4.1">Section 4.1</a>).
1697               </p>
1698            </div>
1699            <div id="cache.directive.considerations">
1700               <h3 id="rfc.section.7.1.2"><a href="#rfc.section.7.1.2">7.1.2</a>&nbsp;<a href="#cache.directive.considerations">Considerations for New Cache Control Directives</a></h3>
1701               <p id="rfc.section.7.1.2.p.1">New extension directives ought to consider defining:</p>
1702               <p id="rfc.section.7.1.2.p.2"></p>
1703               <ul>
1704                  <li>What it means for a directive to be specified multiple times,</li>
1705                  <li>When the directive does not take an argument, what it means when an argument is present,</li>
1706                  <li>When the directive requires an argument, what it means when it is missing,</li>
1707                  <li>Whether the directive is specific to requests, responses, or able to be used in either.</li>
1708               </ul>
1709               <p id="rfc.section.7.1.2.p.3">See also <a href="#cache.control.extensions" title="Cache Control Extensions">Section&nbsp;5.2.3</a>.
1710               </p>
1711            </div>
1712            <div id="cache.directive.registration">
1713               <h3 id="rfc.section.7.1.3"><a href="#rfc.section.7.1.3">7.1.3</a>&nbsp;<a href="#cache.directive.registration">Registrations</a></h3>
1714               <p id="rfc.section.7.1.3.p.1">The HTTP Cache Directive Registry shall be populated with the registrations below:</p>
1715               <div id="rfc.table.1">
1716                  <div id="iana.cache.directive.registration.table"></div>
1717                  <table class="tt full left" cellpadding="3" cellspacing="0">
1718                     <thead>
1719                        <tr>
1720                           <th>Cache Directive</th>
1721                           <th>Reference</th>
1722                        </tr>
1723                     </thead>
1724                     <tbody>
1725                        <tr>
1726                           <td class="left">max-age</td>
1727                           <td class="left"><a href="#cache-request-directive.max-age" title="max-age">Section&nbsp;5.2.1.1</a>, <a href="#cache-response-directive.max-age" title="max-age">Section&nbsp;5.2.2.8</a>
1728                           </td>
1729                        </tr>
1730                        <tr>
1731                           <td class="left">max-stale</td>
1732                           <td class="left"><a href="#cache-request-directive.max-stale" title="max-stale">Section&nbsp;5.2.1.2</a>
1733                           </td>
1734                        </tr>
1735                        <tr>
1736                           <td class="left">min-fresh</td>
1737                           <td class="left"><a href="#cache-request-directive.min-fresh" title="min-fresh">Section&nbsp;5.2.1.3</a>
1738                           </td>
1739                        </tr>
1740                        <tr>
1741                           <td class="left">must-revalidate</td>
1742                           <td class="left"><a href="#cache-response-directive.must-revalidate" title="must-revalidate">Section&nbsp;5.2.2.1</a>
1743                           </td>
1744                        </tr>
1745                        <tr>
1746                           <td class="left">no-cache</td>
1747                           <td class="left"><a href="#cache-request-directive.no-cache" title="no-cache">Section&nbsp;5.2.1.4</a>, <a href="#cache-response-directive.no-cache" title="no-cache">Section&nbsp;5.2.2.2</a>
1748                           </td>
1749                        </tr>
1750                        <tr>
1751                           <td class="left">no-store</td>
1752                           <td class="left"><a href="#cache-request-directive.no-store" title="no-store">Section&nbsp;5.2.1.5</a>, <a href="#cache-response-directive.no-store" title="no-store">Section&nbsp;5.2.2.3</a>
1753                           </td>
1754                        </tr>
1755                        <tr>
1756                           <td class="left">no-transform</td>
1757                           <td class="left"><a href="#cache-request-directive.no-transform" title="no-transform">Section&nbsp;5.2.1.6</a>, <a href="#cache-response-directive.no-transform" title="no-transform">Section&nbsp;5.2.2.4</a>
1758                           </td>
1759                        </tr>
1760                        <tr>
1761                           <td class="left">only-if-cached</td>
1762                           <td class="left"><a href="#cache-request-directive.only-if-cached" title="only-if-cached">Section&nbsp;5.2.1.7</a>
1763                           </td>
1764                        </tr>
1765                        <tr>
1766                           <td class="left">private</td>
1767                           <td class="left"><a href="#cache-response-directive.private" title="private">Section&nbsp;5.2.2.6</a>
1768                           </td>
1769                        </tr>
1770                        <tr>
1771                           <td class="left">proxy-revalidate</td>
1772                           <td class="left"><a href="#cache-response-directive.proxy-revalidate" title="proxy-revalidate">Section&nbsp;5.2.2.7</a>
1773                           </td>
1774                        </tr>
1775                        <tr>
1776                           <td class="left">public</td>
1777                           <td class="left"><a href="#cache-response-directive.public" title="public">Section&nbsp;5.2.2.5</a>
1778                           </td>
1779                        </tr>
1780                        <tr>
1781                           <td class="left">s-maxage</td>
1782                           <td class="left"><a href="#cache-response-directive.s-maxage" title="s-maxage">Section&nbsp;5.2.2.9</a>
1783                           </td>
1784                        </tr>
1785                        <tr>
1786                           <td class="left">stale-if-error</td>
1787                           <td class="left"><a href="#RFC5861" id="rfc.xref.RFC5861.1"><cite title="HTTP Cache-Control Extensions for Stale Content">[RFC5861]</cite></a>, <a href="http://tools.ietf.org/html/rfc5861#section-4">Section 4</a>
1788                           </td>
1789                        </tr>
1790                        <tr>
1791                           <td class="left">stale-while-revalidate</td>
1792                           <td class="left"><a href="#RFC5861" id="rfc.xref.RFC5861.2"><cite title="HTTP Cache-Control Extensions for Stale Content">[RFC5861]</cite></a>, <a href="http://tools.ietf.org/html/rfc5861#section-3">Section 3</a>
1793                           </td>
1794                        </tr>
1795                     </tbody>
1796                  </table>
1797               </div>
1798            </div>
1799         </div>
1800         <div id="warn.code.registry">
1801            <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;<a href="#warn.code.registry">Warn Code Registry</a></h2>
1802            <p id="rfc.section.7.2.p.1">The HTTP Warn Code Registry defines the name space for warn codes. It will be created and maintained at (the suggested URI) &lt;<a href="http://www.iana.org/assignments/http-warn-codes">http://www.iana.org/assignments/http-warn-codes</a>&gt;.
1803            </p>
1804            <div id="warn.code.registry.procedure">
1805               <h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a>&nbsp;<a href="#warn.code.registry.procedure">Procedure</a></h3>
1806               <p id="rfc.section.7.2.1.p.1">A registration <em class="bcp14">MUST</em> include the following fields:
1807               </p>
1808               <ul>
1809                  <li>Warn Code (3 digits)</li>
1810                  <li>Short Description</li>
1811                  <li>Pointer to specification text</li>
1812               </ul>
1813               <p id="rfc.section.7.2.1.p.2">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="http://tools.ietf.org/html/rfc5226#section-4.1">Section 4.1</a>).
1814               </p>
1815            </div>
1816            <div id="warn.code.registration">
1817               <h3 id="rfc.section.7.2.2"><a href="#rfc.section.7.2.2">7.2.2</a>&nbsp;<a href="#warn.code.registration">Registrations</a></h3>
1818               <p id="rfc.section.7.2.2.p.1">The HTTP Warn Code Registry shall be populated with the registrations below:</p>
1819               <div id="rfc.table.2">
1820                  <div id="iana.warn.code.registration.table"></div>
1821                  <table class="tt full left" cellpadding="3" cellspacing="0">
1822                     <thead>
1823                        <tr>
1824                           <th>Warn Code</th>
1825                           <th>Short Description</th>
1826                           <th>Reference</th>
1827                        </tr>
1828                     </thead>
1829                     <tbody>
1830                        <tr>
1831                           <td class="left">110</td>
1832                           <td class="left">Response is Stale</td>
1833                           <td class="left"><a href="#warn.110" id="rfc.xref.warn.110.2" title="Warning: 110 - &#34;Response is Stale&#34;">Section&nbsp;5.5.1</a>
1834                           </td>
1835                        </tr>
1836                        <tr>
1837                           <td class="left">111</td>
1838                           <td class="left">Revalidation Failed</td>
1839                           <td class="left"><a href="#warn.111" id="rfc.xref.warn.111.1" title="Warning: 111 - &#34;Revalidation Failed&#34;">Section&nbsp;5.5.2</a>
1840                           </td>
1841                        </tr>
1842                        <tr>
1843                           <td class="left">112</td>
1844                           <td class="left">Disconnected Operation</td>
1845                           <td class="left"><a href="#warn.112" id="rfc.xref.warn.112.2" title="Warning: 112 - &#34;Disconnected Operation&#34;">Section&nbsp;5.5.3</a>
1846                           </td>
1847                        </tr>
1848                        <tr>
1849                           <td class="left">113</td>
1850                           <td class="left">Heuristic Expiration</td>
1851                           <td class="left"><a href="#warn.113" id="rfc.xref.warn.113.2" title="Warning: 113 - &#34;Heuristic Expiration&#34;">Section&nbsp;5.5.4</a>
1852                           </td>
1853                        </tr>
1854                        <tr>
1855                           <td class="left">199</td>
1856                           <td class="left">Miscellaneous Warning</td>
1857                           <td class="left"><a href="#warn.199" id="rfc.xref.warn.199.1" title="Warning: 199 - &#34;Miscellaneous Warning&#34;">Section&nbsp;5.5.5</a>
1858                           </td>
1859                        </tr>
1860                        <tr>
1861                           <td class="left">214</td>
1862                           <td class="left">Transformation Applied</td>
1863                           <td class="left"><a href="#warn.214" id="rfc.xref.warn.214.1" title="Warning: 214 - &#34;Transformation Applied&#34;">Section&nbsp;5.5.6</a>
1864                           </td>
1865                        </tr>
1866                        <tr>
1867                           <td class="left">299</td>
1868                           <td class="left">Miscellaneous Persistent Warning</td>
1869                           <td class="left"><a href="#warn.299" id="rfc.xref.warn.299.1" title="Warning: 299 - &#34;Miscellaneous Persistent Warning&#34;">Section&nbsp;5.5.7</a>
1870                           </td>
1871                        </tr>
1872                     </tbody>
1873                  </table>
1874               </div>
1875            </div>
1876         </div>
1877         <div id="header.field.registration">
1878            <h2 id="rfc.section.7.3"><a href="#rfc.section.7.3">7.3</a>&nbsp;<a href="#header.field.registration">Header Field Registration</a></h2>
1879            <p id="rfc.section.7.3.p.1">HTTP header fields are registered within the Message Header Field Registry maintained at &lt;<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>&gt;.
1880            </p>
1881            <p id="rfc.section.7.3.p.2">This document defines the following HTTP header fields, so their associated registry entries shall be updated according to
1882               the permanent registrations below (see <a href="#BCP90" id="rfc.xref.BCP90.1"><cite title="Registration Procedures for Message Header Fields">[BCP90]</cite></a>):
1883            </p>
1884            <div id="rfc.table.3">
1885               <div id="iana.header.registration.table"></div>
1886               <table class="tt full left" cellpadding="3" cellspacing="0">
1887                  <thead>
1888                     <tr>
1889                        <th>Header Field Name</th>
1890                        <th>Protocol</th>
1891                        <th>Status</th>
1892                        <th>Reference</th>
1893                     </tr>
1894                  </thead>
1895                  <tbody>
1896                     <tr>
1897                        <td class="left">Age</td>
1898                        <td class="left">http</td>
1899                        <td class="left">standard</td>
1900                        <td class="left"><a href="#header.age" id="rfc.xref.header.age.3" title="Age">Section&nbsp;5.1</a>
1901                        </td>
1902                     </tr>
1903                     <tr>
1904                        <td class="left">Cache-Control</td>
1905                        <td class="left">http</td>
1906                        <td class="left">standard</td>
1907                        <td class="left"><a href="#header.cache-control" id="rfc.xref.header.cache-control.2" title="Cache-Control">Section&nbsp;5.2</a>
1908                        </td>
1909                     </tr>
1910                     <tr>
1911                        <td class="left">Expires</td>
1912                        <td class="left">http</td>
1913                        <td class="left">standard</td>
1914                        <td class="left"><a href="#header.expires" id="rfc.xref.header.expires.4" title="Expires">Section&nbsp;5.3</a>
1915                        </td>
1916                     </tr>
1917                     <tr>
1918                        <td class="left">Pragma</td>
1919                        <td class="left">http</td>
1920                        <td class="left">standard</td>
1921                        <td class="left"><a href="#header.pragma" id="rfc.xref.header.pragma.2" title="Pragma">Section&nbsp;5.4</a>
1922                        </td>
1923                     </tr>
1924                     <tr>
1925                        <td class="left">Warning</td>
1926                        <td class="left">http</td>
1927                        <td class="left">standard</td>
1928                        <td class="left"><a href="#header.warning" id="rfc.xref.header.warning.4" title="Warning">Section&nbsp;5.5</a>
1929                        </td>
1930                     </tr>
1931                  </tbody>
1932               </table>
1933            </div>
1934            <p id="rfc.section.7.3.p.3">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p>
1935         </div>
1936      </div>
1937      <div id="security.considerations">
1938         <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;<a href="#security.considerations">Security Considerations</a></h1>
1939         <p id="rfc.section.8.p.1">This section is meant to inform developers, information providers, and users of known security concerns specific to HTTP caching.
1940            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>.
1941         </p>
1942         <p id="rfc.section.8.p.2">Caches expose additional potential vulnerabilities, since the contents of the cache represent an attractive target for malicious
1943            exploitation. Because cache contents persist after an HTTP request is complete, an attack on the cache can reveal information
1944            long after a user believes that the information has been removed from the network. Therefore, cache contents need to be protected
1945            as sensitive information.
1946         </p>
1947         <p id="rfc.section.8.p.3">In particular, various attacks might be amplified by being stored in a shared cache; such "cache poisoning" attacks use the
1948            cache to distribute a malicious payload to many clients, and are especially effective when an attacker can use implementation
1949            flaws, elevated privileges, or other techniques to insert such a response into a cache. One common attack vector for cache
1950            poisoning is to exploit differences in message parsing on proxies and in user agents; see <a href="p1-messaging.html#message.body.length" title="Message Body Length">Section 3.3.3</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> for the relevant requirements.
1951         </p>
1952         <p id="rfc.section.8.p.4">Likewise, implementation flaws (as well as misunderstanding of cache operation) might lead to caching of sensitive information
1953            (e.g., authentication credentials) that is thought to be private, exposing it to unauthorized parties.
1954         </p>
1955         <p id="rfc.section.8.p.5">Furthermore, the very use of a cache can bring about privacy concerns. For example, if two users share a cache, and the first
1956            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
1957            load more quickly, thanks to the cache.
1958         </p>
1959         <p id="rfc.section.8.p.6">Note that the Set-Cookie response header field <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 field can be (and often is) used to satisfy subsequent
1960            requests to caches. Servers who wish to control caching of these responses are encouraged to emit appropriate Cache-Control
1961            response header fields.
1962         </p>
1963      </div>
1964      <div id="acks">
1965         <h1 id="rfc.section.9"><a href="#rfc.section.9">9.</a>&nbsp;<a href="#acks">Acknowledgments</a></h1>
1966         <p id="rfc.section.9.p.1">See <a href="p1-messaging.html#acks" title="Acknowledgments">Section 10</a> of <a href="#Part1" id="rfc.xref.Part1.13"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>.
1967         </p>
1968      </div>
1969      <h1 id="rfc.references"><a id="rfc.section.10" href="#rfc.section.10">10.</a> References
1970      </h1>
1971      <h2 id="rfc.references.1"><a href="#rfc.section.10.1" id="rfc.section.10.1">10.1</a> Normative References
1972      </h2>
1973      <table>
1974         <tr>
1975            <td class="reference"><b id="Part1">[Part1]</b></td>
1976            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a> and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), March&nbsp;2014.
1977            </td>
1978         </tr>
1979         <tr>
1980            <td class="reference"><b id="Part2">[Part2]</b></td>
1981            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a> and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), March&nbsp;2014.
1982            </td>
1983         </tr>
1984         <tr>
1985            <td class="reference"><b id="Part4">[Part4]</b></td>
1986            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a> and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), March&nbsp;2014.
1987            </td>
1988         </tr>
1989         <tr>
1990            <td class="reference"><b id="Part5">[Part5]</b></td>
1991            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), March&nbsp;2014.
1992            </td>
1993         </tr>
1994         <tr>
1995            <td class="reference"><b id="Part7">[Part7]</b></td>
1996            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a> and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-latest">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), March&nbsp;2014.
1997            </td>
1998         </tr>
1999         <tr>
2000            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
2001            <td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
2002            </td>
2003         </tr>
2004         <tr>
2005            <td class="reference"><b id="RFC5234">[RFC5234]</b></td>
2006            <td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD&nbsp;68, RFC&nbsp;5234, January&nbsp;2008.
2007            </td>
2008         </tr>
2009      </table>
2010      <h2 id="rfc.references.2"><a href="#rfc.section.10.2" id="rfc.section.10.2">10.2</a> Informative References
2011      </h2>
2012      <table>
2013         <tr>
2014            <td class="reference"><b id="BCP90">[BCP90]</b></td>
2015            <td class="top"><a href="mailto:GK-IETF@ninebynine.org" title="Nine by Nine">Klyne, G.</a>, <a href="mailto:mnot@pobox.com" title="BEA Systems">Nottingham, M.</a>, and <a href="mailto:JeffMogul@acm.org" title="HP Labs">J. Mogul</a>, “<a href="http://tools.ietf.org/html/rfc3864">Registration Procedures for Message Header Fields</a>”, BCP&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
2016            </td>
2017         </tr>
2018         <tr>
2019            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
2020            <td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine">Fielding, R.</a>, <a href="mailto:jg@w3.org" title="W3C">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation">Mogul, J.</a>, <a href="mailto:frystyk@w3.org" title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, and <a href="mailto:timbl@w3.org" title="W3C">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC&nbsp;2616, June&nbsp;1999.
2021            </td>
2022         </tr>
2023         <tr>
2024            <td class="reference"><b id="RFC5226">[RFC5226]</b></td>
2025            <td class="top"><a href="mailto:narten@us.ibm.com" title="IBM">Narten, T.</a> and <a href="mailto:Harald@Alvestrand.no" title="Google">H. Alvestrand</a>, “<a href="http://tools.ietf.org/html/rfc5226">Guidelines for Writing an IANA Considerations Section in RFCs</a>”, BCP&nbsp;26, RFC&nbsp;5226, May&nbsp;2008.
2026            </td>
2027         </tr>
2028         <tr>
2029            <td class="reference"><b id="RFC5861">[RFC5861]</b></td>
2030            <td class="top"><a href="mailto:mnot@yahoo-inc.com" title="Yahoo! Inc.">Nottingham, M.</a>, “<a href="http://tools.ietf.org/html/rfc5861">HTTP Cache-Control Extensions for Stale Content</a>”, RFC&nbsp;5861, April&nbsp;2010.
2031            </td>
2032         </tr>
2033         <tr>
2034            <td class="reference"><b id="RFC5905">[RFC5905]</b></td>
2035            <td class="top">Mills, D., Martin, J., Ed., Burbank, J., and W. Kasch, “<a href="http://tools.ietf.org/html/rfc5905">Network Time Protocol Version 4: Protocol and Algorithms Specification</a>”, RFC&nbsp;5905, June&nbsp;2010.
2036            </td>
2037         </tr>
2038         <tr>
2039            <td class="reference"><b id="RFC6265">[RFC6265]</b></td>
2040            <td class="top"><a href="mailto:abarth@eecs.berkeley.edu" title="&#xA;          University of California, Berkeley&#xA;        ">Barth, A.</a>, “<a href="http://tools.ietf.org/html/rfc6265">HTTP State Management Mechanism</a>”, RFC&nbsp;6265, April&nbsp;2011.
2041            </td>
2042         </tr>
2043      </table>
2044      <div class="avoidbreak">
2045         <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
2046         <p><b>Roy T. Fielding</b>
2047            (editor)
2048            <br>Adobe Systems Incorporated<br>345 Park Ave<br>San Jose, CA&nbsp;95110<br>USA<br>Email: <a href="mailto:fielding@gbiv.com">fielding@gbiv.com</a><br>URI: <a href="http://roy.gbiv.com/">http://roy.gbiv.com/</a></p>
2049         <p><b>Mark Nottingham</b>
2050            (editor)
2051            <br>Akamai<br>Email: <a href="mailto:mnot@mnot.net">mnot@mnot.net</a><br>URI: <a href="http://www.mnot.net/">http://www.mnot.net/</a></p>
2052         <p><b>Julian F. Reschke</b>
2053            (editor)
2054            <br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, NW&nbsp;48155<br>Germany<br>Email: <a href="mailto:julian.reschke@greenbytes.de">julian.reschke@greenbytes.de</a><br>URI: <a href="http://greenbytes.de/tech/webdav/">http://greenbytes.de/tech/webdav/</a></p>
2055      </div>
2056      <div id="changes.from.rfc.2616">
2057         <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a href="#changes.from.rfc.2616">Changes from RFC 2616</a></h1>
2058         <p id="rfc.section.A.p.1">The specification has been substantially rewritten for clarity.</p>
2059         <p id="rfc.section.A.p.2">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>)
2060         </p>
2061         <p id="rfc.section.A.p.3">New status codes can now define that caches are allowed to use heuristic freshness with them. Caches are now allowed to calculate
2062            heuristic freshness for URIs with query components. (<a href="#heuristic.freshness" title="Calculating Heuristic Freshness">Section&nbsp;4.2.2</a>)
2063         </p>
2064         <p id="rfc.section.A.p.4">The algorithm for calculating age is now less conservative. Caches are now required to handle dates with timezones as if they're
2065            invalid, because it's not possible to accurately guess. (<a href="#age.calculations" title="Calculating Age">Section&nbsp;4.2.3</a>)
2066         </p>
2067         <p id="rfc.section.A.p.5">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">Section&nbsp;4.3</a>)
2068         </p>
2069         <p id="rfc.section.A.p.6">The algorithm for selecting a cached negotiated response to use has been clarified in several ways. In particular, it now
2070            explicitly allows header-specific canonicalization when processing selecting header fields. (<a href="#caching.negotiated.responses" title="Calculating Secondary Keys with Vary">Section&nbsp;4.1</a>)
2071         </p>
2072         <p id="rfc.section.A.p.7">Requirements regarding denial of service attack avoidance when performing invalidation have been clarified. (<a href="#invalidation" title="Invalidation">Section&nbsp;4.4</a>)
2073         </p>
2074         <p id="rfc.section.A.p.8">Cache invalidation only occurs when a successful response is received. (<a href="#invalidation" title="Invalidation">Section&nbsp;4.4</a>)
2075         </p>
2076         <p id="rfc.section.A.p.9">Cache directives are explicitly defined to be case-insensitive. Handling of multiple instances of cache directives when only
2077            one is expected is now defined. (<a href="#header.cache-control" id="rfc.xref.header.cache-control.3" title="Cache-Control">Section&nbsp;5.2</a>)
2078         </p>
2079         <p id="rfc.section.A.p.10">The "no-store" request directive doesn't apply to responses; i.e., a cache can satisfy a request with no-store on it, and
2080            does not invalidate it. (<a href="#cache-request-directive.no-store" title="no-store">Section&nbsp;5.2.1.5</a>)
2081         </p>
2082         <p id="rfc.section.A.p.11">The qualified forms of the private and no-cache cache directives are noted to not be widely implemented; e.g., "private=foo"
2083            is interpreted by many caches as simply "private". Additionally, the meaning of the qualified form of no-cache has been clarified.
2084            (<a href="#cache-response-directive" title="Response Cache-Control Directives">Section&nbsp;5.2.2</a>)
2085         </p>
2086         <p id="rfc.section.A.p.12">The "no-cache" response directive's meaning has been clarified. (<a href="#cache-response-directive.no-cache" title="no-cache">Section&nbsp;5.2.2.2</a>)
2087         </p>
2088         <p id="rfc.section.A.p.13">The one-year limit on <a href="#header.expires" class="smpl">Expires</a> header field values has been removed; instead, the reasoning for using a sensible value is given. (<a href="#header.expires" id="rfc.xref.header.expires.5" title="Expires">Section&nbsp;5.3</a>)
2089         </p>
2090         <p id="rfc.section.A.p.14">The <a href="#header.pragma" class="smpl">Pragma</a> header field is now only defined for backwards compatibility; future pragmas are deprecated. (<a href="#header.pragma" id="rfc.xref.header.pragma.3" title="Pragma">Section&nbsp;5.4</a>)
2091         </p>
2092         <p id="rfc.section.A.p.15">Some requirements regarding production and processing of the <a href="#header.warning" class="smpl">Warning</a> header fields have been relaxed, as it is not widely implemented. Furthermore, 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.5" title="Warning">Section&nbsp;5.5</a>)
2093         </p>
2094         <p id="rfc.section.A.p.16">This specification introduces the Cache Directive and Warn Code Registries, and defines considerations for new cache directives.
2095            (<a href="#cache.directive.registry" title="Cache Directive Registry">Section&nbsp;7.1</a> and <a href="#warn.code.registry" title="Warn Code Registry">Section&nbsp;7.2</a>)
2096         </p>
2097      </div>
2098      <div id="imported.abnf">
2099         <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a href="#imported.abnf">Imported ABNF</a></h1>
2100         <p id="rfc.section.B.p.1">The following core rules are included by reference, as defined in <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">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
2101            (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
2102            character).
2103         </p>
2104         <p id="rfc.section.B.p.2">The rules below are 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>:
2105         </p>
2106         <div id="rfc.figure.u.15"></div><pre class="inline">  <a href="#imported.abnf" class="smpl">OWS</a>           = &lt;OWS, 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#whitespace" title="Whitespace">Section 3.2.3</a>&gt;
2107  <a href="#imported.abnf" class="smpl">field-name</a>    = &lt;field-name, 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#header.fields" title="Header Fields">Section 3.2</a>&gt;
2108  <a href="#imported.abnf" class="smpl">quoted-string</a> = &lt;quoted-string, 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;
2109  <a href="#imported.abnf" class="smpl">token</a>         = &lt;token, 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#field.components" title="Field value components">Section 3.2.6</a>&gt;
2110
2111  <a href="#imported.abnf" class="smpl">port</a>          = &lt;port, 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#uri" title="Uniform Resource Identifiers">Section 2.7</a>&gt;
2112  <a href="#imported.abnf" class="smpl">pseudonym</a>     = &lt;pseudonym, 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#header.via" title="Via">Section 5.7.1</a>&gt;
2113  <a href="#imported.abnf" class="smpl">uri-host</a>      = &lt;uri-host, defined in <a href="#Part1" id="rfc.xref.Part1.21"><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;
2114</pre><p id="rfc.section.B.p.4">The rules below are defined in other parts:</p>
2115         <div id="rfc.figure.u.16"></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="p2-semantics.html#http.date" title="Date/Time Formats">Section 7.1.1.1</a>&gt;
2116</pre></div>
2117      <div id="collected.abnf">
2118         <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a href="#collected.abnf">Collected ABNF</a></h1>
2119         <p id="rfc.section.C.p.1">In the collected ABNF below, list rules are expanded as per <a href="p1-messaging.html#notation" title="Syntax Notation">Section 1.2</a> of <a href="#Part1" id="rfc.xref.Part1.22"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing">[Part1]</cite></a>.
2120         </p>
2121         <div id="rfc.figure.u.17"></div><pre class="inline"><a href="#header.age" class="smpl">Age</a> = delta-seconds
2122
2123<a href="#header.cache-control" class="smpl">Cache-Control</a> = *( "," OWS ) cache-directive *( OWS "," [ OWS
2124 cache-directive ] )
2125
2126<a href="#header.expires" class="smpl">Expires</a> = HTTP-date
2127
2128<a href="#imported.abnf" class="smpl">HTTP-date</a> = &lt;HTTP-date, defined in [Part2], Section 7.1.1.1&gt;
2129
2130<a href="#imported.abnf" class="smpl">OWS</a> = &lt;OWS, defined in [Part1], Section 3.2.3&gt;
2131
2132<a href="#header.pragma" class="smpl">Pragma</a> = *( "," OWS ) pragma-directive *( OWS "," [ OWS
2133 pragma-directive ] )
2134
2135<a href="#header.warning" class="smpl">Warning</a> = *( "," OWS ) warning-value *( OWS "," [ OWS warning-value ]
2136 )
2137
2138<a href="#header.cache-control" class="smpl">cache-directive</a> = token [ "=" ( token / quoted-string ) ]
2139
2140<a href="#delta-seconds" class="smpl">delta-seconds</a> = 1*DIGIT
2141
2142<a href="#header.pragma" class="smpl">extension-pragma</a> = token [ "=" ( token / quoted-string ) ]
2143
2144<a href="#imported.abnf" class="smpl">field-name</a> = &lt;field-name, defined in [Part1], Section 3.2&gt;
2145
2146<a href="#imported.abnf" class="smpl">port</a> = &lt;port, defined in [Part1], Section 2.7&gt;
2147<a href="#header.pragma" class="smpl">pragma-directive</a> = "no-cache" / extension-pragma
2148<a href="#imported.abnf" class="smpl">pseudonym</a> = &lt;pseudonym, defined in [Part1], Section 5.7.1&gt;
2149
2150<a href="#imported.abnf" class="smpl">quoted-string</a> = &lt;quoted-string, defined in [Part1], Section 3.2.6&gt;
2151
2152<a href="#imported.abnf" class="smpl">token</a> = &lt;token, defined in [Part1], Section 3.2.6&gt;
2153
2154<a href="#imported.abnf" class="smpl">uri-host</a> = &lt;uri-host, defined in [Part1], Section 2.7&gt;
2155
2156<a href="#header.warning" class="smpl">warn-agent</a> = ( uri-host [ ":" port ] ) / pseudonym
2157<a href="#header.warning" class="smpl">warn-code</a> = 3DIGIT
2158<a href="#header.warning" class="smpl">warn-date</a> = DQUOTE HTTP-date DQUOTE
2159<a href="#header.warning" class="smpl">warn-text</a> = quoted-string
2160<a href="#header.warning" class="smpl">warning-value</a> = warn-code SP warn-agent SP warn-text [ SP warn-date
2161 ]
2162</pre></div>
2163      <div id="change.log">
2164         <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
2165         <p id="rfc.section.D.p.1">Changes up to the IETF Last Call draft are summarized in &lt;<a href="http://trac.tools.ietf.org/html/draft-ietf-httpbis-p6-cache-24#appendix-D">http://trac.tools.ietf.org/html/draft-ietf-httpbis-p6-cache-24#appendix-D</a>&gt;.
2166         </p>
2167         <div id="changes.since.24">
2168            <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;<a href="#changes.since.24">Since draft-ietf-httpbis-p6-cache-24</a></h2>
2169            <p id="rfc.section.D.1.p.1">Closed issues: </p>
2170            <ul>
2171               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/499">http://tools.ietf.org/wg/httpbis/trac/ticket/499</a>&gt;: "RFC 1305 ref needs to be updated to 5905"
2172               </li>
2173               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/500">http://tools.ietf.org/wg/httpbis/trac/ticket/500</a>&gt;: "dangling reference to cacheable status codes"
2174               </li>
2175               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/512">http://tools.ietf.org/wg/httpbis/trac/ticket/512</a>&gt;: "APPSDIR review of draft-ietf-httpbis-p6-cache-24"
2176               </li>
2177            </ul>
2178         </div>
2179         <div id="changes.since.25">
2180            <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;<a href="#changes.since.25">Since draft-ietf-httpbis-p6-cache-25</a></h2>
2181            <p id="rfc.section.D.2.p.1">Closed issues: </p>
2182            <ul>
2183               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/535">http://tools.ietf.org/wg/httpbis/trac/ticket/535</a>&gt;: "IESG ballot on draft-ietf-httpbis-p6-cache-25"
2184               </li>
2185               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/538">http://tools.ietf.org/wg/httpbis/trac/ticket/538</a>&gt;: "add 'stateless' to Abstract"
2186               </li>
2187               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/542">http://tools.ietf.org/wg/httpbis/trac/ticket/542</a>&gt;: "improve introduction of list rule"
2188               </li>
2189               <li>&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/549">http://tools.ietf.org/wg/httpbis/trac/ticket/549</a>&gt;: "augment security considerations with pointers to current research"
2190               </li>
2191            </ul>
2192         </div>
2193         <div id="changes.since.26">
2194            <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;<a href="#changes.since.26">Since draft-ietf-httpbis-p6-cache-26</a></h2>
2195            <p id="rfc.section.D.3.p.1">None yet.</p>
2196         </div>
2197      </div>
2198      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
2199      <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.D">D</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.T">T</a> <a href="#rfc.index.V">V</a> <a href="#rfc.index.W">W</a>
2200      </p>
2201      <div class="print2col">
2202         <ul class="ind">
2203            <li><a id="rfc.index.1" href="#rfc.index.1"><b>1</b></a><ul>
2204                  <li>110 (warn-code)&nbsp;&nbsp;<a href="#rfc.xref.warn.110.1">4.2.4</a>, <a href="#rfc.iref.49"><b>5.5.1</b></a>, <a href="#rfc.xref.warn.110.2">7.2.2</a></li>
2205                  <li>111 (warn-code)&nbsp;&nbsp;<a href="#rfc.iref.50"><b>5.5.2</b></a>, <a href="#rfc.xref.warn.111.1">7.2.2</a></li>
2206                  <li>112 (warn-code)&nbsp;&nbsp;<a href="#rfc.xref.warn.112.1">4.2.4</a>, <a href="#rfc.iref.51"><b>5.5.3</b></a>, <a href="#rfc.xref.warn.112.2">7.2.2</a></li>
2207                  <li>113 (warn-code)&nbsp;&nbsp;<a href="#rfc.xref.warn.113.1">4.2.2</a>, <a href="#rfc.iref.52"><b>5.5.4</b></a>, <a href="#rfc.xref.warn.113.2">7.2.2</a></li>
2208                  <li>199 (warn-code)&nbsp;&nbsp;<a href="#rfc.iref.53"><b>5.5.5</b></a>, <a href="#rfc.xref.warn.199.1">7.2.2</a></li>
2209               </ul>
2210            </li>
2211            <li><a id="rfc.index.2" href="#rfc.index.2"><b>2</b></a><ul>
2212                  <li>214 (warn-code)&nbsp;&nbsp;<a href="#rfc.iref.54"><b>5.5.6</b></a>, <a href="#rfc.xref.warn.214.1">7.2.2</a></li>
2213                  <li>299 (warn-code)&nbsp;&nbsp;<a href="#rfc.iref.55"><b>5.5.7</b></a>, <a href="#rfc.xref.warn.299.1">7.2.2</a></li>
2214               </ul>
2215            </li>
2216            <li><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul>
2217                  <li>age&nbsp;&nbsp;<a href="#rfc.iref.a.1">4.2</a></li>
2218                  <li>Age header field&nbsp;&nbsp;<a href="#rfc.xref.header.age.1">4</a>, <a href="#rfc.xref.header.age.2">4.2.3</a>, <a href="#rfc.iref.a.2"><b>5.1</b></a>, <a href="#rfc.xref.header.age.3">7.3</a></li>
2219               </ul>
2220            </li>
2221            <li><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul>
2222                  <li><em>BCP90</em>&nbsp;&nbsp;<a href="#rfc.xref.BCP90.1">7.3</a>, <a href="#BCP90"><b>10.2</b></a></li>
2223               </ul>
2224            </li>
2225            <li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul>
2226                  <li>cache&nbsp;&nbsp;<a href="#rfc.iref.c.1">1</a></li>
2227                  <li>cache entry&nbsp;&nbsp;<a href="#rfc.iref.c.2">2</a></li>
2228                  <li>cache key&nbsp;&nbsp;<a href="#rfc.iref.c.3">2</a>, <a href="#rfc.iref.c.4">2</a></li>
2229                  <li>Cache-Control header field&nbsp;&nbsp;<a href="#rfc.xref.header.cache-control.1">3</a>, <a href="#rfc.iref.c.5"><b>5.2</b></a>, <a href="#rfc.xref.header.cache-control.2">7.3</a>, <a href="#rfc.xref.header.cache-control.3">A</a></li>
2230               </ul>
2231            </li>
2232            <li><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul>
2233                  <li>Disconnected Operation (warn-text)&nbsp;&nbsp;<a href="#rfc.xref.warn.112.1">4.2.4</a>, <a href="#rfc.iref.d.1"><b>5.5.3</b></a>, <a href="#rfc.xref.warn.112.2">7.2.2</a></li>
2234               </ul>
2235            </li>
2236            <li><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul>
2237                  <li>Expires header field&nbsp;&nbsp;<a href="#rfc.xref.header.expires.1">3</a>, <a href="#rfc.xref.header.expires.2">4.2</a>, <a href="#rfc.xref.header.expires.3">4.2.1</a>, <a href="#rfc.iref.e.2"><b>5.3</b></a>, <a href="#rfc.xref.header.expires.4">7.3</a>, <a href="#rfc.xref.header.expires.5">A</a></li>
2238                  <li>explicit expiration time&nbsp;&nbsp;<a href="#rfc.iref.e.1">4.2</a></li>
2239               </ul>
2240            </li>
2241            <li><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul>
2242                  <li>fresh&nbsp;&nbsp;<a href="#rfc.iref.f.1">4.2</a></li>
2243                  <li>freshness lifetime&nbsp;&nbsp;<a href="#rfc.iref.f.2">4.2</a></li>
2244               </ul>
2245            </li>
2246            <li><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul>
2247                  <li><tt>Grammar</tt>&nbsp;&nbsp;
2248                     <ul>
2249                        <li><tt>Age</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.2"><b>5.1</b></a></li>
2250                        <li><tt>Cache-Control</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.3"><b>5.2</b></a></li>
2251                        <li><tt>cache-directive</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.4"><b>5.2</b></a></li>
2252                        <li><tt>delta-seconds</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.1"><b>1.2.1</b></a></li>
2253                        <li><tt>Expires</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.5"><b>5.3</b></a></li>
2254                        <li><tt>extension-pragma</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.8"><b>5.4</b></a></li>
2255                        <li><tt>Pragma</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.6"><b>5.4</b></a></li>
2256                        <li><tt>pragma-directive</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.7"><b>5.4</b></a></li>
2257                        <li><tt>warn-agent</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.12"><b>5.5</b></a></li>
2258                        <li><tt>warn-code</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.11"><b>5.5</b></a></li>
2259                        <li><tt>warn-date</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.14"><b>5.5</b></a></li>
2260                        <li><tt>warn-text</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.13"><b>5.5</b></a></li>
2261                        <li><tt>Warning</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.9"><b>5.5</b></a></li>
2262                        <li><tt>warning-value</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.10"><b>5.5</b></a></li>
2263                     </ul>
2264                  </li>
2265               </ul>
2266            </li>
2267            <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul>
2268                  <li>Heuristic Expiration (warn-text)&nbsp;&nbsp;<a href="#rfc.xref.warn.113.1">4.2.2</a>, <a href="#rfc.iref.h.2"><b>5.5.4</b></a>, <a href="#rfc.xref.warn.113.2">7.2.2</a></li>
2269                  <li>heuristic expiration time&nbsp;&nbsp;<a href="#rfc.iref.h.1">4.2</a></li>
2270               </ul>
2271            </li>
2272            <li><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul>
2273                  <li>max-age (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.m.1"><b>5.2.1.1</b></a>, <a href="#rfc.iref.m.5"><b>5.2.2.8</b></a></li>
2274                  <li>max-stale (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.m.2"><b>5.2.1.2</b></a></li>
2275                  <li>min-fresh (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.m.3"><b>5.2.1.3</b></a></li>
2276                  <li>Miscellaneous Persistent Warning (warn-text)&nbsp;&nbsp;<a href="#rfc.iref.m.7"><b>5.5.7</b></a>, <a href="#rfc.xref.warn.299.1">7.2.2</a></li>
2277                  <li>Miscellaneous Warning (warn-text)&nbsp;&nbsp;<a href="#rfc.iref.m.6"><b>5.5.5</b></a>, <a href="#rfc.xref.warn.199.1">7.2.2</a></li>
2278                  <li>must-revalidate (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.m.4"><b>5.2.2.1</b></a></li>
2279               </ul>
2280            </li>
2281            <li><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul>
2282                  <li>no-cache (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.n.1"><b>5.2.1.4</b></a>, <a href="#rfc.iref.n.4"><b>5.2.2.2</b></a></li>
2283                  <li>no-store (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.n.2"><b>5.2.1.5</b></a>, <a href="#rfc.iref.n.5"><b>5.2.2.3</b></a></li>
2284                  <li>no-transform (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.n.3"><b>5.2.1.6</b></a>, <a href="#rfc.iref.n.6"><b>5.2.2.4</b></a></li>
2285               </ul>
2286            </li>
2287            <li><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul>
2288                  <li>only-if-cached (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.o.1"><b>5.2.1.7</b></a></li>
2289               </ul>
2290            </li>
2291            <li><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul>
2292                  <li><em>Part1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.1">1.1</a>, <a href="#rfc.xref.Part1.2">1.2</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.1</a>, <a href="#rfc.xref.Part1.6">4.4</a>, <a href="#rfc.xref.Part1.7">4.4</a>, <a href="#rfc.xref.Part1.8">4.4</a>, <a href="#rfc.xref.Part1.9">5.2.1.6</a>, <a href="#rfc.xref.Part1.10">5.2.2.4</a>, <a href="#rfc.xref.Part1.11">8</a>, <a href="#rfc.xref.Part1.12">8</a>, <a href="#rfc.xref.Part1.13">9</a>, <a href="#Part1"><b>10.1</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>, <a href="#rfc.xref.Part1.21">B</a>, <a href="#rfc.xref.Part1.22">C</a><ul>
2293                        <li><em>Section 1.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.22">C</a></li>
2294                        <li><em>Section 2.5</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.1">1.1</a></li>
2295                        <li><em>Section 2.7</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.19">B</a>, <a href="#rfc.xref.Part1.21">B</a></li>
2296                        <li><em>Section 3.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.5">4.1</a>, <a href="#rfc.xref.Part1.16">B</a></li>
2297                        <li><em>Section 3.2.3</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.15">B</a></li>
2298                        <li><em>Section 3.2.6</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.17">B</a>, <a href="#rfc.xref.Part1.18">B</a></li>
2299                        <li><em>Section 3.3.3</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.12">8</a></li>
2300                        <li><em>Section 5.5</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.4">4</a>, <a href="#rfc.xref.Part1.6">4.4</a>, <a href="#rfc.xref.Part1.7">4.4</a>, <a href="#rfc.xref.Part1.8">4.4</a></li>
2301                        <li><em>Section 5.7.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.20">B</a></li>
2302                        <li><em>Section 5.7.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.9">5.2.1.6</a>, <a href="#rfc.xref.Part1.10">5.2.2.4</a></li>
2303                        <li><em>Section 7</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.2">1.2</a></li>
2304                        <li><em>Section 10</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.13">9</a></li>
2305                     </ul>
2306                  </li>
2307                  <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</a>, <a href="#rfc.xref.Part2.5">4.2.2</a>, <a href="#rfc.xref.Part2.6">4.2.3</a>, <a href="#rfc.xref.Part2.7">4.4</a>, <a href="#rfc.xref.Part2.8">5.3</a>, <a href="#rfc.xref.Part2.9">8</a>, <a href="#Part2"><b>10.1</b></a>, <a href="#rfc.xref.Part2.10">B</a><ul>
2308                        <li><em>Section 4.2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.3">4</a>, <a href="#rfc.xref.Part2.7">4.4</a></li>
2309                        <li><em>Section 4.3.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.2">2</a></li>
2310                        <li><em>Section 6.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.5">4.2.2</a></li>
2311                        <li><em>Section 7.1.1.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.8">5.3</a>, <a href="#rfc.xref.Part2.10">B</a></li>
2312                        <li><em>Section 7.1.1.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.6">4.2.3</a></li>
2313                        <li><em>Section 7.1.4</em>&nbsp;&nbsp;<a href="#rfc.xref.Part2.4">4.1</a></li>
2314                     </ul>
2315                  </li>
2316                  <li><em>Part4</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.1">4.2.2</a>, <a href="#rfc.xref.Part4.2">4.3</a>, <a href="#rfc.xref.Part4.3">4.3.1</a>, <a href="#rfc.xref.Part4.4">4.3.1</a>, <a href="#rfc.xref.Part4.5">4.3.2</a>, <a href="#rfc.xref.Part4.6">4.3.2</a>, <a href="#rfc.xref.Part4.7">4.3.2</a>, <a href="#rfc.xref.Part4.8">4.3.4</a>, <a href="#Part4"><b>10.1</b></a><ul>
2317                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.8">4.3.4</a></li>
2318                        <li><em>Section 2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.1">4.2.2</a>, <a href="#rfc.xref.Part4.3">4.3.1</a></li>
2319                        <li><em>Section 2.3</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.4">4.3.1</a></li>
2320                        <li><em>Section 3.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.6">4.3.2</a></li>
2321                        <li><em>Section 3.3</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.7">4.3.2</a></li>
2322                        <li><em>Section 6</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.5">4.3.2</a></li>
2323                     </ul>
2324                  </li>
2325                  <li><em>Part5</em>&nbsp;&nbsp;<a href="#rfc.xref.Part5.1">3.1</a>, <a href="#rfc.xref.Part5.2">3.3</a>, <a href="#rfc.xref.Part5.3">3.3</a>, <a href="#rfc.xref.Part5.4">4.3.2</a>, <a href="#rfc.xref.Part5.5">4.3.2</a>, <a href="#Part5"><b>10.1</b></a><ul>
2326                        <li><em>Section 3.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part5.5">4.3.2</a></li>
2327                        <li><em>Section 4.3</em>&nbsp;&nbsp;<a href="#rfc.xref.Part5.3">3.3</a></li>
2328                     </ul>
2329                  </li>
2330                  <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>10.1</b></a><ul>
2331                        <li><em>Section 4.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part7.1">3</a>, <a href="#rfc.xref.Part7.2">3.2</a></li>
2332                     </ul>
2333                  </li>
2334                  <li>Pragma header field&nbsp;&nbsp;<a href="#rfc.xref.header.pragma.1">4</a>, <a href="#rfc.iref.p.5"><b>5.4</b></a>, <a href="#rfc.xref.header.pragma.2">7.3</a>, <a href="#rfc.xref.header.pragma.3">A</a></li>
2335                  <li>private (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.p.3"><b>5.2.2.6</b></a></li>
2336                  <li>private cache&nbsp;&nbsp;<a href="#rfc.iref.p.1">1</a></li>
2337                  <li>proxy-revalidate (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.p.4"><b>5.2.2.7</b></a></li>
2338                  <li>public (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.p.2"><b>5.2.2.5</b></a></li>
2339               </ul>
2340            </li>
2341            <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul>
2342                  <li>Response is Stale (warn-text)&nbsp;&nbsp;<a href="#rfc.xref.warn.110.1">4.2.4</a>, <a href="#rfc.iref.r.1"><b>5.5.1</b></a>, <a href="#rfc.xref.warn.110.2">7.2.2</a></li>
2343                  <li>Revalidation Failed (warn-text)&nbsp;&nbsp;<a href="#rfc.iref.r.2"><b>5.5.2</b></a>, <a href="#rfc.xref.warn.111.1">7.2.2</a></li>
2344                  <li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">1.1</a>, <a href="#RFC2119"><b>10.1</b></a></li>
2345                  <li><em>RFC2616</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">4.2.2</a>, <a href="#RFC2616"><b>10.2</b></a><ul>
2346                        <li><em>Section 13.9</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">4.2.2</a></li>
2347                     </ul>
2348                  </li>
2349                  <li><em>RFC5226</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5226.1">7.1.1</a>, <a href="#rfc.xref.RFC5226.2">7.2.1</a>, <a href="#RFC5226"><b>10.2</b></a><ul>
2350                        <li><em>Section 4.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5226.1">7.1.1</a>, <a href="#rfc.xref.RFC5226.2">7.2.1</a></li>
2351                     </ul>
2352                  </li>
2353                  <li><em>RFC5234</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5234.1">1.2</a>, <a href="#RFC5234"><b>10.1</b></a>, <a href="#rfc.xref.RFC5234.2">B</a><ul>
2354                        <li><em>Appendix B.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5234.2">B</a></li>
2355                     </ul>
2356                  </li>
2357                  <li><em>RFC5861</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5861.1">7.1.3</a>, <a href="#rfc.xref.RFC5861.2">7.1.3</a>, <a href="#RFC5861"><b>10.2</b></a><ul>
2358                        <li><em>Section 3</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5861.2">7.1.3</a></li>
2359                        <li><em>Section 4</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5861.1">7.1.3</a></li>
2360                     </ul>
2361                  </li>
2362                  <li><em>RFC5905</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5905.1">4.2.3</a>, <a href="#RFC5905"><b>10.2</b></a></li>
2363                  <li><em>RFC6265</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC6265.1">8</a>, <a href="#RFC6265"><b>10.2</b></a></li>
2364               </ul>
2365            </li>
2366            <li><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul>
2367                  <li>s-maxage (cache directive)&nbsp;&nbsp;<a href="#rfc.iref.s.4"><b>5.2.2.9</b></a></li>
2368                  <li>shared cache&nbsp;&nbsp;<a href="#rfc.iref.s.1">1</a></li>
2369                  <li>stale&nbsp;&nbsp;<a href="#rfc.iref.s.2">4.2</a></li>
2370                  <li>strong validator&nbsp;&nbsp;<a href="#rfc.iref.s.3">4.3.4</a></li>
2371               </ul>
2372            </li>
2373            <li><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul>
2374                  <li>Transformation Applied (warn-text)&nbsp;&nbsp;<a href="#rfc.iref.t.1"><b>5.5.6</b></a>, <a href="#rfc.xref.warn.214.1">7.2.2</a></li>
2375               </ul>
2376            </li>
2377            <li><a id="rfc.index.V" href="#rfc.index.V"><b>V</b></a><ul>
2378                  <li>validator&nbsp;&nbsp;<a href="#rfc.iref.v.1">4.3.1</a></li>
2379               </ul>
2380            </li>
2381            <li><a id="rfc.index.W" href="#rfc.index.W"><b>W</b></a><ul>
2382                  <li>Warning header field&nbsp;&nbsp;<a href="#rfc.xref.header.warning.1">3.3</a>, <a href="#rfc.xref.header.warning.2">4.3.4</a>, <a href="#rfc.xref.header.warning.3">4.3.5</a>, <a href="#rfc.iref.w.1"><b>5.5</b></a>, <a href="#rfc.xref.header.warning.4">7.3</a>, <a href="#rfc.xref.header.warning.5">A</a></li>
2383               </ul>
2384            </li>
2385         </ul>
2386      </div>
2387   </body>
2388</html>
Note: See TracBrowser for help on using the repository browser.