5 exercises on Next.js rendering strategy vocabulary.
0 / 5 completed
1 / 5
What does SSG (Static Site Generation) mean in Next.js?
SSG: pages are rendered to HTML once during next build. The static files are cached globally, giving fast Time To First Byte (TTFB) and zero server compute per request.
2 / 5
What is ISR (Incremental Static Regeneration)?
ISR: pages are statically served but revalidated server-side after a revalidate period. A stale page is served immediately while a fresh one is generated, balancing freshness and speed.
3 / 5
When is SSR (Server-Side Rendering) appropriate?
SSR: each request triggers server-side data fetching and rendering, making it suitable for authenticated dashboards, real-time prices, or pages where user-specific content prevents caching.
4 / 5
What is the App Router's default rendering mode for a page component?
App Router default: every component in the app/ directory is a React Server Component by default. You opt into client rendering per file with 'use client' at the top.
5 / 5
What does Partial Pre-rendering (PPR) aim to achieve?
PPR: the outer layout is pre-rendered statically for fast initial paint while dynamic parts (personalized content, cart) stream in via Suspense, merging SSG speed with SSR flexibility.