change cache to 1hr and must-revalidate

This commit is contained in:
Spencer Woo
2022-02-13 11:53:49 +08:00
committed by GitHub
parent 7855ff2faa
commit d90af814f1
+1 -1
View File
@@ -31,5 +31,5 @@ module.exports = {
// Cache-Control header, check Vercel documentation for more details. // Cache-Control header, check Vercel documentation for more details.
// https://vercel.com/docs/concepts/edge-network/caching // 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'
} }