change s-maxage to 3540s, add swr

This commit is contained in:
Spencer Woo
2022-02-13 22:12:23 +08:00
committed by GitHub
parent aea8a4d029
commit a4de979332
+1 -1
View File
@@ -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, stale-while-revalidate=3540'
cacheControlHeader: 'max-age=0, s-maxage=3540, stale-while-revalidate=60'
}