Merge pull request #80 from jnMetaCode/fix/html-no-store

fix(site): HTML no-store 防边缘缓存
This commit is contained in:
AI不止语
2026-06-23 04:52:31 +08:00
committed by GitHub

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');