acme.com
/pages/revalidate/3/Cache Revalidation Controllers
return (
Revalidating Path
- This page takes 10 seconds to be rendered (when not cached)
- Time in New York: 11:12:39 AM (obtained via fetch)
- Lorem ipsum post is obtained via fetch using NYC time seconds as post id (seconds:39)
- 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.
[39] eos dolorem iste accusantium est eaque quam
Last snapshot: 11:12:39 AM
corporis rerum ducimus vel eum accusantium maxime aspernatur a porro possimus iste omnis est in deleniti asperiores fuga aut voluptas sapiente vel dolore minus voluptatem incidunt ex