QuickDevGuide

Home › Next.js

Rendering Strategies — Next.js

Next.js supports multiple rendering strategies — and it automatically chooses the best one based on your code. You can also configure it explicitly. Static Rendering (SSG) — Default Pages with no dynamic data are statically rendered at build time: Dynamic Rendering (SSR) Pages that use dynamic functions (cookies(), headers(), searchParams) are rendered on each request: Incremental Static Regeneration (ISR) Static pages that revalidate after a configured time: Force Static or Dynamic Static Params (Pre-render Dynamic Routes) Comparison Strategy When HTML Generated Data Freshness Speed SSG Build time Stale until rebuild ⚡ Fastest ISR Build + revalidate Fresh after interval ⚡ Fast SSR Every request Always fresh 🔄 Per-request

Key Takeaways