1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-16 06:28:27 +00:00

Enable contenthash in filename for dynamic assets (#20813) (#20932)

This should solve the main problem of dynamic assets getting stale after
a version upgrade. Everything not affected will use query-string based
cache busting, which includes files loaded via HTML or worker scripts.
This commit is contained in:
silverwind
2022-08-25 08:16:20 +02:00
committed by GitHub
parent 5ebd26d306
commit 85f829fb3c
15 changed files with 1015 additions and 3038 deletions

View File

@@ -44,7 +44,6 @@
"wrap-ansi": "8.0.1"
},
"devDependencies": {
"@happy-dom/jest-environment": "4.0.1",
"eslint": "8.15.0",
"eslint-plugin-html": "6.2.0",
"eslint-plugin-import": "2.26.0",
@@ -52,6 +51,7 @@
"eslint-plugin-unicorn": "42.0.0",
"eslint-plugin-vue": "9.0.1",
"jest": "28.1.0",
"jest-environment-jsdom": "28.1.3",
"jest-extended": "2.0.0",
"postcss-less": "6.0.0",
"stylelint": "14.8.2",