fix: frontend browser caching issue

Disable caching for index.html and reduce static assets cache to 30d.
This commit is contained in:
sagitchu
2026-04-05 17:50:12 +08:00
parent 534d36f0a1
commit f0351107dd
2 changed files with 12 additions and 1 deletions
+3
View File
@@ -2,6 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta name="theme-color" content="#2563eb" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />