From 24b5d08f9b7e987a578143aea98ccaa69ba80ce5 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 17 Dec 2022 15:35:22 -0700 Subject: Update all main pages to no-store --- core/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3