From f9ff55ccdc1d2e541348d06c65a42efad3354f44 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Wed, 17 Apr 2024 16:33:45 +0800 Subject: [PATCH] optimize --- next.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index bfaf2417b..cb56f8d2f 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -107,7 +107,7 @@ const ForceCacheHeaders = [ { key: "Cache-Control", value: "max-age=2592000, s-maxage=86400"} ] const NoCacheHeaders = [ - { key: "Cache-Control", value: "no-cache"} + { key: "Cache-Control", value: "no-cache, no-store, must-revalidate, max-age=0" } ] nextConfig.headers = async () => {