Execution matrix
What you need to know
An execution matrix is a test plan that separates build-time work, direct HTTP requests, and in-browser navigation. For a Next.js route, those phases may involve different server renders, caches and client state. Recording each separately prevents misleading conclusions from a development console or a single build marker.
By the end, you can: classify build, request and navigation phases; specify observations.
Expected execution matrix (not observations)
Route Build Direct request Client navigation/help eligible static reusable output route data may be reused/clock deferred request-time value observe actual fetch/catalog eligible static reusable public output inspect data and links/reading eligible static HTML + client boundary test toggle after navigationExpected behavior (not framework-tested): The matrix predicts behavior in the fixture, with Cache Components off. It must be checked with a real production build and browser.
How it works
A build can read an upstream resource without any visitor. A request can reuse static output without rerunning the component. A client navigation can reuse an existing layout or prefetched data. Development HMR also has caching behavior that is not a substitute for production. The documented experimental serverComponentsHmrCache setting controls fetch response reuse across hot updates, which can include requests intended to be uncached. Compare a clean production build rather than inferring server freshness from editing a file. A useful experiment starts from a clean lab build, records the route table, sends direct requests, then navigates in a fresh browser context with a controlled prefetch configuration. Track origin reads independently from server logs and visible UI. Use synthetic markers rather than private request details.
Production observation commands (manual, after reviewed dependencies)
npm run buildnpm run start -- --hostname 127.0.0.1 --port 3215# In a separate terminal:curl -i http://127.0.0.1:3215/helpcurl -i http://127.0.0.1:3215/clockExpected behavior (not framework-tested): Expected status and content must be recorded from the running app. These commands were not executed here; the fixture has no pinned package set.
Common mistake
Do not count console lines as definitive database reads. Prefetch, development rendering and concurrent requests can add work. Do not report response timing as a benchmark from one run. Inspect controlled cold and warm sequences with an independent counter before making performance claims.
Practice and verification
Fill in the matrix with status, body marker, route classification, client transition, hydration errors and origin count if available. Mark each unperformed observation NOT RUN. Explain why request-time HTML and client navigation can differ.
Scope: App Router, proposed Next.js 16.x, Cache Components disabled for these labs. Snippets assume a reviewed TypeScript app and are static examples; framework behavior has not been executed. Exact supported patch and dependency set must be verified before running.
Further reading: Fetch · Components · Cache Migration · Hmr