Update all main pages to no-store
This commit is contained in:
parent
4d71da7ae1
commit
24b5d08f9b
|
@ -23,7 +23,7 @@ class HeadersMiddleware:
|
|||
)
|
||||
response = self.get_response(request)
|
||||
if "Cache-Control" not in response.headers:
|
||||
response.headers["Cache-Control"] = "private, max-age=0"
|
||||
response.headers["Cache-Control"] = "no-store, max-age=0"
|
||||
return response
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue