From 7855ff2faa11c0ca28dd089f3384c75342adcb88 Mon Sep 17 00:00:00 2001 From: Spencer Woo Date: Sun, 13 Feb 2022 11:29:49 +0800 Subject: [PATCH] change `s-maxage` back to 600 --- 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 3b2f238..9b5b9aa 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=1, stale-while-revalidate=59' + cacheControlHeader: 'max-age=0, s-maxage=600, stale-while-revalidate=59' }