CodeZettaInterview Hub

Next.js · SSG · Senior · Scenario

Build time exploded after adding 50k product pages. What do you do?

Short Interview Answer

Don't SSG everything at build — use ISR/on-demand, incremental path generation, or hybrid rendering.

Detailed Explanation

Prioritize top pages at build. Generate long-tail on first request with revalidation. Watch CDN and origin costs.

Did you know this answer?