Add Header to cached response?
roger at netskrt.io
Mon Sep 10 18:06:00 UTC 2018
is there a way to add a header to the cached response?
I have used ngx_http_headers_module’s add_header directive, which adds the header to the response at the time the response is generated.
What I would like to do is to add a response header at the time when the upstream request is made (reflecting the state of the caching request, not the used-the-cache request).
More information about the nginx