Next.js · Junior · Question 24 of 75
What is ISR (Incremental Static Regeneration)?
- ✓Correct answer: Background updating of static pages without a full rebuild
- 2Gradual loading of the JS bundle as you scroll down the page
- 3Rendering the page in parts in the browser after JS loads
Explanation
Users get a cached static page, and after the period expires (or revalidatePath/revalidateTag is called), Next.js regenerates it in the background and updates the cache. It's a compromise between the speed of SSG and the freshness of SSR.