This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 05caec1  Document the order of the X-Cache header
05caec1 is described below

commit 05caec19465e85fbb35d2dff81ed1526cd9981c7
Author: Miles Libbey <mlib...@apache.org>
AuthorDate: Thu Jan 16 09:21:43 2020 -0800

    Document the order of the X-Cache header
    
    (cherry picked from commit b67060751ed8b62a437c14ff545f1bb71ef53ec7)
---
 doc/admin-guide/plugins/xdebug.en.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/admin-guide/plugins/xdebug.en.rst 
b/doc/admin-guide/plugins/xdebug.en.rst
index 16e358d..d023076 100644
--- a/doc/admin-guide/plugins/xdebug.en.rst
+++ b/doc/admin-guide/plugins/xdebug.en.rst
@@ -78,7 +78,7 @@ X-Cache-Key
     key is being used.
 
 X-Cache
-    The ``X-Cache`` header contains the results of any cache lookup.
+    The ``X-Cache`` header contains the results of any cache lookups.
 
     ==========  ===========
     Value       Description
@@ -90,6 +90,10 @@ X-Cache
     skipped     The cache lookup was skipped.
     ==========  ===========
 
+    If a request goes through multiple proxies, each one prepends its X-Cache 
header content
+    at the beginning of the existing X-Cache header. As a result, the order is 
reversed from
+    the Via: header.
+
 X-Cache-Generation
   The cache generation ID for this transaction, as specified by the
   :ts:cv:`proxy.config.http.cache.generation` configuration variable.

Reply via email to