Recall & Review
beginner
What is static rendering in Next.js?
Static rendering means the page HTML is generated once at build time and served as a fixed file to all users. It does not change on each request.
Click to reveal answer
beginner
When does Next.js generate static pages by default?
Next.js generates static pages by default for pages without data fetching methods like getServerSideProps or dynamic data fetching methods.
Click to reveal answer
intermediate
How does static rendering improve website performance?
Static rendering improves performance by serving pre-built HTML quickly without server processing on each request, reducing load time.
Click to reveal answer
intermediate
Can static rendering pages update their content after deployment?
By default, static pages do not update after deployment unless you use features like Incremental Static Regeneration (ISR) to refresh content.
Click to reveal answer
intermediate
What is the difference between static rendering and server-side rendering in Next.js?
Static rendering builds pages at build time, serving fixed HTML. Server-side rendering builds pages on each request, generating fresh HTML dynamically.
Click to reveal answer
What does Next.js do by default for pages without data fetching?
✗ Incorrect
Next.js generates static HTML at build time for pages without data fetching methods by default.
Which feature allows static pages to update after deployment?
✗ Incorrect
ISR lets Next.js update static pages after deployment by regenerating them in the background.
Static rendering improves performance because:
✗ Incorrect
Pre-built pages serve faster since no server processing is needed on each request.
Which Next.js method disables static rendering for a page?
✗ Incorrect
Using getServerSideProps forces server-side rendering, disabling static rendering.
What is served to users in static rendering?
✗ Incorrect
Users get pre-built HTML files generated at build time in static rendering.
Explain how static rendering works in Next.js and why it is beneficial.
Think about when the page HTML is created and how it affects user experience.
You got /4 concepts.
Describe the difference between static rendering and server-side rendering in Next.js.
Focus on when the page is built and how often.
You got /4 concepts.