diff --git a/handlers.py b/handlers.py index e17f8b3..9fc53a1 100644 --- a/handlers.py +++ b/handlers.py @@ -550,6 +550,9 @@ class FileServerHandler(BaseHTTPRequestHandler): if file_path.endswith(".css"): self.send_response(200) self.send_header("Content-type", "text/css") + self.send_header( + "Cache-Control", "public, max-age=86400" + ) # Cache in seconds (1 day) self.end_headers() self.wfile.write(content.encode()) else: