From 5bfda4ac4df528b76b0425a732f946523bd4d456 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 13 Nov 2020 19:30:13 +0000 Subject: [PATCH] Set timeout for cache control --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index c9895f0eb..acacac5db 100644 --- a/daemon.py +++ b/daemon.py @@ -570,7 +570,7 @@ class PubServer(BaseHTTPRequestHandler): def _set_headers(self, fileFormat: str, length: int, cookie: str, callingDomain: str) -> None: self._set_headers_base(fileFormat, length, cookie, callingDomain) - self.send_header('Cache-Control', 'public, max-age=0') + self.send_header('Cache-Control', 'public, max-age=86400') self.end_headers() def _set_headers_head(self, fileFormat: str, length: int, etag: str,