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
Explore this link on the map →related reading
- Getting Started: Caching | Next.jsnextjs.org
- App Router: Streaming | Next.jsnextjs.org
- Cursor Docs — Agent, Rules, MCP, Skills & CLIdocs.cursor.com
- Rendering: Static Site Generation (SSG) | Next.jsnextjs.org
- The Content Operating System for the AI era | Sanitysanity.io
- Making Sense of React Server Components • Josh W. Comeaujoshwcomeau.com
- Web Applications 101 - Robin Wieruchrobinwieruch.de
- Rendering on the Web | Articles | web.devweb.dev
- The logo soup problem (and how to solve it) | Sanitysanity.io
- File-system conventions: loading.js | Next.jsnextjs.org
- Getting Started: Fetching Data | Next.jsnextjs.org
- Building a single-page application with Next.js and React Routercolinhacks.com