diff options
author | Andrew Godwin | 2022-12-17 15:35:22 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-17 15:35:22 -0700 |
commit | 24b5d08f9b7e987a578143aea98ccaa69ba80ce5 (patch) | |
tree | e97e3077e9479e6cceaf10bdff1b133ebfb56f78 /core | |
parent | 4d71da7ae1c961f9ecc59b449f5c5d6661931988 (diff) | |
download | takahe-24b5d08f9b7e987a578143aea98ccaa69ba80ce5.tar.gz takahe-24b5d08f9b7e987a578143aea98ccaa69ba80ce5.tar.bz2 takahe-24b5d08f9b7e987a578143aea98ccaa69ba80ce5.zip |
Update all main pages to no-store
Diffstat (limited to 'core')
-rw-r--r-- | core/middleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/middleware.py b/core/middleware.py index c1d92ef..f8c5523 100644 --- a/core/middleware.py +++ b/core/middleware.py @@ -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 |