Reverse proxy caching for dynamic content

Patrick 201904-nginx at jslf.app
Thu May 16 05:11:44 UTC 2019


On 2019-05-16 00:59, flierps wrote:
> When max-age=0 in the Cache-Control header, Nginx will not cache, so that
> will not work.
> I need this in cache-control to make sure all browsers will revalidate.

Don't set Cache-Control at the upstream, though. Have nginx reset it to
what you need the browsers to see.


Patrick


More information about the nginx mailing list