Static or Dynamic — Reading the Build Output — Concept Check
Questions on Static or Dynamic — Reading the Build Output. Every route is one or the other, the build tells you which, and a route silently flipping to dynamic is the most common performance regression in a Next codebase.
Questions in this quiz
7 questions on Static or Dynamic — Reading the Build Output — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.After a recent deployment, you notice a route that was previously marked as ○ is now marked as ƒ. What is the most likely cause?
- AThe route's HTML content changed.
- BThe CDN is experiencing issues.
- CA cookies() call was added in a shared layout.
- DThe route's JavaScript bundle size increased.
2.A page that should be served from the CDN is suddenly slow. The build output shows it as ƒ. What should you check first?
- AThe number of paths listed for the route.
- BThe network latency to the server.
- CThe size of the JavaScript bundle.
- DShared layout files for request-dependent calls.
3.What does the symbol ● in the build output indicate about a route?
- AIt is rendered per request on a server, causing latency.
- BIt is prerendered from generateStaticParams and served from the CDN.
- CIt is prerendered at build time and served from the CDN.
- DIt runs on the edge runtime.
4.You notice the First Load JS size is creeping up with each release. What might this indicate?
- AThe CDN is caching more content.
- BMore JavaScript is being included in the initial load, potentially slowing down the page.
- CThe number of dynamic routes has decreased.
- DThe server is rendering pages more slowly.
5.A developer adds a searchParams read to a page prop. What impact does this have on the route?
- AThe route becomes static, as searchParams are cached.
- BThe route becomes edge-rendered, as searchParams optimize performance.
- CThe route becomes dynamic, as searchParams are request-dependent.
- DThe route remains static, as searchParams do not affect rendering.
6.In the build output, what does the symbol ƒ indicate about a route?
- AIt is rendered per request on a server, increasing latency and cost.
- BIt is prerendered and served from the CDN, ensuring fast delivery.
- CIt runs on the edge runtime, optimizing performance.
- DIt is prerendered using generateStaticParams and cached by the CDN.
7.A page unexpectedly shows as ƒ in the build output. What is the first step to diagnose the issue?
- AReduce the JavaScript bundle size.
- BCheck shared layouts for request-dependent calls like cookies().
- CCheck the server's response time.
- DIncrease the CDN cache duration.