From cddf85de9824ac3d1998d78a035c49c81db2beae Mon Sep 17 00:00:00 2001 From: Spencer Woo Date: Sun, 13 Feb 2022 16:34:11 +0800 Subject: [PATCH] use stale-while-revalidate=3540 --- 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 281ee99..5bcf6f7 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=3600, must-revalidate' + cacheControlHeader: 'max-age=0, s-maxage=3600, stale-while-revalidate=3540' }