mirror of
https://github.com/coulisse/spiderweb.git
synced 2024-09-21 07:27:09 +00:00
fix caching
This commit is contained in:
parent
0e6adda961
commit
667f12a7b8
@ -471,7 +471,7 @@ def add_security_headers(resp):
|
||||
resp.headers["X-Content-Type-Options"] = "nosniff"
|
||||
resp.headers["Referrer-Policy"] = "strict-origin-when-cross-origin"
|
||||
#resp.headers["Cache-Control"] = "public, no-cache"
|
||||
resp.headers['Cache-Control']='no-cache, no-store, must-revalidate'
|
||||
resp.headers['Cache-Control']='no-store'
|
||||
resp.headers["Pragma"] = "no-cache"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user