Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Catch Caching Errors During Build - From Segments to Suspense

React Conferences by GitNation via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to prevent silent performance regressions and unintended dynamic rendering in Next.js App Router through this technical deep dive conference talk by Wyatt Johnson, Software Engineer on the Next.js team at Vercel. Discover the evolution from segment-level configurations to a code-centric caching model that shifts error detection from production runtime to the build phase using the new Cache Components architecture. Explore why Next.js 16 produces errors when dynamic data is accessed outside of Suspense and understand the build-time guardrails that prevent production issues. Master the integration of Partial Prerendering (PPR) and Dynamic IO into a single configuration through Cache Components, and implement new directives like use cache and cacheLife for granular control over caching behavior. Understand why traditional export const revalidate and dynamic segment configurations are being deprecated and replaced with more robust alternatives. Examine the generateStaticParams improvements that fix the "empty array" loophole which previously masked production errors, and learn how to discover uncached data usage during the build process. Dive into the Partial Pre-rendering static shell model and explore techniques for eliminating arbitrary segment-level revalidation while co-locating caching logic with your components. Navigate the transition from 'dynamic' configuration to code-centric logic that provides better developer experience and more predictable performance characteristics.

Syllabus

- The shift to Cache Components architecture
- Structural causes of App Router performance regressions
- Build-time enforcement for request data access
- Implicit vs. Explicit static detection logic
- How empty parameters mask production failures
- Discovery of uncached data usage during build
- Partial Pre-rendering and the static shell model
- Eliminating arbitrary segment-level revalidation
- Co-locating caching with use cache and cacheLife
- Transitioning from 'dynamic' config to code-centric logic

Taught by

React Conferences by GitNation

Reviews

Start your review of Catch Caching Errors During Build - From Segments to Suspense

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.