Free auditStart free
GlossaryGlossary · Rendering

Incremental Static Regeneration (ISR)

Incremental Static Regeneration serves cached static pages and rebuilds them in the background. See how revalidation works in Next.js and on Vercel, with limits.

3 min
read
2
sources
Oct 21, 2026
updated
Scaplet Editorial Team
author
In one line

Incremental Static Regeneration (ISR) lets you update static pages after you have built the site, without rebuilding all of it. Visitors get a cached page right away and the framework regenerates it in the background, on a time interval or when you trigger it. Vercel describes it as a stale-while-revalidate caching strategy.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What ISR does

The Next.js docs list three things ISR gives you: you can update static content without rebuilding the entire site, you reduce server load by serving prerendered static pages for most requests, and you can handle large numbers of content pages without long next build times.

It sits between static site generation, where every page is fixed at build time, and server-side rendering, where each request renders the page. Vercel says to use ISR when content updates on a known schedule, from minutes to hours, rather than in real time.

02How it works

The revalidation cycle

In Next.js you set a revalidation time on the route. With revalidate = 60, the cache is invalidated on a request, at most once every 60 seconds. The docs describe the sequence:
app/blog/[id]/page.tsx (excerpt)
// Next.js will invalidate the cache when a
// request comes in, at most once every 60 seconds.
export const revalidate = 60

A visitor never waits for regeneration. The visitor who triggers it gets the stale page.

  1. 01

    Build time

    Pages returned by generateStaticParams are prerendered and cached.

  2. 02

    Within 60 seconds

    Requests get the cached page.

  3. 03

    After 60 seconds

    The next request still returns the cached, now stale, page. The cache is invalidated and a new version starts generating in the background.

  4. 04

    After regeneration

    Once the new version generates successfully, the next request returns it and caches it.

04Checklist

Limits to know

First2
If regeneration throws an error, the last successfully generated data keeps being served and Next.js retries on the next request.
ISR is only supported on the Node.js runtime (the default). A static export does not support it.
Next2
The default file-system cache is per instance. With several instances, on-demand revalidation only invalidates the instance that receives the call, so use a shared cache.
On Vercel, cached content lasts for the duration you set, until you revalidate it, or until it goes unaccessed for 31 days. When revalidation fails, Vercel keeps the stale content and retries after a 30-second TTL.
Then1
The x-nextjs-cache response header shows HIT, STALE, MISS or REVALIDATED, which helps when you test.
05Explained

Common mistake

Setting a one-second interval and expecting real-time data. Every regeneration is background work that costs compute on platforms with per-request billing, and the visitor who triggers it still sees the stale page. If content must be current on every request, render it dynamically. For crawlers, the page they fetch is whatever the cache holds, so check the live HTML after an edit, not just your CMS.
Questions

Asked a lot.

5 questions people ask next, answered from the sources on this page.

01What is incremental static regeneration?

It is a way to update static pages after build time without rebuilding the whole site. The cached page is served, and a fresh version is generated in the background.

02How does ISR work in Next.js?

You set a revalidation time. After it passes, the next request still gets the stale cached page while Next.js regenerates a new one. Once that succeeds, later requests get the updated page.

03What is the difference between ISR and SSR?

SSR renders the page on each request. ISR serves a cached prerendered page and regenerates it in the background on an interval or when you trigger it.

04Does ISR work outside Next.js?

Vercel says its CDN manages ISR caching for frameworks such as Next.js, SvelteKit, Nuxt and Astro.

05What happens if regeneration fails?

In Next.js the last successfully generated data continues to be served and revalidation is retried on a later request. On Vercel, stale content is kept with a 30-second TTL before the retry.

Sources · 2

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • nextjs.org
  • vercel.com
  1. 01How to implement Incremental Static Regeneration (ISR) | Next.jsnextjs.org · checked 2026-10-25
  2. 02Incremental Static Regeneration (ISR) | Vercel Docsvercel.com · checked 2026-10-25
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly