Reverse proxy caching for dynamic content

flierps nginx-forum at
Wed May 15 11:10:21 UTC 2019

Yes, upstream behaves as you would expect.

Right now Nginx proxy_valid is set to 1 second. After that second Nginx
revalidates with upstream and upstream will respond with 304 if applicable.

I just do not want Nginx to serve from cache during that second. It always
needs to revalidate.

Apache supports this as noted here by somebody else:

Posted at Nginx Forum:,284167,284175#msg-284175

More information about the nginx mailing list