Blog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2025 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Next.js
Next.jsmedium

SSR vs SSG vs ISR — what’s the difference in Next.js?

Tags
#ssr#ssg#isr#caching
Back to categoryPractice quiz

Answer

SSR renders on every request, SSG renders at build time, and ISR regenerates pages in the background after a revalidate interval. It’s a trade-off between freshness, speed, and build time.

Related questions

Next.js
Dynamic routes: what does `generateStaticParams` do?
#nextjs#ssg#dynamic-routes
Next.js
Static vs dynamic rendering — how do you force a route to be dynamic and why?
#ssr#dynamic#cache
Next.js
What causes a hydration mismatch in React/Next.js and how do you fix it?
#hydration#ssr#react
Next.js
Explain caching and revalidation in Next.js (fetch cache, revalidatePath).
#caching#revalidation#fetch
Next.js
What is Incremental Static Regeneration (ISR) and when to use it?
#isr#ssg#caching
Next.js
SSR vs SSG?
#nextjs#rendering#ssr