CONCEPT Cited by 1 source
Incremental Static Regeneration¶
Definition¶
Incremental Static Regeneration (ISR) is a caching strategy — popularised by Next.js — in which a page is:
- Rendered on first request (or at deploy time).
- Cached with an explicit revalidation window.
- Served from cache to subsequent requests within the window.
- Re-rendered in the background when the window expires or an explicit revalidation is triggered.
Trades off freshness vs. render cost: ISR pays the render cost once per revalidation window, not once per request.
ISR in vinext¶
vinext supports ISR out of the box via the
KVCacheHandler plugged
into Next.js's setCacheHandler() API:
"After the first request to any page, it's cached and revalidated in the background, just like Next.js. That part works today."
Complementary to vinext's Traffic-aware Pre-Rendering: TPR pre-renders the high-traffic head at deploy time; ISR fills in the long tail on first request.
Cache substrate choice¶
vinext's cache layer is pluggable per patterns/pluggable-cache-handler:
- KV — good default for most apps.
- R2 — better for large cached payloads.
- Cloudflare Cache API — forthcoming, lower-config option.
Seen in¶
- sources/2026-02-24-cloudflare-how-we-rebuilt-nextjs-with-ai-in-one-week — ISR is vinext's primary caching primitive; paired with TPR for coverage across the power-law traffic distribution.
Related¶
- concepts/traffic-aware-prerendering — the pre-render- at-deploy-time complement to ISR's render-on-first-request.
- concepts/build-time-scales-with-page-count — the pathology ISR partially addresses by deferring rendering until needed.
- systems/nextjs — original home of ISR.
- systems/vinext — the production consumer.
- systems/vinext-kv-cache-handler — the default implementation.
- patterns/pluggable-cache-handler — the pluggability pattern.