Changeset 2108 for draft-ietf-httpbis/latest
- Timestamp:
- 11/01/13 06:27:20 (10 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p2-semantics.html
r2107 r2108 3017 3017 <div id="rfc.figure.u.58"></div> 3018 3018 <p>For example, a response that contains</p><pre class="text"> Vary: accept-encoding, accept-language 3019 </pre><p>indicates that the origin server might have used the request's <a href="#header.accept-encoding" class="smpl">Accept-Encoding</a> and <a href="#header.accept-language" class="smpl">Accept-Language</a> fields (or lack thereof) as determining factors while choosing th is <a href="#selected.representation" class="smpl">selected representation</a>.3019 </pre><p>indicates that the origin server might have used the request's <a href="#header.accept-encoding" class="smpl">Accept-Encoding</a> and <a href="#header.accept-language" class="smpl">Accept-Language</a> fields (or lack thereof) as determining factors while choosing the content for this response. 3020 3020 </p> 3021 3021 <p id="rfc.section.7.1.4.p.6">An origin server might send Vary with a list of fields for two purposes: </p> … … 3034 3034 <p id="rfc.section.7.1.4.p.7">An origin server <em class="bcp14">SHOULD</em> send a Vary header field when its algorithm for selecting a representation varies based on aspects of the request message 3035 3035 other than the method and request target, unless the variance cannot be crossed or the origin server has been deliberately 3036 configured to prevent cache transparency. For example, there is no need to send the Authorization field name (<a href="p7-auth.html#header.authorization" title="Authorization">Section 4.1</a> of <a href="#Part7" id="rfc.xref.Part7.7"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Authentication">[Part7]</cite></a>) in Vary because reuse across users is constrained by the field definition. Likewise, Cache-Control directives (<a href="p6-cache.html#header.cache-control" title="Cache-Control">Section 7.2</a> of <a href="#Part6" id="rfc.xref.Part6.20"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Caching">[Part6]</cite></a>) might be used to supplant the need for Vary, particularly when the variance is considered less significant than the performance3037 cost of Vary's impact on caching.3036 configured to prevent cache transparency. For example, there is no need to send the Authorization field name in Vary because 3037 reuse across users is constrained by the field definition (<a href="p7-auth.html#header.authorization" title="Authorization">Section 4.1</a> of <a href="#Part7" id="rfc.xref.Part7.7"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Authentication">[Part7]</cite></a>). Likewise, an origin server might use Cache-Control directives (<a href="p6-cache.html#header.cache-control" title="Cache-Control">Section 7.2</a> of <a href="#Part6" id="rfc.xref.Part6.20"><cite title="Hypertext Transfer Protocol (HTTP/1.1): Caching">[Part6]</cite></a>) to supplant Vary if it considers the variance less significant than the performance cost of Vary's impact on caching. 3038 3038 </p> 3039 3039 <div id="rfc.iref.s.7"></div> -
draft-ietf-httpbis/latest/p2-semantics.xml
r2107 r2108 3900 3900 </artwork><postamble>indicates that the origin server might have used the 3901 3901 request's <x:ref>Accept-Encoding</x:ref> and <x:ref>Accept-Language</x:ref> 3902 fields (or lack thereof) as determining factors while choosing th is3903 <x:ref>selected representation</x:ref>.3902 fields (or lack thereof) as determining factors while choosing the content 3903 for this response. 3904 3904 </postamble></figure> 3905 3905 <t> … … 3931 3931 other than the method and request target, unless the variance cannot be 3932 3932 crossed or the origin server has been deliberately configured to prevent 3933 cache transparency. For example, there is no need to send the 3934 Authorization field name (&header-authorization;) in Vary because3935 reuse across users is constrained by the field definition. Likewise,3936 Cache-Control directives (&header-cache-control;) might be used to supplant3937 the need for Vary, particularly when the variance is considered less3938 significant than the performance cost of Vary'simpact on caching.3933 cache transparency. For example, there is no need to send the Authorization 3934 field name in Vary because reuse across users is constrained by the field 3935 definition (&header-authorization;). Likewise, an origin server might use 3936 Cache-Control directives (&header-cache-control;) to supplant Vary if it 3937 considers the variance less significant than the performance cost of Vary's 3938 impact on caching. 3939 3939 </t> 3940 3940 </section>
Note: See TracChangeset
for help on using the changeset viewer.