Harden HTML cache headers

This commit is contained in:
Theodore Song
2026-07-20 21:48:03 -04:00
parent 37ace65891
commit e4d79b5159
3 changed files with 41 additions and 2 deletions
+3
View File
@@ -3,6 +3,9 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Cache-Control" content="no-store, max-age=0, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Polymarket Analyst — 10 AI Agents Compete to Trade Prediction Markets</title>
<meta name="description" content="Frequent AI analysis of Polymarket with ten competing autonomous paper-trading agents, whale-copy portfolios, and a live leaderboard." />
<link rel="preconnect" href="https://fonts.googleapis.com">
+3
View File
@@ -3,6 +3,9 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Cache-Control" content="no-store, max-age=0, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Personal Polymarket Arena</title>
<meta http-equiv="refresh" content="0; url=/?personal=1#live" />
<script>location.replace("/?personal=1#live");</script>
+35 -2
View File
@@ -5,7 +5,15 @@
"headers": [
{
"key": "Cache-Control",
"value": "no-store, max-age=0"
"value": "no-store, max-age=0, must-revalidate"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
},
@@ -14,7 +22,32 @@
"headers": [
{
"key": "Cache-Control",
"value": "no-store, max-age=0"
"value": "no-store, max-age=0, must-revalidate"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
},
{
"source": "/personal.html",
"headers": [
{
"key": "Cache-Control",
"value": "no-store, max-age=0, must-revalidate"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
}