Learning paths · Skills · Intermediate

Next.js: how it renders and caches

What Next.js does with your React tree: how the App Router maps folders to nested layouts, where the server and client boundary falls, how a route becomes a prerendered shell with streamed holes, what `use cache` and `cacheLife` store and for how long, how Server Actions and revalidation fit together, and what the build and the deployment target change.

0 of 11 done

The map

  • Not started
  • In progress
  • Done
  1. 01The routerFolders, layouts, the boundary0/2
  2. 02Rendering and cachingShells, holes, lifetimes, invalidation0/3
  3. 03The server sideActions, handlers, Proxy0/3
  4. 04Shipping itAssets, targets, pitfalls0/3
  5. 05Next: system designSame ideas, at service scale

Everything here is about Next.js 16 (16.4 at the time of writing) with the App Router and Cache Components, which create-next-app now turns on by default. Where the older caching model (route segment options, fetch cache options, unstable_cache) still applies to apps that have not opted in, the topic says so. The React topics on Server Components and Suspense are prerequisites and share their progress with the React path.

Where this path leads