Capítulo 212 de 456
expireTime customizes the stale-while-revalidate value CDNs read from the Cache-Control header for ISR-enabled pages.
expireTime: number (seconds) in next.config.js; feeds the stale-while-revalidate portion of the Cache-Control header.stale-while-revalidate = expireTime - revalidate period for that path.module.exports = {
// one hour in seconds
expireTime: 3600,
}
expireTime: 3600 (1h), o header gerado é s-maxage=900, stale-while-revalidate=2700.expireTime.