nextRound
TechnologiesCoding ProblemsBookmarksLearning Paths
nextRound
TechnologiesCoding ProblemsBookmarksLearning Paths
nextRound

AI-powered interview preparation platform. Practice with curated questions, mock interviews, and personalized learning paths to crack your dream tech interview.

Quick Links

  • Technologies
  • Saved Questions
  • Pricing

Company

  • About Us
  • Contact Us

Legal

  • Privacy Policy
  • Terms of Use

© 2026 nextRound. All rights reserved.

TOPIC OVERVIEW

nextjs/SSG

Building the HTML once, at build time, so every request gets it instantly.

10 QuestionsIntermediateHigh Priority ~11 min read

Static Site Generation pre-renders a page's HTML once at build time, rather than per request. In the App Router, this is actually the default — any route that doesn't read request-specific data (cookies, headers, search params) or call a dynamic function is automatically rendered statically, with no extra configuration needed to opt in.

generateStaticParams lets you pre-render specific values for a dynamic route at build time — every blog post slug, every product ID — turning a whole set of dynamic pages into static ones. Incremental Static Regeneration, controlled via the revalidate option, extends this further: a statically generated page can be regenerated in the background after a set time interval, without requiring a full site rebuild, combining SSG's speed with data that's allowed to go stale and quietly refresh.

What you'll walk away knowing

Why SSG produces the fastest possible response — HTML that's already built before any request arrives
What automatically makes a route static versus forces it into dynamic rendering
How generateStaticParams pre-renders specific dynamic route params at build time
How Incremental Static Regeneration lets static pages refresh without a full site rebuild
1How does SSG differ from SSR and CSR?Intermediate2Discuss briefly getStaticPathsIntermediate3What is Partial Prerendering (PPR) and how does it relate to SSG?Intermediate4What are the trade-offs between full static export (output: 'export') vs standard SSG with ISR?Intermediate5How does Next.js handle cache invalidation in ISR, and what are the pitfalls?Advanced6How would you debug a page that should be static but is being rendered dynamically?Intermediate7What types of pages are best suited for SSG?Advanced8How does SSG interact with middleware in Next.js?Intermediate9What are the fallback options in getStaticPaths?Intermediate10What is are different revalidation strategies in Incremental Static Regeneration (ISR)?Intermediate11What is Incremental Static Regeneration (ISR)?Intermediate12What are the benefits of Static Site Generation in Next.js?Intermediate13How do you avoid build-time data staleness in SSG?Intermediate14How would you architect SSG for a site with 100,000+ pages?Advanced15What is static site generation (SSG) in Next.js?Intermediate16Discuss getStaticProps in briefIntermediate17What is generateStaticParams in the App Router?Intermediate18How do we generate static pages in a NextJS project with the app router?Intermediate19How does SSG work in a monorepo or multi-zone Next.js architecture?Advanced20What is the difference between revalidatePath and revalidateTag? When do you use each?Intermediate
All Topics
1
Basics
Project Structure
Runtime
Compiler
2
SSG
SSR
CSR
3
Routing
Route Handlers
Route Groups
Dynamic Routes
Parallel Routes
Intercepting Routes
4
Middleware
Server Actions
APIS
Data Fetching
Caching
Clients
5
Optimisation
i18n
Security
Architecture
Deployment
Accessibility
Sharethis topic

Share via WhatsApp, X, Facebook, LinkedIn or copy link. Open Graph preview enabled.