Design

Incremental static regeneration (ISR)

Incremental static regeneration is the hybrid where pages are pre-rendered to static HTML but the framework refreshes them in the background after a defined revalidation period, combining SSG's first-byte speed with SSR's freshness. Used in Next.js, Astro, and others.

Updated

ISR is the pragmatic middle path between SSG and SSR. The model: on first request, the static HTML is served instantly; if the page is stale (older than the revalidate window), the framework triggers a background rebuild; the next request gets the fresh version. The user-perceived latency stays at SSG levels because no request waits for rebuild. ISR fits content that's mostly stable but occasionally updated: product pages, blog indexes, glossary terms. The trade-off: cache invalidation is eventual rather than immediate (the revalidate window is the eventual consistency floor); on-demand revalidation APIs address this by letting backend events trigger immediate rebuilds.

See the term at work

Stride keeps stories, architecture decisions, tests and delivery data in one workspace, where the terms in this glossary are things you can open.