Answer the question
In order to leave comments, you need to log in
How to disable caching of certain urls in nginx?
There is a site on django + uwsgi + nginx. There is a problem with caching. When the user clicks on the "sign out" button, firefox takes that request from the cache.
Accordingly, in reality, the request is not sent to the server, the user does not log out.
This request had Cache-Control "max-age=1" in the headers . I disabled Nginx for this url using the expires off method . Did not help.
How to disable caching of the page and request by the browser using nginx?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question