Back to Interview Hub

Next.js Questions

Server-side rendering, App Router, API routes, and performance.

Showing 1-1 of 1 questions

1 / 1
1QuestionsMedium🔥 77% Asked

SSR vs SSG vs ISR in Next.js

Asked in:UberIBM

SSR (Server-Side Rendering): HTML is generated on each request. Always fresh data, slower response. Use for dynamic dashboards. SSG (Static Site Generation): HTML is generated at build time. Super fast, CDN cached. Use for blogs, marketing pages. ISR (Incremental Static Regeneration): HTML is generated at build time, but re-generated in the background after a specific revalidate time. Best of both worlds!