Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion doc/admin-guide/plugins/xdebug.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I wonder, since the behavior of the Via header is pretty darn well known (and defined), should we not adhere to this for X-Cache too ? What does Akamai do ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least for us, Akamai does not expose multiple layers for their equivalent, X-cache and X-cache-remote -- both are single layer only.


X-Cache-Generation
The cache generation ID for this transaction, as specified by the
:ts:cv:`proxy.config.http.cache.generation` configuration variable.
Expand Down