Learn Next.js: Static and Dynamic Rendering | Next.js
This chapter contains Next.js 14 experimental features that are subject to change. The content may be updated as the features are finalized. In the previous chapter, you fetched data for the Dashboard Overview page. However, we briefly discussed two limitations with the current setup: In this chapter... Here are the topics we’ll cover What Static Rendering is and how it can improve your application's performance. What Dynamic Rendering is and when to use it. Different approaches to make your dashboard dynamic. The limitation of fetching data at request time. With Static Rendering, data fetching and rendering happens on the server at build time (when you deploy) or during revalidation. The result can then be distributed and cached (stored) in a Content Delivery Network (CDN) . Whenever a user visits your application, the cached result is served. There are a couple of benefits of Static Rendering: Static Rendering is useful UI has no data or has data that is shared across users, such as
8 Chapter 8 Static and Dynamic Rendering In the previous chapter, you fetched data for the Dashboard Overview page. However, we briefly discussed two limitations of the current setup: The data requests are creating an unintentional waterfall. The dashboard is static, so any data updates will not be reflected on your application. In this chapter... Here are the topics we'll cover What static rendering is and how it can improve your application's performance. What dynamic rendering is and when to use it. Different approaches to make your dashboard dynamic. Simulate a slow data fetch to see what
related reading
- App Router: Streaming | Next.jsnextjs.org
- Getting Started: Caching | Next.jsnextjs.org
- The Content Operating System for the AI era | Sanitysanity.io
- Rendering: Static Site Generation (SSG) | Next.jsnextjs.org
- The logo soup problem (and how to solve it) | Sanitysanity.io
- Cursor Docs — Agent, Rules, MCP, Skills & CLIdocs.cursor.com
- Making Sense of React Server Components • Josh W. Comeaujoshwcomeau.com
- Rendering on the Web | Articles | web.devweb.dev
- Town | The AI Assistant That Does the Worktown.com
- Web Applications 101 - Robin Wieruchrobinwieruch.de
- How Mozilla’s Rust dramatically improved our server-side performance | Figma Blogfigma.com
- Wesley Aptekar-Cassels | There is no such thing as a static websiteblog.wesleyac.com