From e4d79b5159bebbb95ee6979db0bfe35c5d5172df Mon Sep 17 00:00:00 2001 From: Theodore Song Date: Mon, 20 Jul 2026 21:48:03 -0400 Subject: [PATCH] Harden HTML cache headers --- index.html | 3 +++ personal.html | 3 +++ vercel.json | 37 +++++++++++++++++++++++++++++++++++-- 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 9c3309f..d99bcf8 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,9 @@ + + + Polymarket Analyst — 10 AI Agents Compete to Trade Prediction Markets diff --git a/personal.html b/personal.html index 67decbe..e41eded 100644 --- a/personal.html +++ b/personal.html @@ -3,6 +3,9 @@ + + + Personal Polymarket Arena diff --git a/vercel.json b/vercel.json index 1d6da7b..30771bb 100644 --- a/vercel.json +++ b/vercel.json @@ -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" } ] }