diff --git a/apps/web/server.py b/apps/web/server.py index 6b05bed..237650d 100644 --- a/apps/web/server.py +++ b/apps/web/server.py @@ -116,7 +116,7 @@ class ProxyStaticHandler(SimpleHTTPRequestHandler): self.send_header("Content-Type", ctype) self.send_header("Content-Length", content_length) if "text/html" in ctype or "text/javascript" in ctype or "application/javascript" in ctype: - self.send_header("Cache-Control", "no-cache, no-store, must-revalidate") + self.send_header("Cache-Control", "no-cache, no-store, must-revalidate, s-maxage=0") self.send_header("Pragma", "no-cache") self.send_header("Expires", "0") self.send_header("Last-Modified", self.date_time_string(fs.st_mtime))