Next.js Cache Strategies
Explore modern rendering patterns in Next.js, including PPR, Suspense, and various Cache Component methods. We've simulated a 4000ms API delay on every action.
Blocking (No Fallback)
The slowest method. The entire page navigation is blocked while data fetches, resulting in a "stuck" feel.
Standard Suspense
A step up. Navigates immediately but shows a full-page loading state while sequence awaits complete.
PPR Stream
The gold standard. Static shell loads instantly, dynamic parts stream in parallel as they ready.
Strategic Comparison
Feels "broken" as the browser wait cursor appears. No UI feedback during fetch.
Better feedback, but sequence awaits block the main thread, slowing down perceived speed.
Static shell is instant. Dynamic content fetches in parallel, keeping the UI alive.