Skip to content

Commit

Permalink
no-cache for config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Mar 13, 2024
1 parent dfbe0c9 commit d746f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ server {
add_header 'Cache-Control' 'max-age: 31536000, immutable' always;
}

# do not cache index.html - https://phabricator.wikimedia.org/T331423
location = /index.html {
# do not cache index.html or config.js - https://phabricator.wikimedia.org/T331423
location ~ /(index.html|config.js) {
add_header 'Cache-Control' 'no-cache' always;
}

Expand Down

0 comments on commit d746f0a

Please sign in to comment.