mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 15:21:01 +00:00
Update all main pages to no-store
This commit is contained in:
parent
4d71da7ae1
commit
24b5d08f9b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue