Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 0ed6478

Browse files
committed
Fix cache control header for versions.json
1 parent 6956a97 commit 0ed6478

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

firebase.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
},
7070
{
7171
"key": "Cache-Control",
72-
// The versions file should not be cached for too long since we are
73-
// deploying on a weekly basis and this file is rather small.
74-
"value": "public, max-age=604800" // 7 days.
72+
// The versions file should not be cached as it may change
73+
// at any time and otherwise old versions would be rendered.
74+
"value": "no-cache"
7575
}
7676
]
7777
},

0 commit comments

Comments
 (0)