App Router

acme.com
/isr/
HomePost 1Post 2
Generating Link 5s
children

Incremental Static Regeneration

  • In this example, three posts fetch data using granular ISR.
  • Caches responses are fresh for 100 seconds.
  • Try navigating to each post and noting the timestamp of when the page was rendered. Refresh the page after 100 seconds to trigger a revalidation for the next request. Refresh again to see the revalidated page.
  • Note that the fetch cache can be persisted across builds.