Skip to content

Commit

Permalink
Disable caching on info page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Morris committed Aug 9, 2024
1 parent 05d8cbb commit 2be07ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ ServerSignature Off

Header always set Permissions-Policy: interest-cohort=()
Header unset Expires

# Disable info page caching
<FilesMatch "^/aggro/info/.*$">
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache"
Header set Expires "Thu, 1 Jan 1970 00:00:00 GMT"
</FilesMatch>
</IfModule>

AddDefaultCharset utf-8
Expand Down

0 comments on commit 2be07ba

Please sign in to comment.