From 4ed4306f40b206b8d72dd6781f9437cad7ee05b2 Mon Sep 17 00:00:00 2001 From: mhdzumair Date: Sun, 23 Feb 2025 09:41:26 +0530 Subject: [PATCH] reduce caching value to fix kodi non-refresh automatically --- utils/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/const.py b/utils/const.py index 8e3c0e2..27cd269 100644 --- a/utils/const.py +++ b/utils/const.py @@ -113,7 +113,7 @@ CORS_HEADERS = { "Access-Control-Allow-Methods": "*", } CACHE_HEADERS = { - "Cache-Control": "max-age=3600, stale-while-revalidate=3600, stale-if-error=604800, public", + "Cache-Control": "max-age=3600, stale-while-revalidate=3600, stale-if-error=3600, public", } NO_CACHE_HEADERS = { "Cache-Control": "no-store, no-cache, must-revalidate, max-age=0",