<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">is there a hook into the nginx processing to modify the response body (and headers) before they are cached when using with proxy_pass?</div><div class=""><br class=""></div><div class="">I am aware of the body filters (<a href="http://nginx.org/en/docs/dev/development_guide.html#http_body_filters" class="">http://nginx.org/en/docs/dev/development_guide.html#http_body_filters</a>), 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.</div><div class=""><br class=""></div><div class="">I am assuming, if nginx does not offer such a hook, OpenResty will not be of any help either.</div><div class=""><br class=""></div><div class="">Thanks…</div><div class=""><br class=""></div><div class="">Roger</div><div class=""><br class=""></div></body></html>