#800 orders.php 增强缓存破坏头(解决浏览器/CDN缓存旧版导致SyntaxError)
- 新增 Pragma: no-cache 和 Expires: 0 头 - Cache-Control 增加 proxy-revalidate(强制代理/CDN不缓存) - 线上验证通过:HTTP 200 / 14893 bytes / 全部JS函数就位 / 无PHP错误
This commit is contained in:
+3
-1
@@ -63,7 +63,9 @@ $initialState = json_encode([
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate">
|
||||
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate, proxy-revalidate">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Expires" content="0">
|
||||
<title>SDF1 - 订单记录</title>
|
||||
<style>
|
||||
:root { --bg:#0d1117; --card:#161b22; --border:#30363d; --text:#e6edf3; --dim:#8b949e; --accent:#58a6ff; --green:#3fb950; --red:#f85149; --yellow:#d29922; --purple:#bc8cff; }
|
||||
|
||||
Reference in New Issue
Block a user