trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miles Libbey <mlib...@apache.org>
Subject Re: Cache HIT/MISS header
Date Tue, 12 Dec 2017 00:11:45 GMT
Perhaps use the X-Debug header:
https://docs.trafficserver.apache.org/en/7.1.x/admin-guide/plugins/xdebug.en.html
and maybe a global header_rewrite rule to add the magic header to make
the debug part appear?

On Mon, Dec 11, 2017 at 8:57 AM, Benjamin Morel
<benjamin.morel@gmail.com> 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
>
> Thanks in advance,
> Benjamin

Mime
View raw message