From d90af814f17ba476727e3df5e8a60b8c23d98c72 Mon Sep 17 00:00:00 2001 From: Spencer Woo Date: Sun, 13 Feb 2022 11:53:49 +0800 Subject: [PATCH] change cache to 1hr and must-revalidate --- config/api.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/api.config.js b/config/api.config.js index 9b5b9aa..281ee99 100644 --- a/config/api.config.js +++ b/config/api.config.js @@ -31,5 +31,5 @@ module.exports = { // Cache-Control header, check Vercel documentation for more details. // https://vercel.com/docs/concepts/edge-network/caching - cacheControlHeader: 'max-age=0, s-maxage=600, stale-while-revalidate=59' + cacheControlHeader: 'max-age=0, s-maxage=3600, must-revalidate' }