acme.com
/pages/revalidate/static-1/

Cache Revalidation Controllers

return (

Revalidating Path

  • This page takes 10 seconds to be rendered (when not cached)
  • Time in New York: 12:15:51 PM (obtained via fetch)
  • Lorem ipsum post is obtained via fetch using NYC time seconds as post id (seconds:51)
  • 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.

[51] soluta aliquam aperiam consequatur illo quis voluptas

Last snapshot: 12:15:51 PM

sunt dolores aut doloribus dolore doloribus voluptates tempora et doloremque et quo cum asperiores sit consectetur dolorem