acme.com
/pages/revalidate/Cache Revalidation Controllers
return (
Revalidating Paths with Pages Router
- The routes for Static [1] and ISR [3] take 10 seconds to be rendered (when not cached)
- Page path-based revalidations clear the corresponding cached values and store new ones (fresh values).
- The pages router will return the latest cache value (stale cache) until the new one is ready.
- For testing cache staling, refresh the page (after triggering revalidate) during the 10 seconds it takes to generate a new version.
- If an error occurs while generating the new page, the old cached value will be returned instead.