Incremental static regeneration
ISR
Definition
Incremental static regeneration is a rendering strategy that serves pre-built static pages and rebuilds individual pages in the background after their content changes, instead of rebuilding the whole site.
Incremental static regeneration exists to solve the build time problem that appears once a static site passes a few thousand pages. Rebuilding everything for one edit is wasteful, and waiting for it is what makes editors stop trusting the publish button.
The cost is a window during which a stale page can still be served, so the strategy is a good fit for content where a short delay is acceptable and a poor fit for prices and legal text.