Skip to content

Commit b670607

Browse files
committed
Document the order of the X-Cache header
1 parent 4166151 commit b670607

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/admin-guide/plugins/xdebug.en.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ X-Cache-Key
7878
key is being used.
7979

8080
X-Cache
81-
The ``X-Cache`` header contains the results of any cache lookup.
81+
The ``X-Cache`` header contains the results of any cache lookups.
8282

8383
========== ===========
8484
Value Description
@@ -90,6 +90,10 @@ X-Cache
9090
skipped The cache lookup was skipped.
9191
========== ===========
9292

93+
If a request goes through multiple proxies, each one prepends its X-Cache header content
94+
at the beginning of the existing X-Cache header. As a result, the order is reversed from
95+
the Via: header.
96+
9397
X-Cache-Generation
9498
The cache generation ID for this transaction, as specified by the
9599
:ts:cv:`proxy.config.http.cache.generation` configuration variable.

0 commit comments

Comments
 (0)