> On Dec 11, 2017, at 8:57 AM, Benjamin Morel <[email protected]> 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 <https://docs.trafficserver.apache.org/en/7.1.x/admin-guide/plugins/xdebug.en.html>. 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. J
