[4.0] 304f203 Rework example

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 15 16:35:42 CET 2015


commit 304f203b316ef2fa7a71bb6e37b93ca72ec7e276
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Thu Nov 27 16:59:05 2014 +0000

    Rework example
    
    Fixes #1636

diff --git a/doc/sphinx/users-guide/increasing-your-hitrate.rst b/doc/sphinx/users-guide/increasing-your-hitrate.rst
index 231e27b..db0165f 100644
--- a/doc/sphinx/users-guide/increasing-your-hitrate.rst
+++ b/doc/sphinx/users-guide/increasing-your-hitrate.rst
@@ -343,8 +343,8 @@ To achieve a high hitrate whilst using Vary is there therefore
 crucial to normalize the headers the backends varies on. Remember,
 just a difference in casing can force different cache entries.
 
-The following VCL code will normalize the 'Accept-Language' headers,
-to one of either "en", "de" or "fr"::
+The following VCL code will normalize the 'Accept-Language' header to
+either "en", "de" or "fr", in this order of precedence::
 
     if (req.http.Accept-Language) {
         if (req.http.Accept-Language ~ "en") {
@@ -360,9 +360,6 @@ to one of either "en", "de" or "fr"::
         }
     }
 
-The code sets the 'Accept-Encoding' header from the client to either
-gzip, deflate with a preference for gzip.
-
 Vary parse errors
 ~~~~~~~~~~~~~~~~~
 



More information about the varnish-commit mailing list