Update all main pages to no-store

This commit is contained in:
Andrew Godwin 2022-12-17 15:35:22 -07:00
parent 4d71da7ae1
commit 24b5d08f9b

View file

@ -23,7 +23,7 @@ class HeadersMiddleware:
) )
response = self.get_response(request) response = self.get_response(request)
if "Cache-Control" not in response.headers: 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 return response