trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <>
Subject Re: Cache HIT/MISS header
Date Wed, 13 Dec 2017 19:09:21 GMT

> On Dec 11, 2017, at 8:57 AM, Benjamin Morel <> wrote:
> Sorry if this has been asked before, but I couldn't find it in the docs.
> I'm using ATS as a forward proxy. Is there a way to add a response header to tell me
if the request was a HIT or a MISS?
> Something like: X-Cache: HIT

I'd use the `xdebug` plugin, see <>.
If you want the `X-Cache` header in every response, then you can use `header_rewrite` to inject
the appropriate `X-Debug` header on every request.

View raw message