From 6c02d624266be253cc2132b5b321581b9f3f80e0 Mon Sep 17 00:00:00 2001 From: Miles Libbey Date: Thu, 16 Jan 2020 09:21:43 -0800 Subject: [PATCH] Document the order of the X-Cache header --- 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 16e358d0253..d0230761196 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.