You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2003/11/01 01:46:53 UTC

cvs commit: httpd-2.0/docs/manual content-negotiation.xml content-negotiation.html.en

slive       2003/10/31 16:46:53

  Modified:    docs/manual content-negotiation.xml
                        content-negotiation.html.en
  Log:
  Mention force-no-vary in the content-negotiation docs.
  
  PR: 23798
  
  Revision  Changes    Path
  1.13      +9 -0      httpd-2.0/docs/manual/content-negotiation.xml
  
  Index: content-negotiation.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/content-negotiation.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -d -b -u -r1.12 -r1.13
  --- content-negotiation.xml	19 Sep 2003 12:22:58 -0000	1.12
  +++ content-negotiation.xml	1 Nov 2003 00:46:53 -0000	1.13
  @@ -634,6 +634,15 @@
       negotiation. This directive can be given in the server config or
       virtual host, and takes no arguments. It has no effect on requests
       from HTTP/1.1 clients.</p>
  +
  +    <p>For HTTP/1.1 clients, Apache sends a <code>Vary</code> HTTP
  +    response header to indicate the negotiation dimensions for the
  +    response.  Caches can use this information to determine whether a
  +    subsequent request can be served from the local copy.  To
  +    encourage a cache to use the local copy regardless of the
  +    negotiation dimensions, set the <code>force-no-vary</code> <a
  +    href="env.html#special">environment variable</a>.</p>
  +
   </section>
   
   <section id="more"><title>More Information</title>
  
  
  
  1.52      +8 -0      httpd-2.0/docs/manual/content-negotiation.html.en
  
  Index: content-negotiation.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/content-negotiation.html.en,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -d -b -u -r1.51 -r1.52
  --- content-negotiation.html.en	19 Sep 2003 12:22:58 -0000	1.51
  +++ content-negotiation.html.en	1 Nov 2003 00:46:53 -0000	1.52
  @@ -651,6 +651,14 @@
       negotiation. This directive can be given in the server config or
       virtual host, and takes no arguments. It has no effect on requests
       from HTTP/1.1 clients.</p>
  +
  +    <p>For HTTP/1.1 clients, Apache sends a <code>Vary</code> HTTP
  +    response header to indicate the negotiation dimensions for the
  +    response.  Caches can use this information to determine whether a
  +    subsequent request can be served from the local copy.  To
  +    encourage a cache to use the local copy regardless of the
  +    negotiation dimensions, set the <code>force-no-vary</code> <a href="env.html#special">environment variable</a>.</p>
  +
   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
   <div class="section">
   <h2><a name="more" id="more">More Information</a></h2>