diff --git a/next.config.mjs b/next.config.mjs index 16c9aa933..bfaf2417b 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -106,6 +106,18 @@ const IndexHeaders = [ const ForceCacheHeaders = [ { key: "Cache-Control", value: "max-age=2592000, s-maxage=86400"} ] +const NoCacheHeaders = [ + { key: "Cache-Control", value: "no-cache"} +] + +nextConfig.headers = async () => { + return [ + { + source: '/', + headers: NoCacheHeaders, + } + ] +} if (mode !== "export") { // nextConfig.headers = async () => {