fix(site): HTML 用 Cache-Control no-store,尝试绕过 zone Browser Cache TTL 覆盖

This commit is contained in:
AI不止语
2026-06-23 04:52:20 +08:00
parent d9abe7191b
commit adcf60f4a5

View File

@@ -648,7 +648,7 @@ function build() {
' Referrer-Policy: no-referrer\n' +
' Cross-Origin-Opener-Policy: same-origin\n' +
' Permissions-Policy: geolocation=(), microphone=(), camera=()\n' +
' Cache-Control: public, max-age=0, must-revalidate\n' +
' Cache-Control: no-store\n' +
'/assets/*\n Cache-Control: public, max-age=31536000, immutable\n' +
'/styles.css\n Cache-Control: public, max-age=31536000, immutable\n' +
'/app.js\n Cache-Control: public, max-age=31536000, immutable\n');