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

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

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

  • Property svn:eol-style set to native
File size: 101.2 KB
[29]1<?xml version="1.0" encoding="utf-8"?>
[540]2<?xml-stylesheet type='text/xsl' href='rfc2629.xslt'?>
[8]3<!DOCTYPE rfc [
4  <!ENTITY MAY "<bcp14 xmlns=''>MAY</bcp14>">
5  <!ENTITY MUST "<bcp14 xmlns=''>MUST</bcp14>">
6  <!ENTITY MUST-NOT "<bcp14 xmlns=''>MUST NOT</bcp14>">
7  <!ENTITY OPTIONAL "<bcp14 xmlns=''>OPTIONAL</bcp14>">
8  <!ENTITY RECOMMENDED "<bcp14 xmlns=''>RECOMMENDED</bcp14>">
9  <!ENTITY REQUIRED "<bcp14 xmlns=''>REQUIRED</bcp14>">
10  <!ENTITY SHALL "<bcp14 xmlns=''>SHALL</bcp14>">
11  <!ENTITY SHALL-NOT "<bcp14 xmlns=''>SHALL NOT</bcp14>">
12  <!ENTITY SHOULD "<bcp14 xmlns=''>SHOULD</bcp14>">
13  <!ENTITY SHOULD-NOT "<bcp14 xmlns=''>SHOULD NOT</bcp14>">
[29]14  <!ENTITY ID-VERSION "latest">
[573]15  <!ENTITY ID-MONTH "May">
[439]16  <!ENTITY ID-YEAR "2009">
[424]17  <!ENTITY notation                    "<xref target='Part1' x:rel='#notation' xmlns:x=''/>">
[205]18  <!ENTITY basic-rules                 "<xref target='Part1' x:rel='#basic.rules' xmlns:x=''/>">
[538]19  <!ENTITY uri                         "<xref target='Part1' x:rel='#uri' xmlns:x=''/>">
[31]20  <!ENTITY messaging                   "<xref target='Part1' xmlns:x=''/>">
[183]21  <!ENTITY conditional                 "<xref target='Part4' xmlns:x=''/>">
[538]22  <!ENTITY partial                     "<xref target='Part5' xmlns:x=''/>">
[31]23  <!ENTITY combining-byte-ranges       "<xref target='Part5' x:rel='#combining.byte.ranges' xmlns:x=''/>">
24  <!ENTITY entity-length               "<xref target='Part3' x:rel='#entity.length' xmlns:x=''/>">
25  <!ENTITY full-date                   "<xref target='Part1' x:rel='' xmlns:x=''/>">
26  <!ENTITY header-authorization        "<xref target='Part7' x:rel='#header.authorization' xmlns:x=''/>">
27  <!ENTITY header-connection           "<xref target='Part1' x:rel='#header.connection' xmlns:x=''/>">
28  <!ENTITY header-date                 "<xref target='Part1' x:rel='' xmlns:x=''/>">
[205]29  <!ENTITY header-via                  "<xref target='Part1' x:rel='#header.via' xmlns:x=''/>">
[538]30  <!ENTITY header-last-modified        "<xref target='Part4' x:rel='#header.last-modified' xmlns:x=''/>">
[31]31  <!ENTITY message-headers             "<xref target='Part1' x:rel='#message.headers' xmlns:x=''/>">
32  <!ENTITY message-length              "<xref target='Part1' x:rel='#message.length' xmlns:x=''/>">
33  <!ENTITY safe-methods                "<xref target='Part2' x:rel='#safe.methods' xmlns:x=''/>">
34  <!ENTITY server-driven-negotiation   "<xref target='Part3' x:rel='#server-driven.negotiation' xmlns:x=''/>">
36<?rfc toc="yes" ?>
[29]37<?rfc symrefs="yes" ?>
38<?rfc sortrefs="yes" ?>
[8]39<?rfc compact="yes"?>
40<?rfc subcompact="no" ?>
41<?rfc linkmailto="no" ?>
42<?rfc editing="no" ?>
[203]43<?rfc comments="yes"?>
44<?rfc inline="yes"?>
[8]45<?rfc-ext allow-markup-in-artwork="yes" ?>
46<?rfc-ext include-references-in-index="yes" ?>
[538]47<rfc category="std" docName="draft-ietf-httpbis-p6-cache-&ID-VERSION;" ipr="pre5378Trust200902"
48  obsoletes="2616" x:maturity-level="draft" xmlns:x="">
[547]51  <title abbrev="HTTP/1.1, Part 6">HTTP/1.1, part 6: Caching</title>
[547]53  <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
54    <organization abbrev="Day Software">Day Software</organization>
55    <address>
[8]56      <postal>
[29]57        <street>23 Corporate Plaza DR, Suite 280</street>
58        <city>Newport Beach</city>
[8]59        <region>CA</region>
[29]60        <code>92660</code>
61        <country>USA</country>
[8]62      </postal>
[29]63      <phone>+1-949-706-5300</phone>
64      <facsimile>+1-949-706-5305</facsimile>
65      <email></email>
66      <uri></uri>
[8]67    </address>
[547]68  </author>
[547]70  <author fullname="Jim Gettys" initials="J." surname="Gettys">
71    <organization>One Laptop per Child</organization>
72    <address>
[8]73      <postal>
[29]74        <street>21 Oak Knoll Road</street>
75        <city>Carlisle</city>
[8]76        <region>MA</region>
[29]77        <code>01741</code>
78        <country>USA</country>
[8]79      </postal>
[29]80      <email></email>
81      <uri></uri>
[8]82    </address>
[547]83  </author>
[547]85  <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
86    <organization abbrev="HP">Hewlett-Packard Company</organization>
87    <address>
[8]88      <postal>
[29]89        <street>HP Labs, Large Scale Systems Group</street>
90        <street>1501 Page Mill Road, MS 1177</street>
[8]91        <city>Palo Alto</city>
92        <region>CA</region>
[29]93        <code>94304</code>
94        <country>USA</country>
[8]95      </postal>
[29]96      <email></email>
[8]97    </address>
[547]98  </author>
[547]100  <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
101    <organization abbrev="Microsoft">Microsoft Corporation</organization>
102    <address>
[8]103      <postal>
[29]104        <street>1 Microsoft Way</street>
105        <city>Redmond</city>
106        <region>WA</region>
107        <code>98052</code>
108        <country>USA</country>
[8]109      </postal>
[29]110      <email></email>
[8]111    </address>
[547]112  </author>
[547]114  <author fullname="Larry Masinter" initials="L." surname="Masinter">
115    <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
116    <address>
[8]117      <postal>
[29]118        <street>345 Park Ave</street>
119        <city>San Jose</city>
[8]120        <region>CA</region>
[29]121        <code>95110</code>
122        <country>USA</country>
[8]123      </postal>
[29]124      <email></email>
125      <uri></uri>
[8]126    </address>
[547]127  </author>
[547]129  <author fullname="Paul J. Leach" initials="P." surname="Leach">
130    <organization abbrev="Microsoft">Microsoft Corporation</organization>
131    <address>
[8]132      <postal>
133        <street>1 Microsoft Way</street>
134        <city>Redmond</city>
135        <region>WA</region>
136        <code>98052</code>
137      </postal>
138      <email></email>
139    </address>
[547]140  </author>
[547]142  <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
143    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
144    <address>
[8]145      <postal>
[34]146        <street>MIT Computer Science and Artificial Intelligence Laboratory</street>
147        <street>The Stata Center, Building 32</street>
148        <street>32 Vassar Street</street>
[8]149        <city>Cambridge</city>
150        <region>MA</region>
151        <code>02139</code>
[29]152        <country>USA</country>
[8]153      </postal>
154      <email></email>
[34]155      <uri></uri>
[8]156    </address>
[547]157  </author>
[547]159  <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
160    <organization abbrev="W3C">World Wide Web Consortium</organization>
161    <address>
[93]162      <postal>
163        <street>W3C / ERCIM</street>
164        <street>2004, rte des Lucioles</street>
165        <city>Sophia-Antipolis</city>
166        <region>AM</region>
167        <code>06902</code>
168        <country>France</country>
169      </postal>
170      <email></email>
171      <uri></uri>
172    </address>
[547]173  </author>
[547]175  <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
176    <organization abbrev="greenbytes">greenbytes GmbH</organization>
177    <address>
[95]178      <postal>
179        <street>Hafenweg 16</street>
180        <city>Muenster</city><region>NW</region><code>48155</code>
181        <country>Germany</country>
182      </postal>
183      <phone>+49 251 2807760</phone>   
184      <facsimile>+49 251 2807761</facsimile>   
185      <email></email>       
186      <uri></uri>     
187    </address>
[547]188  </author>
[547]190  <date month="&ID-MONTH;" year="&ID-YEAR;" />
191  <workgroup>HTTPbis Working Group</workgroup>
195  The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed,
196  collaborative, hypermedia information systems. This document is Part 6 of the seven-part
197  specification that defines the protocol referred to as "HTTP/1.1" and, taken together,
198  obsoletes RFC 2616. Part 6 defines requirements on HTTP caches and the associated header
199  fields that control cache behavior or indicate cacheable response messages.
[540]203<note title="Editorial Note (To be removed by RFC Editor)">
205  Discussion of this draft should take place on the HTTPBIS working group mailing list
206  ( The current issues list is at <eref
207  target="" /> and related documents
208  (including fancy diffs) can be found at <eref target="" />.
[547]211  The changes in this draft are summarized in <xref target="changes.since.06" />.
[538]215  </front>
216  <middle>
[540]218<section anchor="caching" title="Introduction">
220  HTTP is typically used for distributed information systems, where performance can be
221  improved by the use of response caches. This document defines aspects of HTTP/1.1 related to
222  caching and reusing response messages.
[540]225<section anchor="intro.purpose" title="Purpose">
226<iref item="cache" />
228  An HTTP <x:dfn>cache</x:dfn> is a local store of response messages and the subsystem that
229  controls its message storage, retrieval, and deletion. A cache stores cacheable responses
230  in order to reduce the response time and network bandwidth consumption on future,
231  equivalent requests. Any client or server may include a cache, though a cache cannot be
232  used by a server that is acting as a tunnel.
235  Caching would be useless if it did not significantly improve performance. The goal of
236  caching in HTTP/1.1 is to reuse a prior response message to satisfy a current request. In
237  some cases, a stored response can be reused without the need for a network request,
238  reducing latency and network round-trips; a "freshness" mechanism is used for this purpose
239  (see <xref target="expiration.model" />). Even when a new request is required, it is often
240  possible to reuse all or parts of the payload of a prior response to satisfy the request,
241  thereby reducing network bandwidth usage; a "validation" mechanism is used for this
242  purpose (see <xref target="validation.model" />).
[540]246<section anchor="intro.terminology" title="Terminology">
248  >This specification uses a number of terms to refer to the roles played by participants
249  in, and objects of, HTTP caching.
252  <iref item="cacheable" />
253  <x:dfn>cacheable</x:dfn>
254  <list>
255    <t>A response is cacheable if a cache is allowed to store a copy of the response message
256      for use in answering subsequent requests. Even when a response is cacheable, there may
257      be additional constraints on whether a cache can use the cached copy to satisfy a
258      particular request.</t>
259  </list>
262  <iref item="explicit expiration time" />
263  <x:dfn>explicit expiration time</x:dfn>
264  <list>
265    <t>The time at which the origin server intends that an entity should no longer be
266      returned by a cache without further validation.</t>
267  </list>
270  <iref item="heuristic expiration time" />
271  <x:dfn>heuristic expiration time</x:dfn>
272  <list>
273    <t>An expiration time assigned by a cache when no explicit expiration time is
274    available.</t>
275  </list>
278  <iref item="age" />
279  <x:dfn>age</x:dfn>
280  <list>
281    <t>The age of a response is the time since it was sent by, or successfully validated
282      with, the origin server.</t>
283  </list>
286  <iref item="first-hand" />
287  <x:dfn>first-hand</x:dfn>
288  <list>
289    <t>A response is first-hand if the freshness model is not in use; i.e., its age is
290    0.</t>
291  </list>
294  <iref item="freshness lifetime" />
295  <x:dfn>freshness lifetime</x:dfn>
296  <list>
297    <t>The length of time between the generation of a response and its expiration time. </t>
298  </list>
301  <iref item="fresh" />
302  <x:dfn>fresh</x:dfn>
303  <list>
304    <t>A response is fresh if its age has not yet exceeded its freshness lifetime.</t>
305  </list>
308  <iref item="stale" />
309  <x:dfn>stale</x:dfn>
310  <list>
311    <t>A response is stale if its age has passed its freshness lifetime (either explicit or heuristic).</t>
312  </list>
315  <iref item="validator" />
316  <x:dfn>validator</x:dfn>
317  <list>
318    <t>A protocol element (e.g., an entity tag or a Last-Modified time) that is used to find
319      out whether a stored response is an equivalent copy of an entity.</t>
320  </list>
322<t anchor="shared.and.non-shared.caches">
323  <iref item="validator" />
324  <x:dfn>shared cache</x:dfn>
325  <list>
326    <t>A cache that is accessible to more than one user. A non-shared cache is
327      dedicated to a single user.</t>
328  </list>
[540]332<section anchor="intro.requirements" title="Requirements">
334  The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD
335  NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as
336  described in <xref target="RFC2119" />.
339  An implementation is not compliant if it fails to satisfy one or more of the &MUST;
340  or &REQUIRED; level requirements for the protocols it implements. An implementation
341  that satisfies all the &MUST; or &REQUIRED; level and all the &SHOULD; level
342  requirements for its protocols is said to be "unconditionally compliant"; one that
343  satisfies all the &MUST; level requirements but not all the &SHOULD; level
344  requirements for its protocols is said to be "conditionally compliant."
[424]348<section title="Syntax Notation" anchor="notation">
[425]349  <x:anchor-alias value="ALPHA"/>
350  <x:anchor-alias value="CR"/>
351  <x:anchor-alias value="DIGIT"/>
352  <x:anchor-alias value="DQUOTE"/>
353  <x:anchor-alias value="LF"/>
354  <x:anchor-alias value="OCTET"/>
355  <x:anchor-alias value="SP"/>
356  <x:anchor-alias value="VCHAR"/>
357  <x:anchor-alias value="WSP"/>
[543]359  This specification uses the ABNF syntax defined in &notation; (which
360  extends the syntax defined in <xref target="RFC5234"/> with a list rule).
361  <xref target="collected.abnf"/> shows the collected ABNF, with the list
362  rule expanded.
[425]365  The following core rules are included by
366  reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
367  ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
368  DIGIT (decimal 0-9), DQUOTE (double quote),
369  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
370  OCTET (any 8-bit sequence of data), SP (space),
371  VCHAR (any visible USASCII character),
372  and WSP (whitespace).
[424]375<section title="Core Rules" anchor="core.rules">
[229]376  <x:anchor-alias value="quoted-string"/>
377  <x:anchor-alias value="token"/>
[364]378  <x:anchor-alias value="OWS"/>
[424]380  The core rules below are defined in &basic-rules;:
382<figure><artwork type="abnf2616">
[229]383  <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in &basic-rules;&gt;
384  <x:ref>token</x:ref>         = &lt;token, defined in &basic-rules;&gt;
[364]385  <x:ref>OWS</x:ref>           = &lt;OWS, defined in &basic-rules;&gt;
389<section title="ABNF Rules defined in other Parts of the Specification" anchor="abnf.dependencies">
[229]390  <x:anchor-alias value="field-name"/>
391  <x:anchor-alias value="HTTP-date"/>
392  <x:anchor-alias value="port"/>
393  <x:anchor-alias value="pseudonym"/>
394  <x:anchor-alias value="uri-host"/>
[205]396  The ABNF rules below are defined in other parts:
[207]398<figure><!--Part1--><artwork type="abnf2616">
[229]399  <x:ref>field-name</x:ref>    = &lt;field-name, defined in &message-headers;&gt;
400  <x:ref>HTTP-date</x:ref>     = &lt;HTTP-date, defined in &full-date;&gt;
[374]401  <x:ref>port</x:ref>          = &lt;port, defined in &uri;&gt;
[229]402  <x:ref>pseudonym</x:ref>     = &lt;pseudonym, defined in &header-via;&gt; 
[374]403  <x:ref>uri-host</x:ref>      = &lt;uri-host, defined in &uri;&gt;
[540]410<section anchor="caching.overview" title="Cache Operation">
[540]412<section anchor="response.cacheability" title="Response Cacheability">
414  A cache &MUST-NOT; store a response to any request, unless:
415  <list style="symbols">
416    <t>The request method is defined as being cacheable, and</t>
417    <t>the "no-store" cache directive (see <xref target="header.cache-control" />) does not
418       appear in request or response headers, and</t>
419    <t>the "private" cache response directive (see <xref target="header.cache-control" />
420       does not appear in the response, if the cache is shared, and</t>
421    <t>the "Authorization" header (see &header-authorization;) does not appear in the request, if
422       the cache is shared (unless the "public" directive is present; see <xref
423       target="header.cache-control" />), and</t>           
424    <t>the cache understands partial responses, if the response is partial or incomplete
425       (see <xref target="errors.or.incomplete.response.cache.behavior" />).</t>
426  </list>
429  Note that in normal operation, most caches will not store a response that has neither a
430  cache validator nor an explicit expiration time, as such responses are not usually
431  useful to store. However, caches are not prohibited from storing such responses.
[540]434<section anchor="errors.or.incomplete.response.cache.behavior" title="Storing Partial and Incomplete Responses">
436  A cache that receives an incomplete response (for example, with fewer bytes of data
437  than specified in a Content-Length header) can store the response, but &MUST; 
438  treat it as a partial response &partial;. Partial responses
439  can be combined as described in &combining-byte-ranges;; the result might be a
440  full response or might still be partial. A cache &MUST-NOT; return a partial
441  response to a client without explicitly marking it as such using the 206 (Partial
442  Content) status code.
445  A cache that does not support the Range and Content-Range headers &MUST-NOT; store
446  incomplete or partial responses.
[540]453<section anchor="constructing.responses.from.caches" title="Constructing Responses from Caches">
455For a presented request, a cache &MUST-NOT; return a stored response, unless:
456  <list style="symbols">
[561]457    <t>The presented Request-URI and that of the stored response match
458      (<cref anchor="TODO-Request-URI">Need to find a new term for this, as Part
459      1 doesn't define Request-URI anymore; the new term request-target does not
460      work for this.</cref>), and</t>
[540]461    <t>the request method associated with the stored response allows it to be
462      used for the presented request, and</t>
463    <t>selecting request-headers nominated by the stored response (if any) match those presented (see <xref
464      target="caching.negotiated.responses" />), and</t>
465    <t>the presented request and stored response are free from directives that would prevent
466      its use (see <xref target="header.cache-control" /> and <xref target="header.pragma"/>),
467      and</t>
468    <t>the stored response is either:
469      <list style="symbols">
470        <t>fresh (see <xref target="expiration.model" />), or</t>
471        <t>allowed to be served stale (see <xref target="serving.stale.responses" />), or</t>
472        <t>successfully validated (see <xref target="validation.model" />).</t>
473      </list>
474    </t>
475  </list>
[562]478  <cref anchor="TODO-method-cacheability">define method cacheability for GET, HEAD and POST in p2-semantics.</cref>
481  When a stored response is used to satisfy a request, caches &MUST; include a
482  single Age header field <xref target="header.age" /> in the response with a value equal to the stored response's
483  current_age; see <xref target="age.calculations" />.
484  <cref>DISCUSS: this currently includes successfully validated responses.</cref>
487  Requests with methods that are unsafe (&safe-methods;) &MUST; be written through the cache to
488  the origin server; i.e., A cache must not reply to such a request before having forwarded the request and having received a
489  corresponding response.
492  Also, note that unsafe requests might invalidate already stored responses; see
493  <xref target="invalidation.after.updates.or.deletions" />.
496  Caches &MUST; use the most recent response (as determined by the Date header) when
497  more than one suitable response is stored. They can also forward a request with
498  "Cache-Control: max-age=0" or "Cache-Control: no-cache" to disambiguate which response to
499  use.
[562]502  <cref anchor="TODO-header-properties">end-to-end and hop-by-hop headers, non-modifiable headers removed; re-spec in p1</cref>
[540]506<section anchor="expiration.model" title="Freshness Model">
508  When a response is "fresh" in the cache, it can be used to satisfy subsequent
509  requests without contacting the origin server, thereby improving efficiency.
512  The primary mechanism for determining freshness is for an origin server to provide an
513  explicit expiration time in the future, using either the Expires header (<xref
514  target="header.expires" />) or the max-age response cache directive (<xref
515  target="cache-response-directive" />). Generally, origin servers will assign future
516  explicit expiration times to responses in the belief that the entity is not likely to
517  change in a semantically significant way before the expiration time is reached.
520  If an origin server wishes to force a cache to validate every request, it can
521  assign an explicit expiration time in the past. This means that the response is always
522  stale, so that caches should validate it before using it for subsequent requests.
523  <cref>This wording may cause confusion, because the response may still be served stale.</cref>
526  Since origin servers do not always provide explicit expiration times, HTTP caches may
527  also assign heuristic expiration times when they are not specified, employing algorithms that
528  use other header values (such as the Last-Modified time) to estimate a plausible
529  expiration time. The HTTP/1.1 specification does not provide specific algorithms, but does
530  impose worst-case constraints on their results.
534The calculation to determine if a response is fresh is:
536<artwork type="code">
[538]537   response_is_fresh = (freshness_lifetime &gt; current_age)
542  The freshness_lifetime is defined in <xref target="calculating.freshness.lifetime" />;
543  the current_age is defined in <xref target="age.calculations" />.
546  Additionally, clients may need to influence freshness calculation. They can do this using
547  several request cache directives, with the effect of either increasing or loosening
548  constraints on freshness. See <xref target="cache-request-directive" />.
551  <cref>ISSUE: there are not requirements directly applying to cache-request-directives and
552  freshness.</cref>
555  Note that freshness applies only to cache operation; it cannot be used to force a user agent
556  to refresh its display or reload a resource. See <xref target="history.lists" /> for an explanation of
557  the difference between caches and history mechanisms.
[540]560<section anchor="calculating.freshness.lifetime" title="Calculating Freshness Lifetime">
562  A cache can calculate the freshness lifetime (denoted as freshness_lifetime) of a
563  response by using the first match of:
564  <list style="symbols">
565    <t>If the cache is shared and the s-maxage response cache directive (<xref
566      target="cache-response-directive" />) is present, use its value, or</t>
567    <t>If the max-age response cache directive (<xref target="cache-response-directive"
568      />) is present, use its value, or</t>
569    <t>If the Expires response header (<xref target="header.expires" />) is present, use
570      its value minus the value of the Date response header, or</t>
571    <t>Otherwise, no explicit expiration time is present in the response, but a heuristic
572      may be used; see <xref target="heuristic.freshness" />.</t>
573  </list>
576  Note that this calculation is not vulnerable to clock skew, since all of the
577  information comes from the origin server.
[540]580<section anchor="heuristic.freshness" title="Calculating Heuristic Freshness">
582  If no explicit expiration time is present in a stored response that has a status code
583  of 200, 203, 206, 300, 301 or 410, a heuristic expiration time can be
584  calculated. Heuristics &MUST-NOT; be used for other response status codes.
587  When a heuristic is used to calculate freshness lifetime, the cache &SHOULD;
588  attach a Warning header with a 113 warn-code to the response if its current_age is
589  more than 24 hours and such a warning is not already present.
592  Also, if the response has a Last-Modified header (&header-last-modified;), the
593  heuristic expiration value &SHOULD; be no more than some fraction of the interval
594  since that time. A typical setting of this fraction might be 10%.
597  <cref>REVIEW: took away HTTP/1.0 query string heuristic uncacheability.</cref>
[540]602<section anchor="age.calculations" title="Calculating Age">
604  HTTP/1.1 uses the Age response-header to convey the estimated age of the response
605  message when obtained from a cache. The Age field value is the cache's estimate of the
606  amount of time since the response was generated or validated by the origin server. In
607  essence, the Age value is the sum of the time that the response has been resident in
608  each of the caches along the path from the origin server, plus the amount of time it has
609  been in transit along network paths.
612  The term "age_value" denotes the value of the Age header, in a form appropriate for
613  arithmetic operations.
616  HTTP/1.1 requires origin servers to send a Date header, if possible, with every
617  response, giving the time at which the response was generated (see &header-date;).
618  The term "date_value" denotes the value of the Date header, in a form appropriate for
619  arithmetic operations.
622  The term "now" means "the current value of the clock at the host performing the
623  calculation." Hosts that use HTTP, but especially hosts running origin servers and
624  caches, &SHOULD; use NTP <xref target="RFC1305" /> or some similar protocol to
625  synchronize their clocks to a globally accurate time standard.
627<t>A response's age can be calculated in two entirely independent ways:
628  <list style="numbers">
629    <t>now minus date_value, if the local clock is reasonably well synchronized to the
630      origin server's clock. If the result is negative, the result is replaced by zero.</t>
631    <t>age_value, if all of the caches along the response path implement HTTP/1.1.</t>
632  </list>
635<preamble>These are combined as</preamble>
636<artwork type="code">
[8]637    corrected_received_age = max(now - date_value, age_value)
640  When an Age value is received, it &MUST; be interpreted relative to the time the
641  request was initiated, not the time that the response was received.
643<figure><artwork type="code">
[8]644   corrected_initial_age = corrected_received_age
645                         + (now - request_time)
648  where "request_time" is the time (according to the local clock) when the request that
649  elicited this response was sent.
652  The current_age of a stored response can then be calculated by adding the amount of
653  time (in seconds) since the stored response was last validated by the origin server to
654  the corrected_initial_age.
657  In summary:
659<figure><artwork type="code">
660  age_value     - Age header field-value received with the response
661  date_value    - Date header field-value received with the response
662  request_time  - local time when the cache made the request
663                 resulting in the stored response
664  response_time - local time when the cache received the response
665  now           - current local time
667  apparent_age = max(0, response_time - date_value);
668  corrected_received_age = max(apparent_age, age_value);
669  response_delay = response_time - request_time;
670  corrected_initial_age = corrected_received_age + response_delay;
671  resident_time = now - response_time;
672  current_age   = corrected_initial_age + resident_time;
[540]676<section anchor="serving.stale.responses" title="Serving Stale Responses">
678  A "stale" response is one that either has explicit expiry information, or is allowed to
679  have heuristic expiry calculated, but is not fresh according to the calculations in
680  <xref target="expiration.model" />.
683  Caches &MUST-NOT; return a stale response if it is prohibited by an explicit
684  in-protocol directive (e.g., by a "no-store" or "no-cache" cache directive, a
685  "must-revalidate" cache-response-directive, or an applicable "s-maxage" or
686  "proxy-revalidate" cache-response-directive; see <xref target="cache-response-directive"/>).
689  Caches &SHOULD-NOT; return stale responses unless they are
690  disconnected (i.e., it cannot contact the origin server or otherwise find a forward path)
691  or otherwise explicitly allowed (e.g., the max-stale request directive; see <xref target="cache-request-directive" />).
694  Stale responses &SHOULD; have a Warning header with the 110 warn-code (see <xref
695  target="header.warning" />). Likewise, the 112 warn-code &SHOULD; be sent on stale responses if
696  the cache is disconnected.
699  If a cache receives a first-hand response (either an entire response, or a 304 (Not
700  Modified) response) that it would normally forward to the requesting client, and the
701  received response is no longer fresh, the cache &SHOULD; forward it to the
702  requesting client without adding a new Warning (but without removing any existing
703  Warning headers). A cache &SHOULD-NOT; attempt to validate a response simply because
704  that response became stale in transit.
[540]709<section anchor="validation.model" title="Validation Model">
711  Checking with the origin server to see if a stale or otherwise unusable cached response
712  can be reused is called "validating" or "revalidating." Doing so potentially avoids
713  the overhead of retransmitting the response body when the stored response is valid.
716  HTTP's conditional request mechanism &conditional; is used for this purpose. When a stored
717  response includes one or more validators, such as the field values of an ETag or
718  Last-Modified header field, then a validating request &SHOULD; be made conditional
719  to those field values.
722  A 304 (Not Modified) response status code indicates that the stored
723  response can be updated and reused; see <xref target="combining.headers"/>.
726  If instead the cache receives a full response (i.e., one with a response body), it is used to satisfy the
727  request and replace the stored response. <cref>Should there be a requirement here?</cref>
730  If a cache receives a 5xx response while attempting to validate a response, it &MAY;
731  either forward this response to the requesting client, or act as if the server failed to
732  respond. In the latter case, it &MAY; return a previously stored response (which &SHOULD; include the
733  111 warn-code; see <xref target="header.warning"/>) unless the
734  stored response includes the "must-revalidate" cache directive (see <xref
735  target="serving.stale.responses" />).
[540]739<section anchor="invalidation.after.updates.or.deletions" title="Request Methods that Invalidate">
741  Because unsafe methods (&safe-methods;) have the potential for changing state on the
742  origin server, intervening caches can use them to keep their contents
743  up-to-date.
746  The following HTTP methods &MUST; cause a cache to invalidate the Request-URI as well
747  as the Location and Content-Location headers (if present):
748  <list style="symbols">
749    <t>PUT</t>
750    <t>DELETE</t>
751    <t>POST</t>
752  </list>
755  An invalidation based on the URI in a Location or Content-Location header &MUST-NOT;
756  be performed if the host part of that URI differs from the host part in the Request-URI.
757  This helps prevent denial of service attacks.
760  <cref>TODO: "host part" needs to be specified better.</cref>
763  A cache that passes through requests for methods it does not understand &SHOULD;
764  invalidate the Request-URI.
767  Here, "invalidate" means that the cache will either remove all stored responses related
768  to the Request-URI, or will mark these as "invalid" and in need of a mandatory validation
769  before they can be returned in response to a subsequent request.
772  Note that this does not guarantee that all appropriate responses are invalidated. For
773  example, the request that caused the change at the origin server might not have gone
774  through the cache where a response is stored.
777  <cref>TODO: specify that only successful (2xx, 3xx?) responses invalidate.</cref>
[540]781<section anchor="caching.negotiated.responses" title="Caching Negotiated Responses">
783  Use of server-driven content negotiation (&server-driven-negotiation;) alters
784  the conditions under which a cache can use the response for subsequent
785  requests.
788  When a cache receives a request that can be satisfied by a stored response
789  that includes a Vary header field (<xref target="header.vary"/>), it &MUST-NOT; use that response unless
790  all of the selecting request-headers in the presented request match the corresponding
791  stored request-headers from the original request.
794  The selecting request-headers from two requests are defined to match if and only if the
795  selecting request-headers in the first request can be transformed to the selecting
796  request-headers in the second request by adding or removing linear white space
797  <cref>[ref]</cref> at places where this is allowed by the corresponding ABNF, and/or
798  combining multiple message-header fields with the same field name following the rules
[567]799  about message headers in &message-headers;. <cref anchor="DISCUSS-header-specific-canonicalization">
800  Should the matching requirement be relaxed so that it would be ok to use a cached response
801  if the selecting request headers match after header-specific canonicalization?
802  (see <eref target="">Issue 147</eref>)
803  </cref>
806  A Vary header field-value of "*" always fails to match, and subsequent requests to that
807  resource can only be properly interpreted by the origin server.
810  If no stored response matches, the cache &MAY; forward the presented request to the origin
811  server in a conditional request, and &SHOULD; include all ETags stored with
812  potentially suitable responses in an If-None-Match request header. If the server responds with 304 (Not Modified) and
813  includes an entity tag or Content-Location that indicates the entity to be used, that
814  cached response &MUST; be used to satisfy the presented request, and &SHOULD;
815  be used to update the corresponding stored response; see <xref target="combining.headers"/>.
818  If any of the stored responses contains only partial content, its entity-tag &SHOULD-NOT; 
819  be included in the If-None-Match header field unless the request is for a range that would
820  be fully satisfied by that stored response.
823  If a cache receives a successful response whose Content-Location field matches that of an
824  existing stored response for the same Request-URI, whose entity-tag differs from that of
825  the existing stored response, and whose Date is more recent than that of the existing
826  response, the existing response &SHOULD-NOT; be returned in response to future
827  requests and &SHOULD; be deleted from the cache.<cref>DISCUSS: Not sure if this is necessary.</cref>
[540]831<section anchor="combining.headers" title="Combining Responses">
833  When a cache receives a 304 (Not Modified) response or a 206 (Partial Content) response,
834  it needs to update the stored response with the new one, so that the updated response can
835  be sent to the client.
838  If the status code is 304 (Not Modified), the cache &SHOULD; use the stored entity-body as
839  the updated entity-body. If the status code is 206 (Partial Content) and the ETag or
840  Last-Modified headers match exactly, the cache &MAY; combine the stored entity-body in
841  the stored response with the updated entity-body received in the response and use the
842  result as the updated entity-body (see &combining-byte-ranges;).
845  The stored response headers are used for the updated response, except that
846  <list style="symbols">
847    <t>any stored Warning headers with warn-code 1xx (see <xref target="header.warning" />)
848      &MUST; be deleted from the stored response and the forwarded response.</t>
849    <t>any stored Warning headers with warn-code 2xx &MUST; be retained in the stored
850      response and the forwarded response.</t>
851    <t>any headers provided in the 304 or 206 response &MUST; replace the corresponding
852      headers from the stored response.</t>
853  </list>
856  A cache &MUST; also replace any stored headers with corresponding headers received in the
857  incoming response, except for Warning headers as described immediately above. If a header
858  field-name in the incoming response matches more than one header in the stored response,
859  all such old headers &MUST; be replaced. It &MAY; store the combined
860  entity-body.
863  <cref>ISSUE: discuss how to handle HEAD updates</cref>
[540]869<section anchor="header.fields" title="Header Field Definitions">
870<t>This section defines the syntax and semantics of HTTP/1.1 header fields related to caching.</t>
871<t>For entity-header fields, both sender and recipient refer to either the client or the
872server, depending on who sends and who receives the entity.</t>
[540]874<section anchor="header.age" title="Age">
875  <iref item="Age header" primary="true" x:for-anchor="" />
876  <iref item="Headers" primary="true" subitem="Age" x:for-anchor="" />
877  <x:anchor-alias value="Age"/>
878  <x:anchor-alias value="Age-v"/>
879  <x:anchor-alias value="age-value"/>
881  The response-header field "Age" conveys the sender's estimate of the amount of time since
882  the response (or its validation) was generated at the origin server. Age values are
883  calculated as specified in <xref target="age.calculations" />.
[364]885<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Age"/><iref primary="true" item="Grammar" subitem="Age-v"/>
[366]886  <x:ref>Age</x:ref>   = "Age" ":" <x:ref>OWS</x:ref> <x:ref>Age-v</x:ref>
[364]887  <x:ref>Age-v</x:ref> = <x:ref>delta-seconds</x:ref>
[540]889<t anchor="">
890  <x:anchor-alias value="delta-seconds" />
891  Age field-values are non-negative decimal integers, representing time in seconds.
893<figure><artwork type="abnf2616"><iref item="Grammar" primary="true" subitem="delta-seconds" />
[229]894  <x:ref>delta-seconds</x:ref>  = 1*<x:ref>DIGIT</x:ref>
897  If a cache receives a value larger than the largest positive integer it can represent, or
898  if any of its age calculations overflows, it &MUST; transmit an Age header with a
899  field-value of 2147483648 (2<x:sup>31</x:sup>). Caches &SHOULD; use an arithmetic type
900  of at least 31 bits of range.
903  The presence of an Age header field in a response implies that a response is not
904  first-hand. However, the converse is not true, since HTTP/1.0 caches may not implement the
905  Age header field.
[540]909<section anchor="header.cache-control" title="Cache-Control">
910  <iref item="Cache-Control header" primary="true" x:for-anchor="" />
911  <iref item="Headers" primary="true" subitem="Cache-Control" x:for-anchor="" />
912  <x:anchor-alias value="Cache-Control"/>
913  <x:anchor-alias value="Cache-Control-v"/>
914  <x:anchor-alias value="cache-directive"/>
915  <x:anchor-alias value="cache-extension"/>
916  <x:anchor-alias value="cache-request-directive"/>
917  <x:anchor-alias value="cache-response-directive"/>
919  The general-header field "Cache-Control" is used to specify directives that &MUST; be
920  obeyed by all caches along the request/response chain. The directives specify behavior
921  intended to prevent caches from adversely interfering with the request or response. Cache
922  directives are unidirectional in that the presence of a directive in a request does not
923  imply that the same directive is to be given in the response.
926  <t>Note that HTTP/1.0 caches might not implement Cache-Control and might only implement
927  Pragma: no-cache (see <xref target="header.pragma" />).</t>
930  Cache directives &MUST; be passed through by a proxy or gateway application,
931  regardless of their significance to that application, since the directives might be
932  applicable to all recipients along the request/response chain. It is not possible to
933  target a directive to a specific cache.
[538]935<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Cache-Control"/><iref primary="true" item="Grammar" subitem="Cache-Control-v"/><iref primary="true" item="Grammar" subitem="cache-extension"/>
[366]936  <x:ref>Cache-Control</x:ref>   = "Cache-Control" ":" <x:ref>OWS</x:ref> <x:ref>Cache-Control-v</x:ref>
[364]937  <x:ref>Cache-Control-v</x:ref> = 1#<x:ref>cache-directive</x:ref>
[229]939  <x:ref>cache-directive</x:ref> = <x:ref>cache-request-directive</x:ref>
[334]940     / <x:ref>cache-response-directive</x:ref>
[334]942  <x:ref>cache-extension</x:ref> = <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) ]
[540]945<section anchor="cache-request-directive" title="Request Cache-Control Directives">
946  <x:anchor-alias value="cache-request-directive" />
[540]948<figure><artwork type="abnf2616"><iref item="Grammar" primary="true" subitem="cache-request-directive" />
[538]949  <x:ref>cache-request-directive</x:ref> =
950       "no-cache"
951     / "no-store"
952     / "max-age" "=" <x:ref>delta-seconds</x:ref>
953     / "max-stale" [ "=" <x:ref>delta-seconds</x:ref> ]
954     / "min-fresh" "=" <x:ref>delta-seconds</x:ref>
955     / "no-transform"
956     / "only-if-cached"
957     / <x:ref>cache-extension</x:ref>
961  <iref item="Cache Directives" primary="true" subitem="no-cache" />
962  <iref item="no-cache" primary="true" subitem="Cache Directive" />
963  no-cache
964  <list>
965    <t>The no-cache request directive indicates that a stored response &MUST-NOT; be
966      used to satisfy the request without successful validation on the origin server.</t>
967  </list>
970  <iref item="Cache Directives" primary="true" subitem="no-store" />
971  <iref item="no-store" primary="true" subitem="Cache Directive" />
972  no-store
973  <list>
974    <t>The no-store request directive indicates that a cache &MUST-NOT; store any part
975      of either this request or any response to it. This directive applies to both
976      non-shared and shared caches. "&MUST-NOT; store" in this context means that the
977      cache &MUST-NOT; intentionally store the information in non-volatile storage,
978      and &MUST; make a best-effort attempt to remove the information from volatile
979      storage as promptly as possible after forwarding it.</t>
980    <t>This directive is NOT a reliable or sufficient mechanism for ensuring privacy. In
981      particular, malicious or compromised caches might not recognize or obey this
982      directive, and communications networks may be vulnerable to eavesdropping.</t>
983  </list>
986  <iref item="Cache Directives" primary="true" subitem="max-age" />
987  <iref item="max-age" primary="true" subitem="Cache Directive" />
988  max-age
989  <list>
990    <t>The max-age request directive indicates that the client is willing to accept a
991      response whose age is no greater than the specified time in seconds. Unless
992      max-stale directive is also included, the client is not willing to accept a stale
993      response.</t>
994  </list>
997  <iref item="Cache Directives" primary="true" subitem="max-stale" />
998  <iref item="max-stale" primary="true" subitem="Cache Directive" />
999  max-stale
1000  <list>
1001    <t>The max-stale request directive indicates that the client is willing to accept a
1002      response that has exceeded its expiration time. If max-stale is assigned a value,
1003      then the client is willing to accept a response that has exceeded its expiration
1004      time by no more than the specified number of seconds. If no value is assigned to
1005      max-stale, then the client is willing to accept a stale response of any age. <cref source="mnot">of any staleness?</cref></t>
1006  </list>
1009  <iref item="Cache Directives" primary="true" subitem="min-fresh" />
1010  <iref item="min-fresh" primary="true" subitem="Cache Directive" />
1011  min-fresh
1012  <list>
1013    <t>The min-fresh request directive indicates that the client is willing to accept a
1014      response whose freshness lifetime is no less than its current age plus the specified
1015      time in seconds. That is, the client wants a response that will still be fresh for
1016      at least the specified number of seconds.</t>
1017  </list>
1020  <iref item="Cache Directives" primary="true" subitem="no-transform" />
1021  <iref item="no-transform" primary="true" subitem="Cache Directive" />
1022  no-transform
1023  <list>
1024    <t>The no-transform request directive indicates that an intermediate cache or proxy
1025      &MUST-NOT; change the Content-Encoding, Content-Range or Content-Type request
1026      headers, nor the request entity-body.</t>
1027  </list>
1030  <iref item="Cache Directives" primary="true" subitem="only-if-cached" />
1031  <iref item="only-if-cached" primary="true" subitem="Cache Directive" />
1032  only-if-cached
1033  <list>
1034    <t>The only-if-cached request directive indicates that the client only wishes to
1035      return a stored response. If it receives this directive, a cache &SHOULD; either
1036      respond using a stored response that is consistent with the other constraints of the
1037      request, or respond with a 504 (Gateway Timeout) status. If a group of caches is
1038      being operated as a unified system with good internal connectivity, such a request
1039      &MAY; be forwarded within that group of caches.</t>
1040  </list>
[540]1044<section anchor="cache-response-directive" title="Response Cache-Control Directives">
1045  <x:anchor-alias value="cache-response-directive" />
[540]1047<figure><artwork type="abnf2616"><iref item="Grammar" primary="true" subitem="cache-response-directive" />
[538]1048  <x:ref>cache-response-directive</x:ref> =
1049       "public"
1050     / "private" [ "=" <x:ref>DQUOTE</x:ref> 1#<x:ref>field-name</x:ref> <x:ref>DQUOTE</x:ref> ]
1051     / "no-cache" [ "=" <x:ref>DQUOTE</x:ref> 1#<x:ref>field-name</x:ref> <x:ref>DQUOTE</x:ref> ]
1052     / "no-store"
1053     / "no-transform"
1054     / "must-revalidate"
1055     / "proxy-revalidate"
1056     / "max-age" "=" <x:ref>delta-seconds</x:ref>
1057     / "s-maxage" "=" <x:ref>delta-seconds</x:ref>
1058     / <x:ref>cache-extension</x:ref>
1062  <iref item="Cache Directives" primary="true" subitem="public" />
1063  <iref item="public" primary="true" subitem="Cache Directive" />
1064  public
1065  <list>
1066    <t>The public response directive indicates that the response &MAY; be cached, even
1067      if it would normally be non-cacheable or cacheable only within a non-shared cache.
1068      (See also Authorization, &header-authorization;, for additional details.) </t>
1069  </list>
1072  <iref item="Cache Directives" primary="true" subitem="private" />
1073  <iref item="private" primary="true" subitem="Cache Directive" />
1074  private
1075  <list>
1076    <t>The private response directive indicates that the response message is intended for
1077      a single user and &MUST-NOT; be stored by a shared cache. A private (non-shared)
1078      cache &MAY; store the response.</t>
1079    <t>If the private response directive specifies one or more field-names, this
1080      requirement is limited to the field-values associated with the listed response
1081      headers. That is, the specified field-names(s) &MUST-NOT; be stored by a shared
1082      cache, whereas the remainder of the response message &MAY; be.</t>
1083    <t>
1084      <x:h>Note:</x:h> This usage of the word private only controls where the response may
1085      be stored, and cannot ensure the privacy of the message content.</t>
1086  </list>
1089  <iref item="Cache Directives" primary="true" subitem="no-cache" />
1090  <iref item="no-cache" primary="true" subitem="Cache Directive" />
1091  no-cache
1092  <list>
1093    <t>The no-cache response directive indicates that the response &MUST-NOT; be used to
1094      satisfy a subsequent request without successful validation on the origin server.
1095      This allows an origin server to prevent caching even by caches that have been
1096      configured to return stale responses.</t>
1097    <t>If the no-cache response directive specifies one or more field-names, this
[555]1098      requirement is limited to the field-values associated with the listed response
[540]1099      headers. That is, the specified field-name(s) &MUST-NOT; be sent in the response
1100      to a subsequent request without successful validation on the origin server. This
1101      allows an origin server to prevent the re-use of certain header fields in a
1102      response, while still allowing caching of the rest of the response.</t>
1103    <t>
1104      <x:h>Note:</x:h> Most HTTP/1.0 caches will not recognize or obey this directive.
1105    </t>
1106  </list>
1110  <iref item="Cache Directives" primary="true" subitem="no-store" />
1111  <iref item="no-store" primary="true" subitem="Cache Directive" />
1112  no-store
1113  <list>
1114    <t>The no-store response directive indicates that a cache &MUST-NOT; store any
1115      part of either the immediate request or response. This directive applies to both
1116      non-shared and shared caches. "&MUST-NOT; store" in this context means that the
1117      cache &MUST-NOT; intentionally store the information in non-volatile storage,
1118      and &MUST; make a best-effort attempt to remove the information from volatile
1119      storage as promptly as possible after forwarding it.</t>
1120    <t>This directive is NOT a reliable or sufficient mechanism for ensuring privacy. In
1121      particular, malicious or compromised caches might not recognize or obey this
1122      directive, and communications networks may be vulnerable to eavesdropping.</t>
1123  </list>
1126  <iref item="Cache Directives" primary="true" subitem="must-revalidate" />
1127  <iref item="must-revalidate" primary="true" subitem="Cache Directive" />
1128  must-revalidate
1129  <list>
1130    <t>The must-revalidate response directive indicates that once it has become stale, the response &MUST-NOT; be
1131     used to satisfy subsequent requests without successful validation on the origin server.</t>
1132    <t>The must-revalidate directive is necessary to support reliable operation for
1133      certain protocol features. In all circumstances an HTTP/1.1 cache &MUST; obey
1134      the must-revalidate directive; in particular, if the cache cannot reach the origin
1135      server for any reason, it &MUST; generate a 504 (Gateway Timeout) response.</t>
1136    <t>Servers &SHOULD; send the must-revalidate directive if and only if failure to
1137      validate a request on the entity could result in incorrect operation, such as a
1138      silently unexecuted financial transaction.</t>
1139  </list>
1142  <iref item="Cache Directives" primary="true" subitem="proxy-revalidate" />
1143  <iref item="proxy-revalidate" primary="true" subitem="Cache Directive" />
1144  proxy-revalidate
1145  <list>
1146    <t>The proxy-revalidate response directive has the same meaning as the must-revalidate
1147      response directive, except that it does not apply to non-shared caches.</t>
1148  </list>
1151  <iref item="Cache Directives" primary="true" subitem="max-age" />
1152  <iref item="max-age" primary="true" subitem="Cache Directive" />
1153  max-age
1154  <list>
1155    <t>The max-age response directive indicates that response is to be considered stale
1156      after its age is greater than the specified number of seconds.</t>
1157  </list>
1160  <iref item="Cache Directives" primary="true" subitem="s-maxage" />
1161  <iref item="s-maxage" primary="true" subitem="Cache Directive" />
1162  s-maxage
1163  <list>
1164    <t>The s-maxage response directive indicates that, in shared caches, the maximum age
1165      specified by this directive overrides the maximum age specified by either the
1166      max-age directive or the Expires header. The s-maxage directive also implies the
1167      semantics of the proxy-revalidate response directive.</t>
1168  </list>
1171  <iref item="Cache Directives" primary="true" subitem="no-transform" />
1172  <iref item="no-transform" primary="true" subitem="Cache Directive" />
1173  no-transform
1174  <list>
1175    <t>The no-transform response directive indicates that an intermediate cache or proxy
1176      &MUST-NOT; change the Content-Encoding, Content-Range or Content-Type response
1177      headers, nor the response entity-body.</t>
1178  </list>
[540]1183<section anchor="cache.control.extensions" title="Cache Control Extensions">
1185  The Cache-Control header field can be extended through the use of one or more
1186  cache-extension tokens, each with an optional value. Informational extensions (those
1187  that do not require a change in cache behavior) can be added without changing the
1188  semantics of other directives. Behavioral extensions are designed to work by acting as
1189  modifiers to the existing base of cache directives. Both the new directive and the
1190  standard directive are supplied, such that applications that do not understand the new
1191  directive will default to the behavior specified by the standard directive, and those
1192  that understand the new directive will recognize it as modifying the requirements
1193  associated with the standard directive. In this way, extensions to the cache-control
1194  directives can be made without requiring changes to the base protocol.
1197  This extension mechanism depends on an HTTP cache obeying all of the cache-control
1198  directives defined for its native HTTP-version, obeying certain extensions, and ignoring
1199  all directives that it does not understand.
1202  For example, consider a hypothetical new response directive called "community" that
1203  acts as a modifier to the private directive. We define this new directive to mean that,
1204  in addition to any non-shared cache, any cache that is shared only by members of the
1205  community named within its value may cache the response. An origin server wishing to
1206  allow the UCI community to use an otherwise private response in their shared cache(s)
1207  could do so by including
1209<figure><artwork type="example">
[458]1210  Cache-Control: private, community="UCI"
1213  A cache seeing this header field will act correctly even if the cache does not
1214  understand the community cache-extension, since it will also see and understand the
1215  private directive and thus default to the safe behavior.
1218  Unrecognized cache directives &MUST; be ignored; it is assumed that any cache
1219  directive likely to be unrecognized by an HTTP/1.1 cache will be combined with standard
1220  directives (or the response's default cacheability) such that the cache behavior will
1221  remain minimally correct even if the cache does not understand the extension(s).
[540]1227<section anchor="header.expires" title="Expires">
1228  <iref item="Expires header" primary="true" x:for-anchor="" />
1229  <iref item="Headers" primary="true" subitem="Expires" x:for-anchor="" />
1230  <x:anchor-alias value="Expires"/>
1231  <x:anchor-alias value="Expires-v"/>
1233  The entity-header field "Expires" gives the date/time after which the response is
1234  considered stale. See <xref target="expiration.model" /> for further discussion of the
1235  freshness model.
1238  The presence of an Expires field does not imply that the original resource will change or
1239  cease to exist at, before, or after that time.
1242  The field-value is an absolute date and time as defined by HTTP-date in &full-date;;
1243  it &MUST; be sent in rfc1123-date format.
[364]1245<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Expires"/><iref primary="true" item="Grammar" subitem="Expires-v"/>
[366]1246  <x:ref>Expires</x:ref>   = "Expires" ":" <x:ref>OWS</x:ref> <x:ref>Expires-v</x:ref>
[364]1247  <x:ref>Expires-v</x:ref> = <x:ref>HTTP-date</x:ref>
1250  <preamble>For example</preamble>
1251<artwork type="example">
[364]1252  Expires: Thu, 01 Dec 1994 16:00:00 GMT
1255    <t>
1256      <x:h>Note:</x:h> if a response includes a Cache-Control field with the max-age
1257      directive (see <xref target="cache-response-directive" />), that directive overrides
1258      the Expires field. Likewise, the s-maxage directive overrides Expires in shared caches.</t>
1261  HTTP/1.1 servers &SHOULD-NOT; send Expires dates more than one year in the future.
1264  HTTP/1.1 clients and caches &MUST; treat other invalid date formats, especially
1265  including the value "0", as in the past (i.e., "already expired").
[540]1269<section anchor="header.pragma" title="Pragma">
1270  <iref item="Pragma header" primary="true" x:for-anchor="" />
1271  <iref item="Headers" primary="true" subitem="Pragma" x:for-anchor="" />
1272  <x:anchor-alias value="extension-pragma"/>
1273  <x:anchor-alias value="Pragma"/>
1274  <x:anchor-alias value="Pragma-v"/>
1275  <x:anchor-alias value="pragma-directive"/>
1277  >The general-header field "Pragma" is used to include implementation-specific directives
1278  that might apply to any recipient along the request/response chain. All pragma directives
1279  specify optional behavior from the viewpoint of the protocol; however, some systems
1280  &MAY; require that behavior be consistent with the directives.
[364]1282<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Pragma"/><iref primary="true" item="Grammar" subitem="Pragma-v"/><iref primary="true" item="Grammar" subitem="pragma-directive"/><iref primary="true" item="Grammar" subitem="extension-pragma"/>
[366]1283  <x:ref>Pragma</x:ref>            = "Pragma" ":" <x:ref>OWS</x:ref> <x:ref>Pragma-v</x:ref>
[364]1284  <x:ref>Pragma-v</x:ref>          = 1#<x:ref>pragma-directive</x:ref>
[334]1285  <x:ref>pragma-directive</x:ref>  = "no-cache" / <x:ref>extension-pragma</x:ref>
1286  <x:ref>extension-pragma</x:ref>  = <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) ]
1289  When the no-cache directive is present in a request message, an application &SHOULD;
1290  forward the request toward the origin server even if it has a cached copy of what is being
1291  requested. This pragma directive has the same semantics as the no-cache response directive
1292  (see <xref target="cache-response-directive" />) and is defined here for backward
1293  compatibility with HTTP/1.0. Clients &SHOULD; include both header fields when a
1294  no-cache request is sent to a server not known to be HTTP/1.1 compliant. HTTP/1.1 caches
1295  &SHOULD; treat "Pragma: no-cache" as if the client had sent "Cache-Control: no-cache".
1298  <t>
1299    <x:h>Note:</x:h> because the meaning of "Pragma: no-cache" as a response-header field
1300    is not actually specified, it does not provide a reliable replacement for
1301    "Cache-Control: no-cache" in a response.</t>
1304  This mechanism is deprecated; no new Pragma directives will be defined in HTTP.
[540]1308<section anchor="header.vary" title="Vary">
1309  <iref item="Vary header" primary="true" x:for-anchor="" />
1310  <iref item="Headers" primary="true" subitem="Vary" x:for-anchor="" />
1311  <x:anchor-alias value="Vary"/>
1312  <x:anchor-alias value="Vary-v"/>
1314  The "Vary" response-header field's value indicates the set of request-header fields that
1315  determines, while the response is fresh, whether a cache is permitted to use the
1316  response to reply to a subsequent request without validation; see <xref 
1317  target="caching.negotiated.responses" />.
1320  In uncacheable or stale responses, the Vary field value advises the user agent about
1321  the criteria that were used to select the representation.
[364]1323<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Vary"/><iref primary="true" item="Grammar" subitem="Vary-v"/>
[366]1324  <x:ref>Vary</x:ref>   = "Vary" ":" <x:ref>OWS</x:ref> <x:ref>Vary-v</x:ref>
[364]1325  <x:ref>Vary-v</x:ref> = "*" / 1#<x:ref>field-name</x:ref>
1328  The set of header fields named by the Vary field value is known as the selecting
1329  request-headers.
1332  Servers &SHOULD; include a Vary header field with any cacheable response that is
1333  subject to server-driven negotiation. Doing so allows a cache to properly interpret future
1334  requests on that resource and informs the user agent about the presence of negotiation on
1335  that resource. A server &MAY; include a Vary header field with a non-cacheable
1336  response that is subject to server-driven negotiation, since this might provide the user
1337  agent with useful information about the dimensions over which the response varies at the
1338  time of the response.
1341  A Vary field value of "*" signals that unspecified parameters not limited to the
1342  request-headers (e.g., the network address of the client), play a role in the selection of
1343  the response representation; therefore, a cache cannot determine whether this response is
1344  appropriate. The "*" value &MUST-NOT; be generated by a proxy server;
1345  it may only be generated by an origin server.
1348  The field-names given are not limited to the set of standard request-header fields
1349  defined by this specification. Field names are case-insensitive.
[540]1353<section anchor="header.warning" title="Warning">
1354  <iref item="Warning header" primary="true" x:for-anchor="" />
1355  <iref item="Headers" primary="true" subitem="Warning" x:for-anchor="" />
1356  <x:anchor-alias value="Warning"/>
1357  <x:anchor-alias value="Warning-v"/>
1358  <x:anchor-alias value="warning-value"/>
1359  <x:anchor-alias value="warn-agent"/>
1360  <x:anchor-alias value="warn-code"/>
1361  <x:anchor-alias value="warn-date"/>
1362  <x:anchor-alias value="warn-text"/>
1364  The general-header field "Warning" is used to carry additional information about the status
1365  or transformation of a message that might not be reflected in the message. This
1366  information is typically used to warn about possible incorrectness introduced by caching
1367  operations or transformations applied to the entity body of the message.
1370  Warnings can be used for other purposes, both cache-related and otherwise. The use of a
1371  warning, rather than an error status code, distinguish these responses from true failures.
1374  Warning headers can in general be applied to any message, however some warn-codes are
1375  specific to caches and can only be applied to response messages.
[364]1377<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Warning"/><iref primary="true" item="Grammar" subitem="Warning-v"/><iref primary="true" item="Grammar" subitem="warning-value"/><iref primary="true" item="Grammar" subitem="warn-code"/><iref primary="true" item="Grammar" subitem="warn-agent"/><iref primary="true" item="Grammar" subitem="warn-text"/><iref primary="true" item="Grammar" subitem="warn-date"/>
[366]1378  <x:ref>Warning</x:ref>    = "Warning" ":" <x:ref>OWS</x:ref> <x:ref>Warning-v</x:ref>
[364]1379  <x:ref>Warning-v</x:ref>  = 1#<x:ref>warning-value</x:ref>
[229]1381  <x:ref>warning-value</x:ref> = <x:ref>warn-code</x:ref> <x:ref>SP</x:ref> <x:ref>warn-agent</x:ref> <x:ref>SP</x:ref> <x:ref>warn-text</x:ref>
1382                                        [<x:ref>SP</x:ref> <x:ref>warn-date</x:ref>]
[229]1384  <x:ref>warn-code</x:ref>  = 3<x:ref>DIGIT</x:ref>
[334]1385  <x:ref>warn-agent</x:ref> = ( <x:ref>uri-host</x:ref> [ ":" <x:ref>port</x:ref> ] ) / <x:ref>pseudonym</x:ref>
[135]1386                  ; the name or pseudonym of the server adding
1387                  ; the Warning header, for use in debugging
[229]1388  <x:ref>warn-text</x:ref>  = <x:ref>quoted-string</x:ref>
1389  <x:ref>warn-date</x:ref>  = <x:ref>DQUOTE</x:ref> <x:ref>HTTP-date</x:ref> <x:ref>DQUOTE</x:ref>
1392  Multiple warnings can be attached to a response (either by the origin server or by
1393  a cache), including multiple warnings with the same code number. For example, a server
1394  might provide the same warning with texts in both English and Basque.
1397  When this occurs, the user agent &SHOULD; inform the user of as many of them as
1398  possible, in the order that they appear in the response. If it is not possible to inform
1399  the user of all of the warnings, the user agent &SHOULD; follow these heuristics:
1400  <list style="symbols">
1401    <t>Warnings that appear early in the response take priority over those appearing later
1402      in the response.</t>
1403    <t>Warnings in the user's preferred character set take priority over warnings in other
1404      character sets but with identical warn-codes and warn-agents.</t>
1405  </list>
1408  Systems that generate multiple Warning headers &SHOULD; order them with this user
1409  agent behavior in mind. New Warning headers &SHOULD; be added after any existing
1410  Warning headers.
1413  Warnings are assigned three digit warn-codes. The first digit indicates whether the
1414  Warning is required to be deleted from a stored response after validation:
1415  <list style="symbols">
1416    <t>1xx Warnings that describe the freshness or validation status of the response, and so
1417      &MUST; be deleted by caches after validation. They &MUST-NOT; be generated by a cache
1418      except when validating a cached entry, and &MUST-NOT; be generated by clients.</t>
1419    <t>2xx Warnings that describe some aspect of the entity body or entity headers that is
1420      not rectified by a validation (for example, a lossy compression of the entity bodies)
1421      and &MUST-NOT; be deleted by caches after validation, unless a full response is
1422      returned, in which case they &MUST; be.</t>
1423  </list>
1426  The warn-text &SHOULD; be in a natural language and character set that is most likely
1427  to be intelligible to the human user receiving the response. This decision can be based on
1428  any available knowledge, such as the location of the cache or user, the Accept-Language
1429  field in a request, the Content-Language field in a response, etc. The default language is
1430  English and the default character set is ISO-8859-1 (<xref target="ISO-8859-1" />).
1433  If a character set other than ISO-8859-1 is used, it &MUST; be encoded in the
1434  warn-text using the method described in <xref target="RFC2047" />.
1437  If an implementation sends a message with one or more Warning headers to a receiver whose
1438  version is HTTP/1.0 or lower, then the sender &MUST; include in each warning-value a
1439  warn-date that matches the Date header in the message.
1442  If an implementation receives a message with a warning-value that includes a warn-date,
1443  and that warn-date is different from the Date value in the response, then that
1444  warning-value &MUST; be deleted from the message before storing, forwarding, or using
1445  it. (preventing the consequences of naive caching of Warning header fields.) If all of the
1446  warning-values are deleted for this reason, the Warning header &MUST; be deleted as
1447  well.
1450  The following warn-codes are defined by this specification, each with a recommended
1451  warn-text in English, and a description of its meaning.
[541]1453<t><?rfc needLines="4"?>
[540]1454  110 Response is stale
1455  <list>
1456    <t>&SHOULD; be included whenever the returned response is stale.</t>
1457  </list>
[541]1459<t><?rfc needLines="4"?>
[540]1460  111 Revalidation failed
1461  <list>
1462    <t>&SHOULD; be included if a cache returns a stale response because an attempt to
1463      validate the response failed, due to an inability to reach the server.</t>
1464  </list>
[541]1466<t><?rfc needLines="4"?>
[540]1467  112 Disconnected operation
1468  <list>
1469    <t>&SHOULD; be included if the cache is intentionally disconnected from the rest of
1470      the network for a period of time.</t>
1471  </list>
[541]1473<t><?rfc needLines="4"?>
[540]1474  113 Heuristic expiration
1475  <list>
1476    <t>&SHOULD; be included if the cache heuristically chose a freshness lifetime
1477      greater than 24 hours and the response's age is greater than 24 hours.</t>
1478  </list>
[541]1480<t><?rfc needLines="4"?>
[540]1481  199 Miscellaneous warning
1482  <list>
1483    <t>The warning text can include arbitrary information to be presented to a human
1484      user, or logged. A system receiving this warning &MUST-NOT; take any automated
1485      action, besides presenting the warning to the user.</t>
1486  </list>
[541]1488<t><?rfc needLines="4"?>
[540]1489  214 Transformation applied
1490  <list>
1491    <t>&MUST; be added by an intermediate cache or proxy if it applies any
1492      transformation changing the content-coding (as specified in the Content-Encoding
1493      header) or media-type (as specified in the Content-Type header) of the response, or
1494      the entity-body of the response, unless this Warning code already appears in the
1495      response.</t>
1496  </list>
[541]1498<t><?rfc needLines="4"?>
[540]1499  299 Miscellaneous persistent warning
1500  <list>
1501    <t>The warning text can include arbitrary information to be presented to a human
1502      user, or logged. A system receiving this warning &MUST-NOT; take any automated
1503      action.</t>
1504  </list>
[540]1510<section anchor="history.lists" title="History Lists">
1512  User agents often have history mechanisms, such as "Back" buttons and history lists, that
1513  can be used to redisplay an entity retrieved earlier in a session.
1516  History mechanisms and caches are different. In particular history mechanisms
1517  &SHOULD-NOT; try to show a correct view of the current state of a resource. Rather, a
1518  history mechanism is meant to show exactly what the user saw at the time when the resource
1519  was retrieved.
1520  </t>
1522  By default, an expiration time does not apply to history mechanisms. If the entity is still
1523  in storage, a history mechanism &SHOULD; display it even if the entity has expired,
1524  unless the user has specifically configured the agent to refresh expired history documents.
1527  This is not to be construed to prohibit the history mechanism from telling the user that a
1528  view might be stale.
1529  <list>
1530    <t>
1531      <x:h>Note:</x:h> if history list mechanisms unnecessarily prevent users from viewing
1532      stale resources, this will tend to force service authors to avoid using HTTP expiration
1533      controls and cache controls when they would otherwise like to. Service authors may
1534      consider it important that users not be presented with error messages or warning
1535      messages when they use navigation controls (such as BACK) to view previously fetched
1536      resources. Even though sometimes such resources ought not be cached, or ought to expire
1537      quickly, user interface considerations may force service authors to resort to other
1538      means of preventing caching (e.g. "once-only" URLs) in order not to suffer the effects
1539      of improperly functioning history mechanisms.</t>
1540  </list>
[540]1545<section anchor="IANA.considerations" title="IANA Considerations">
[540]1547<section anchor="message.header.registration" title="Message Header Registration">
1549  The Message Header Registry located at <eref
1550  target="" />
1551  should be updated with the permanent registrations below (see <xref target="RFC3864" />):
[540]1554<!--AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually-->
1555<texttable align="left" anchor="iana.header.registration.table" suppress-title="true">
1556  <ttcol>Header Field Name</ttcol>
1557  <ttcol>Protocol</ttcol>
1558  <ttcol>Status</ttcol>
1559  <ttcol>Reference</ttcol>
[540]1561  <c>Age</c>
1562  <c>http</c>
1563  <c>standard</c>
1564  <c>
1565    <xref target="header.age" />
1566  </c>
[540]1568  <c>Cache-Control</c>
1569  <c>http</c>
1570  <c>standard</c>
1571  <c>
1572    <xref target="header.cache-control" />
1573  </c>
[540]1575  <c>Expires</c>
1576  <c>http</c>
1577  <c>standard</c>
1578  <c>
1579    <xref target="header.expires" />
1580  </c>
[540]1582  <c>Pragma</c>
1583  <c>http</c>
1584  <c>standard</c>
1585  <c>
1586    <xref target="header.pragma" />
1587  </c>
[540]1589  <c>Vary</c>
1590  <c>http</c>
1591  <c>standard</c>
1592  <c>
1593    <xref target="header.vary" />
1594  </c>
[540]1596  <c>Warning</c>
1597  <c>http</c>
1598  <c>standard</c>
1599  <c>
1600    <xref target="header.warning" />
1601  </c>
1605  The change controller is: "IETF ( - Internet Engineering Task Force".
[540]1611<section anchor="security.considerations" title="Security Considerations">
1613  Caches expose additional potential vulnerabilities, since the contents of the cache
1614  represent an attractive target for malicious exploitation. Because cache contents persist
1615  after an HTTP request is complete, an attack on the cache can reveal information long after
1616  a user believes that the information has been removed from the network. Therefore, cache
1617  contents should be protected as sensitive information.
[540]1621<section anchor="ack" title="Acknowledgments">
1623  Much of the content and presentation of the caching design is due to suggestions and
1624  comments from individuals including: Shel Kaphan, Paul Leach, Koen Holtman, David Morris,
1625  and Larry Masinter.
1632<references title="Normative References">
[540]1634  <reference anchor="ISO-8859-1">
1635    <front>
1636      <title> Information technology -- 8-bit single-byte coded graphic character sets -- Part
1637        1: Latin alphabet No. 1 </title>
1638      <author>
1639        <organization>International Organization for Standardization</organization>
1640      </author>
1641      <date year="1998" />
1642    </front>
1643    <seriesInfo name="ISO/IEC" value="8859-1:1998" />
1644  </reference>
[540]1646  <reference anchor="Part1">
1647    <front>
1648      <title abbrev="HTTP/1.1">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title>
1649      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
1650        <organization abbrev="Day Software">Day Software</organization>
1651        <address><email></email></address>
1652      </author>
1653      <author fullname="Jim Gettys" initials="J." surname="Gettys">
1654        <organization>One Laptop per Child</organization>
1655        <address><email></email></address>
1656      </author>
1657      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
1658        <organization abbrev="HP">Hewlett-Packard Company</organization>
1659        <address><email></email></address>
1660      </author>
1661      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
1662        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1663        <address><email></email></address>
1664      </author>
1665      <author fullname="Larry Masinter" initials="L." surname="Masinter">
1666        <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1667        <address><email></email></address>
1668      </author>
1669      <author fullname="Paul J. Leach" initials="P." surname="Leach">
1670        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1671        <address><email></email></address>
1672      </author>
1673      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
1674        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1675        <address><email></email></address>
1676      </author>
1677      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
1678        <organization abbrev="W3C">World Wide Web Consortium</organization>
1679        <address><email></email></address>
1680      </author>
1681      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
1682        <organization abbrev="greenbytes">greenbytes GmbH</organization>
1683        <address><email></email></address>
1684      </author>
1685      <date month="&ID-MONTH;" year="&ID-YEAR;" />
1686    </front>
1687    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p1-messaging-&ID-VERSION;" />
1688    <x:source basename="p1-messaging" href="p1-messaging.xml" />
1689  </reference>
[540]1691  <reference anchor="Part2">
1692    <front>
1693      <title abbrev="HTTP/1.1">HTTP/1.1, part 2: Message Semantics</title>
1694      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
1695        <organization abbrev="Day Software">Day Software</organization>
1696        <address><email></email></address>
1697      </author>
1698      <author fullname="Jim Gettys" initials="J." surname="Gettys">
1699        <organization>One Laptop per Child</organization>
1700        <address><email></email></address>
1701      </author>
1702      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
1703        <organization abbrev="HP">Hewlett-Packard Company</organization>
1704        <address><email></email></address>
1705      </author>
1706      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
1707        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1708        <address><email></email></address>
1709      </author>
1710      <author fullname="Larry Masinter" initials="L." surname="Masinter">
1711        <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1712        <address><email></email></address>
1713      </author>
1714      <author fullname="Paul J. Leach" initials="P." surname="Leach">
1715        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1716        <address><email></email></address>
1717      </author>
1718      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
1719        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1720        <address><email></email></address>
1721      </author>
1722      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
1723        <organization abbrev="W3C">World Wide Web Consortium</organization>
1724        <address><email></email></address>
1725      </author>
1726      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
1727        <organization abbrev="greenbytes">greenbytes GmbH</organization>
1728        <address><email></email></address>
1729      </author>
1730      <date month="&ID-MONTH;" year="&ID-YEAR;" />
1731    </front>
1732    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p2-semantics-&ID-VERSION;" />
1733    <x:source basename="p2-semantics" href="p2-semantics.xml" />
1734  </reference>
[540]1736  <reference anchor="Part3">
1737    <front>
1738      <title abbrev="HTTP/1.1">HTTP/1.1, part 3: Message Payload and Content Negotiation</title>
1739      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
1740        <organization abbrev="Day Software">Day Software</organization>
1741        <address><email></email></address>
1742      </author>
1743      <author fullname="Jim Gettys" initials="J." surname="Gettys">
1744        <organization>One Laptop per Child</organization>
1745        <address><email></email></address>
1746      </author>
1747      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
1748        <organization abbrev="HP">Hewlett-Packard Company</organization>
1749        <address><email></email></address>
1750      </author>
1751      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
1752        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1753        <address><email></email></address>
1754      </author>
1755      <author fullname="Larry Masinter" initials="L." surname="Masinter">
1756        <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1757        <address><email></email></address>
1758      </author>
1759      <author fullname="Paul J. Leach" initials="P." surname="Leach">
1760        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1761        <address><email></email></address>
1762      </author>
1763      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
1764        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1765        <address><email></email></address>
1766      </author>
1767      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
1768        <organization abbrev="W3C">World Wide Web Consortium</organization>
1769        <address><email></email></address>
1770      </author>
1771      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
1772        <organization abbrev="greenbytes">greenbytes GmbH</organization>
1773        <address><email></email></address>
1774      </author>
1775      <date month="&ID-MONTH;" year="&ID-YEAR;" />
1776    </front>
1777    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p3-payload-&ID-VERSION;" />
1778    <x:source basename="p3-payload" href="p3-payload.xml" />
1779  </reference>
[540]1781  <reference anchor="Part4">
1782    <front>
1783      <title abbrev="HTTP/1.1">HTTP/1.1, part 4: Conditional Requests</title>
1784      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
1785        <organization abbrev="Day Software">Day Software</organization>
1786        <address><email></email></address>
1787      </author>
1788      <author fullname="Jim Gettys" initials="J." surname="Gettys">
1789        <organization>One Laptop per Child</organization>
1790        <address><email></email></address>
1791      </author>
1792      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
1793        <organization abbrev="HP">Hewlett-Packard Company</organization>
1794        <address><email></email></address>
1795      </author>
1796      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
1797        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1798        <address><email></email></address>
1799      </author>
1800      <author fullname="Larry Masinter" initials="L." surname="Masinter">
1801        <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1802        <address><email></email></address>
1803      </author>
1804      <author fullname="Paul J. Leach" initials="P." surname="Leach">
1805        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1806        <address><email></email></address>
1807      </author>
1808      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
1809        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1810        <address><email></email></address>
1811      </author>
1812      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
1813        <organization abbrev="W3C">World Wide Web Consortium</organization>
1814        <address><email></email></address>
1815      </author>
1816      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
1817        <organization abbrev="greenbytes">greenbytes GmbH</organization>
1818        <address><email></email></address>
1819      </author>
1820      <date month="&ID-MONTH;" year="&ID-YEAR;" />
1821    </front>
1822    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p4-conditional-&ID-VERSION;" />
1823    <x:source basename="p4-conditional" href="p4-conditional.xml" />
1824  </reference>
[540]1826  <reference anchor="Part5">
1827    <front>
1828      <title abbrev="HTTP/1.1">HTTP/1.1, part 5: Range Requests and Partial Responses</title>
1829      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
1830        <organization abbrev="Day Software">Day Software</organization>
1831        <address><email></email></address>
1832      </author>
1833      <author fullname="Jim Gettys" initials="J." surname="Gettys">
1834        <organization>One Laptop per Child</organization>
1835        <address><email></email></address>
1836      </author>
1837      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
1838        <organization abbrev="HP">Hewlett-Packard Company</organization>
1839        <address><email></email></address>
1840      </author>
1841      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
1842        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1843        <address><email></email></address>
1844      </author>
1845      <author fullname="Larry Masinter" initials="L." surname="Masinter">
1846        <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1847        <address><email></email></address>
1848      </author>
1849      <author fullname="Paul J. Leach" initials="P." surname="Leach">
1850        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1851        <address><email></email></address>
1852      </author>
1853      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
1854        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1855        <address><email></email></address>
1856      </author>
1857      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
1858        <organization abbrev="W3C">World Wide Web Consortium</organization>
1859        <address><email></email></address>
1860      </author>
1861      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
1862        <organization abbrev="greenbytes">greenbytes GmbH</organization>
1863        <address><email></email></address>
1864      </author>
1865      <date month="&ID-MONTH;" year="&ID-YEAR;" />
1866    </front>
1867    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p5-range-&ID-VERSION;" />
1868    <x:source basename="p5-range" href="p5-range.xml" />
1869  </reference>
[540]1871  <reference anchor="Part7">
1872    <front>
1873      <title abbrev="HTTP/1.1">HTTP/1.1, part 7: Authentication</title>
1874      <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
1875        <organization abbrev="Day Software">Day Software</organization>
1876        <address><email></email></address>
1877      </author>
1878      <author fullname="Jim Gettys" initials="J." surname="Gettys">
1879        <organization>One Laptop per Child</organization>
1880        <address><email></email></address>
1881      </author>
1882      <author fullname="Jeffrey C. Mogul" initials="J." surname="Mogul">
1883        <organization abbrev="HP">Hewlett-Packard Company</organization>
1884        <address><email></email></address>
1885      </author>
1886      <author fullname="Henrik Frystyk Nielsen" initials="H." surname="Frystyk">
1887        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1888        <address><email></email></address>
1889      </author>
1890      <author fullname="Larry Masinter" initials="L." surname="Masinter">
1891        <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization>
1892        <address><email></email></address>
1893      </author>
1894      <author fullname="Paul J. Leach" initials="P." surname="Leach">
1895        <organization abbrev="Microsoft">Microsoft Corporation</organization>
1896        <address><email></email></address>
1897      </author>
1898      <author fullname="Tim Berners-Lee" initials="T." surname="Berners-Lee">
1899        <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1900        <address><email></email></address>
1901      </author>
1902      <author fullname="Yves Lafon" initials="Y." role="editor" surname="Lafon">
1903        <organization abbrev="W3C">World Wide Web Consortium</organization>
1904        <address><email></email></address>
1905      </author>
1906      <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
1907        <organization abbrev="greenbytes">greenbytes GmbH</organization>
1908        <address><email></email></address>
1909      </author>
1910      <date month="&ID-MONTH;" year="&ID-YEAR;" />
1911    </front>
1912    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p7-auth-&ID-VERSION;" />
1913    <x:source basename="p7-auth" href="p7-auth.xml" />
1914  </reference>
[540]1916  <reference anchor="RFC2047">
1917    <front>
1918      <title abbrev="Message Header Extensions">MIME (Multipurpose Internet Mail Extensions)
1919        Part Three: Message Header Extensions for Non-ASCII Text</title>
1920      <author fullname="Keith Moore" initials="K." surname="Moore">
1921        <organization>University of Tennessee</organization>
1922        <address><email></email></address>
1923      </author>
1924      <date month="November" year="1996" />
1925    </front>
1926    <seriesInfo name="RFC" value="2047" />
1927  </reference>
[540]1929  <reference anchor="RFC2119">
1930    <front>
1931      <title>Key words for use in RFCs to Indicate Requirement Levels</title>
1932      <author fullname="Scott Bradner" initials="S." surname="Bradner">
1933        <organization>Harvard University</organization>
1934        <address><email></email></address>
1935      </author>
1936      <date month="March" year="1997" />
1937    </front>
1938    <seriesInfo name="BCP" value="14" />
1939    <seriesInfo name="RFC" value="2119" />
1940  </reference>
[540]1942  <reference anchor="RFC5234">
1943    <front>
1944      <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
1945      <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
1946        <organization>Brandenburg InternetWorking</organization>
1947        <address>
1948        <postal>
1949        <street>675 Spruce Dr.</street>
1950        <city>Sunnyvale</city>
1951        <region>CA</region>
1952        <code>94086</code>
1953        <country>US</country></postal>
1954        <phone>+1.408.246.8253</phone>
1955        <email></email></address> 
1956      </author>
1957      <author initials="P." surname="Overell" fullname="Paul Overell">
1958        <organization>THUS plc.</organization>
1959        <address>
1960        <postal>
1961        <street>1/2 Berkeley Square</street>
1962        <street>99 Berkely Street</street>
1963        <city>Glasgow</city>
1964        <code>G3 7HR</code>
1965        <country>UK</country></postal>
1966        <email></email></address>
1967      </author>
1968      <date month="January" year="2008"/>
1969    </front>
1970    <seriesInfo name="STD" value="68"/>
1971    <seriesInfo name="RFC" value="5234"/>
1972  </reference>
[540]1976<references title="Informative References">
[540]1978  <reference anchor="RFC1305">
1979    <front>
1980      <title>Network Time Protocol (Version 3) Specification, Implementation</title>
1981      <author fullname="David L. Mills" initials="D." surname="Mills">
1982        <organization>University of Delaware, Electrical Engineering Department</organization>
1983        <address><email></email></address>
1984      </author>
1985      <date month="March" year="1992" />
1986    </front>
1987    <seriesInfo name="RFC" value="1305" />
1988  </reference>
[540]1990  <reference anchor="RFC2616">
1991    <front>
1992      <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
1993      <author fullname="R. Fielding" initials="R." surname="Fielding">
1994        <organization>University of California, Irvine</organization>
1995        <address><email></email></address>
1996      </author>
1997      <author fullname="J. Gettys" initials="J." surname="Gettys">
1998        <organization>W3C</organization>
1999        <address><email></email></address>
2000      </author>
2001      <author fullname="J. Mogul" initials="J." surname="Mogul">
2002        <organization>Compaq Computer Corporation</organization>
2003        <address><email></email></address>
2004      </author>
2005      <author fullname="H. Frystyk" initials="H." surname="Frystyk">
2006        <organization>MIT Laboratory for Computer Science</organization>
2007        <address><email></email></address>
2008      </author>
2009      <author fullname="L. Masinter" initials="L." surname="Masinter">
2010        <organization>Xerox Corporation</organization>
2011        <address><email></email></address>
2012      </author>
2013      <author fullname="P. Leach" initials="P." surname="Leach">
2014        <organization>Microsoft Corporation</organization>
2015        <address><email></email></address>
2016      </author>
2017      <author fullname="T. Berners-Lee" initials="T." surname="Berners-Lee">
2018        <organization>W3C</organization>
2019        <address><email></email></address>
2020      </author>
2021      <date month="June" year="1999" />
2022    </front>
2023    <seriesInfo name="RFC" value="2616" />
2024  </reference>
2026  <reference anchor="RFC3864">
2027    <front>
2028      <title>Registration Procedures for Message Header Fields</title>
2029      <author fullname="G. Klyne" initials="G." surname="Klyne">
2030        <organization>Nine by Nine</organization>
2031        <address><email></email></address>
2032      </author>
2033      <author fullname="M. Nottingham" initials="M." surname="Nottingham">
2034        <organization>BEA Systems</organization>
2035        <address><email></email></address>
2036      </author>
2037      <author fullname="J. Mogul" initials="J." surname="Mogul">
2038        <organization>HP Labs</organization>
2039        <address><email></email></address>
2040      </author>
2041      <date month="September" year="2004" />
2042    </front>
2043    <seriesInfo name="BCP" value="90" />
2044    <seriesInfo name="RFC" value="3864" />
2045  </reference>
2049<section anchor="compatibility" title="Compatibility with Previous Versions">
2051<section anchor="changes.from.rfc.2068" title="Changes from RFC 2068">
2053  A case was missed in the Cache-Control model of HTTP/1.1; s-maxage was introduced to add
2054  this missing case.
2055  (Sections <xref format="counter" target="response.cacheability" />, <xref format="counter" target="header.cache-control" />).
2058  Transfer-coding and message lengths all interact in ways that required fixing exactly
2059  when chunked encoding is used (to allow for transfer encoding that may not be self
2060  delimiting); it was important to straighten out exactly how message lengths are computed.
2061  (see also <xref target="Part1" />, <xref target="Part3" /> and <xref target="Part5" />)
2062  <cref source="jre">This used to refer to the text about non-modifiable headers, and will have to be updated later on.</cref>
2065  Proxies should be able to add Content-Length when appropriate.
2066  <cref source="jre">This used to refer to the text about non-modifiable headers, and will have to be updated later on.</cref>
2069  >Range request responses would become very verbose if all meta-data were always returned;
2070  by allowing the server to only send needed headers in a 206 response, this problem can be
2071  avoided.
2072  (<xref target="combining.headers" />)
2075  The Cache-Control: max-age directive was not properly defined for responses.
2076  (<xref target="cache-response-directive"/>)
2079  Warnings could be cached incorrectly, or not updated appropriately. (Section <xref
2080    format="counter" target="expiration.model" />, <xref format="counter"
2081    target="combining.headers" />, <xref format="counter" target="header.cache-control" />,
2082  and <xref format="counter" target="header.warning" />) Warning also needed to be a general
2083  header, as PUT or other methods may have need for it in requests.
2087<section anchor="changes.from.rfc.2616" title="Changes from RFC 2616">
2089  Clarify denial of service attack avoidance requirement.
2090  (<xref target="invalidation.after.updates.or.deletions" />)
[538]2094    </section>
[427]2096<section xmlns:x="" title="Collected ABNF" anchor="collected.abnf">
2098<artwork type="abnf" name="p6-cache.parsed-abnf">
2099<x:ref>Age</x:ref> = "Age:" OWS Age-v
2100<x:ref>Age-v</x:ref> = delta-seconds
2102<x:ref>Cache-Control</x:ref> = "Cache-Control:" OWS Cache-Control-v
2103<x:ref>Cache-Control-v</x:ref> = *( "," OWS ) cache-directive *( OWS "," [ OWS
[425]2104 cache-directive ] )
[427]2106<x:ref>Expires</x:ref> = "Expires:" OWS Expires-v
2107<x:ref>Expires-v</x:ref> = HTTP-date
2109<x:ref>HTTP-date</x:ref> = &lt;HTTP-date, defined in [Part1], Section 3.2.1&gt;
2111<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
2113<x:ref>Pragma</x:ref> = "Pragma:" OWS Pragma-v
2114<x:ref>Pragma-v</x:ref> = *( "," OWS ) pragma-directive *( OWS "," [ OWS
[425]2115 pragma-directive ] )
[427]2117<x:ref>Vary</x:ref> = "Vary:" OWS Vary-v
2118<x:ref>Vary-v</x:ref> = "*" / ( *( "," OWS ) field-name *( OWS "," [ OWS field-name
[425]2119 ] ) )
[427]2121<x:ref>Warning</x:ref> = "Warning:" OWS Warning-v
2122<x:ref>Warning-v</x:ref> = *( "," OWS ) warning-value *( OWS "," [ OWS warning-value
[425]2123 ] )
[427]2125<x:ref>cache-directive</x:ref> = cache-request-directive / cache-response-directive
2126<x:ref>cache-extension</x:ref> = token [ "=" ( token / quoted-string ) ]
2127<x:ref>cache-request-directive</x:ref> = "no-cache" / "no-store" / ( "max-age="
[425]2128 delta-seconds ) / ( "max-stale" [ "=" delta-seconds ] ) / (
2129 "min-fresh=" delta-seconds ) / "no-transform" / "only-if-cached" /
2130 cache-extension
[427]2131<x:ref>cache-response-directive</x:ref> = "public" / ( "private" [ "=" DQUOTE *( ","
[425]2132 OWS ) field-name *( OWS "," [ OWS field-name ] ) DQUOTE ] ) / (
2133 "no-cache" [ "=" DQUOTE *( "," OWS ) field-name *( OWS "," [ OWS
2134 field-name ] ) DQUOTE ] ) / "no-store" / "no-transform" /
2135 "must-revalidate" / "proxy-revalidate" / ( "max-age=" delta-seconds
2136 ) / ( "s-maxage=" delta-seconds ) / cache-extension
[427]2138<x:ref>delta-seconds</x:ref> = 1*DIGIT
2140<x:ref>extension-pragma</x:ref> = token [ "=" ( token / quoted-string ) ]
2142<x:ref>field-name</x:ref> = &lt;field-name, defined in [Part1], Section 4.2&gt;
2144<x:ref>port</x:ref> = &lt;port, defined in [Part1], Section 2.1&gt;
2145<x:ref>pragma-directive</x:ref> = "no-cache" / extension-pragma
2146<x:ref>pseudonym</x:ref> = &lt;pseudonym, defined in [Part1], Section 8.9&gt;
2148<x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in [Part1], Section 1.2.2&gt;
2150<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 1.2.2&gt;
2152<x:ref>uri-host</x:ref> = &lt;uri-host, defined in [Part1], Section 2.1&gt;
2154<x:ref>warn-agent</x:ref> = ( uri-host [ ":" port ] ) / pseudonym
2155<x:ref>warn-code</x:ref> = 3DIGIT
2156<x:ref>warn-date</x:ref> = DQUOTE HTTP-date DQUOTE
2157<x:ref>warn-text</x:ref> = quoted-string
2158<x:ref>warning-value</x:ref> = warn-code SP warn-agent SP warn-text [ SP warn-date
[425]2159 ]
[532]2164<figure><preamble>ABNF diagnostics:</preamble><artwork type="inline">
2165; Age defined but not used
[425]2166; Cache-Control defined but not used
2167; Expires defined but not used
2168; Pragma defined but not used
2169; Vary defined but not used
2170; Warning defined but not used
[540]2173<section anchor="change.log" title="Change Log (to be removed by RFC Editor before publication)">
[540]2175<section title="Since RFC2616">
2176  <t>Extracted relevant partitions from <xref target="RFC2616" />.</t>
[540]2179<section title="Since draft-ietf-httpbis-p6-cache-00">
2181  Closed issues:
2182  <list style="symbols">
2183    <t>
[542]2184      <eref target="" />: "Trailer" (<eref target="" />)</t>
[540]2185    <t>
2186      <eref target="" />: "Invalidation after Update or Delete" (<eref target="" />)</t>
2187    <t>
2188      <eref target="" />: "Normative and Informative references"</t>
2189    <t>
2190      <eref target="" />: "Date reference typo"</t>
2191    <t>
2192      <eref target="" />: "Connection header text"</t>
2193    <t>
2194      <eref target="" />: "Informative references"</t>
2195    <t>
2196      <eref target="" />: "ISO-8859-1 Reference"</t>
2197    <t>
2198      <eref target="" />: "Normative up-to-date references"</t>
2199    <t>
2200      <eref target="" />: "typo in 13.2.2"</t>
2201  </list>
2204  Other changes:
2205  <list style="symbols">
2206    <t>Use names of RFC4234 core rules DQUOTE and HTAB (work in progress on <eref
2207        target="" />)</t>
2208  </list>
[540]2212<section title="Since draft-ietf-httpbis-p6-cache-01">
2214  Closed issues:
2215  <list style="symbols">
2216    <t>
2217      <eref target="" />: "rel_path not used"</t>
2218  </list>
2221  Other changes:
2222  <list style="symbols">
2223    <t>Get rid of duplicate BNF rule names ("host" -&gt; "uri-host") (work in progress
2224      on <eref target="" />)</t>
2225    <t>Add explicit references to BNF syntax and rules imported from other parts of the
2226      specification.</t>
2227  </list>
[540]2231<section anchor="changes.since.02" title="Since draft-ietf-httpbis-p6-cache-02">
2233  Ongoing work on IANA Message Header Registration (<eref target="" />):
2234  <list style="symbols">
2235    <t>Reference RFC 3984, and update header registrations for headers defined in this
2236      document.</t>
2237  </list>
[540]2241<section anchor="changes.since.03" title="Since draft-ietf-httpbis-p6-cache-03">
2243  Closed issues:
2244  <list style="symbols">
2245    <t>
2246      <eref target="" />: "Vary header classification"</t>
2247  </list>
[540]2251<section anchor="changes.since.04" title="Since draft-ietf-httpbis-p6-cache-04">
2253  Ongoing work on ABNF conversion (<eref target=""/>):
2254  <list style="symbols"> 
2255    <t>
2256      Use "/" instead of "|" for alternatives.
2257    </t>
2258    <t>
2259      Introduce new ABNF rules for "bad" whitespace ("BWS"), optional
2260      whitespace ("OWS") and required whitespace ("RWS").
2261    </t>
2262    <t>
2263      Rewrite ABNFs to spell out whitespace rules, factor out
2264      header value format definitions.
2265    </t>
2266  </list>
[540]2270<section anchor="changes.since.05" title="Since draft-ietf-httpbis-p6-cache-05">
2272  This is a total rewrite of this part of the specification.
2275  Affected issues:
2276  <list style="symbols">
2277    <t>
2278      <eref target="" />: "Definition of 1xx Warn-Codes"</t>
2279    <t>
2280      <eref target="" />: "Placement of 13.5.1 and 13.5.2"</t>
2281    <t>
2282      <eref target="" />: "The role of Warning and Semantic Transparency in Caching"</t>
2283    <t>
2284      <eref target="" />: "Methods and Caching"</t>
2285  </list>
[543]2288  In addition: Final work on ABNF conversion (<eref target=""/>):
[542]2289  <list style="symbols"> 
2290    <t>
2291      Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.
2292    </t>
2293  </list>
[547]2297<section anchor="changes.since.06" title="Since draft-ietf-httpbis-p6-cache-06">
[538]2303  </back>
Note: See TracBrowser for help on using the repository browser.