SSG SSR and ISR
Statically generate pages at build time, server-render them per request, or revalidate cached pages on a schedule with Incremental Static Regeneration.
Three Rendering Strategies
Next.js supports three ways to render pages: SSG (Static Site Generation), SSR (Server-Side Rendering), and ISR (Incremental Static Regeneration). Each has different tradeoffs.
SSG — Build Time Generation
Pages are generated as static HTML at build time and served from a CDN. Fastest possible delivery. Best for: marketing pages, blogs, documentation.