[master] 5c80dc6 Rework example

Federico G. Schwindt fgsch at lodoss.net
Thu Nov 27 17:59:29 CET 2014


commit 5c80dc65291b1ca17d6955f3ae2e97c6fe7873c1
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