Next.js card reviewmedium

How does server-side rendering (SSR) in Next.js App Router differ from Static Site Generation (SSG)?

SSR (Dynamic Rendering) fetches data and generates the HTML on every incoming request, ensuring information is always up-to-date. SSG (Static Rendering) pre-renders the page at build-time, serving static files directly from a CDN for lightning-fast speeds. Next.js 15 controls this using dynamic cache configurations, generateStaticParams, or page routing variables.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.