From bb4e8464a457b1d86102cff92bb71410c5e7f173 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 3 Jan 2026 21:48:23 -0800 Subject: [PATCH] Add no-cache header to force revalidation on page loads --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index ac06f7d..c06323b 100644 --- a/main.go +++ b/main.go @@ -102,6 +102,8 @@ func main() { } func handleStatic(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Cache-Control", "no-cache") + path := r.URL.Path if path == "/" { path = "/index.html"