Skip to content

Commit

Permalink
add cache control
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Feb 5, 2025
1 parent 23e10b1 commit 00640d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions notifications_utils/request_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def rewrite_response_headers(status, headers, exc_info=None):
headers.append(("Cross-Origin-Embedder-Policy", "require-corp"))
headers.append(("Cross-Origin-Resource-Policy", "same-origin"))
headers.append(("Cross-Origin-Opener-Policy", "same-origin"))
headers.append(("Cache-Control", "no-store"))
headers.append(("Pragma", "no-cache"))


return start_response(status, headers, exc_info)

Expand Down

0 comments on commit 00640d1

Please sign in to comment.