Nginx Reverse Proxy Caching

Peter Booth peter_booth at
Wed Feb 13 18:02:01 UTC 2019


The browser (client-side) cache isn’t related to the nginx reverse proxy cache. You can tell Chrome to not cache html by adding the following to your location definition:

add_header Cache-Control 'no-store';
You can use Developer Tool in Chrome to check that it is working.


Sent from my iPhone

> On Feb 13, 2019, at 11:56 AM, Sathish Kumar <satcse88 at> wrote:
> Hi All,
> We have Nginx in front of our Application server. We would like to disable caching for html files.
> Sample config file:
> location /abc/ {
>          proxy_pass;
>     }
> We noticed few html files get stored in Chrome local disk cache and would like to fix this issue. Can anybody help, thanks
> _______________________________________________
> nginx mailing list
> nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list