← back to Rentv Sheet Enrich Refine
Server: send no-store/no-cache headers so the browser always loads the latest console (kills the stale-cache 'doesn't work' after every update)
58c60566ab05dd1233ed265860f40aa0bf407baf · 2026-08-13 15:10:13 -0700 · Steve Abrams
Files touched
Diff
commit 58c60566ab05dd1233ed265860f40aa0bf407baf
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Aug 13 15:10:13 2026 -0700
Server: send no-store/no-cache headers so the browser always loads the latest console (kills the stale-cache 'doesn't work' after every update)
---
live_server.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/live_server.py b/live_server.py
index 510fc2e..5d19869 100644
--- a/live_server.py
+++ b/live_server.py
@@ -173,6 +173,10 @@ class H(BaseHTTPRequestHandler):
self.send_response(code)
self.send_header("Content-Type", ctype)
self.send_header("Content-Length", str(len(data)))
+ # never cache — the console updates constantly; this kills the stale-copy "doesn't work" bug
+ self.send_header("Cache-Control", "no-store, no-cache, must-revalidate, max-age=0")
+ self.send_header("Pragma", "no-cache")
+ self.send_header("Expires", "0")
self.end_headers()
self.wfile.write(data)
← 775dcab Left-panel Sheets selector: check 1..all sheets by name (wit
·
back to Rentv Sheet Enrich Refine
·
Live console: real SVG phone/website/LinkedIn icons + value- 15117d1 →