From 8c1586a6e3bbfcfbd06f877a835e26b4753835df Mon Sep 17 00:00:00 2001 From: ihsangan Date: Mon, 5 Aug 2024 09:51:27 +0800 Subject: [PATCH] update caching rule --- src/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.js b/src/helpers.js index 4af8855..7288036 100755 --- a/src/helpers.js +++ b/src/helpers.js @@ -53,7 +53,7 @@ async function serveResult(request) { headers: { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Method': 'GET, HEAD', - 'CDN-Cache-Control': 'public, max-age=43200, proxy-revalidate, immutable', + 'CDN-Cache-Control': 's-maxage=43200, proxy-revalidate, immutable', 'Content-Type': 'application/json; charset=utf-8', } })