Hello,
is there a hook into the nginx processing to modify the response body (and headers) before they are cached when using with proxy_pass?
I am aware of the body filters (http://nginx.org/en/docs/dev/development_guide.html#http_body_filters <http://nginx.org/en/docs/dev/development_guide.html#http_body_filters>), running before the response is delivered to the client. But I would prefer to run the filter just once, when the upstream response is cached.
I am assuming, if nginx does not offer such a hook, OpenResty will not be of any help either.
Thanks…
Roger
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx