index
ISR/ incremental static regenerationexport const revalidate = 10

Cached static, regenerated in the background.

pattern
ISRIncremental Static Regeneration

Cached static, regenerated in the background.

pros
  • +fast + fresh
  • +cdn-cached
cons
  • slight staleness
  • more moving parts
use-cases
  • ecommerce
  • news
  • feeds
flowcached → background rebuild
  1. 01request
  2. 02serve cached
  3. 03background rebuild
  4. 04update cache
liverevalidates every 10s
ISRrender-info
live
location
hybrid
timestamp
2026-08-17T08:09:25.430Z
build
2026-08-17T08:09:25.430Z
sourceapp/isr/page.tsx
app/isr/page.tsxtsx
1export const revalidate = 10
2
3export default function Page() {
4 const data = new Date().toISOString()
5 return <div>{data}</div>
6}
hint

production only: rapid refreshes hit the cache. wait 10 seconds, refresh again — a fresh render lands in the background.