From adcf60f4a55c4e66fd51a486f6441e141eda7319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?AI=E4=B8=8D=E6=AD=A2=E8=AF=AD?= <12096460+jnMetaCode@users.noreply.github.com> Date: Tue, 23 Jun 2026 04:52:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(site):=20HTML=20=E7=94=A8=20Cache-Control?= =?UTF-8?q?=20no-store=EF=BC=8C=E5=B0=9D=E8=AF=95=E7=BB=95=E8=BF=87=20zone?= =?UTF-8?q?=20Browser=20Cache=20TTL=20=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/build.mjs b/site/build.mjs index 746aa81..0f7b110 100644 --- a/site/build.mjs +++ b/site/build.mjs @@ -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');