From 881a9cd3bd4ddf6bebe80e67af9eaaa518a0c15d Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Tue, 26 Apr 2022 13:47:18 -0600 Subject: [PATCH] Set event thumbnail cache timeout to 1 day --- frigate/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/http.py b/frigate/http.py index 9311ee726..3fb5051ed 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -317,7 +317,7 @@ def event_thumbnail(id): response = make_response(thumbnail_bytes) response.headers["Content-Type"] = "image/jpeg" if event_complete: - response.headers["Cache-Control"] = "private, max-age=31536000" + response.headers["Cache-Control"] = "private, max-age=86400" else: response.headers["Cache-Control"] = "no-store" return response