Cachebust languages.json (#34705)

* Cachebust languages.json

To avoid loading stale language files. The individual language files as hashbusted but the metadata file is not, and it is not feasible to do so.

* Switch cachebust to use Date.now to further avoid collisions

* Fix tests

* Fix tests
This commit is contained in:
Michael Telatynski
2026-08-13 23:55:38 +00:00
committed by GitHub
parent bfd2d16fa6
commit ceaa3ff74e
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export function setupLanguageMock() {
fetchMock.mockGlobal();
fetchMock
.get(
"end:/i18n/languages.json",
"include:/i18n/languages.json?",
{
en: "en_EN.json",
de: "de_DE.json",