docs: clarify Cache Components build output (#98274)
## Summary - Clarify that Cache Components uses PPR for every App Router page, including pages whose build-time HTML is empty. - Explain that the current tree-view symbols describe output rather than a different rendering model: an empty PPR HTML output can show `ƒ` at a fixed pathname or `◐` on a dynamic-path fallback row. - Clarify that Cache Components pages do not use `●`; generated paths from `generateStaticParams` show `○` or `◐` based on their HTML output. - Clarify that `instant = false` opts out of instant-navigation validation and, when it is the highest config, static-shell validation without changing the PPR rendering model. - Keep the guide's existing structure and examples while correcting factual wording about TypeScript checking, `generateStaticParams`, Partial Prefetching, cache lifetime output, and build debugging. - Remove signposting, filler, and unverified claims in the sections being corrected. ## Verification - `pnpm prettier --with-node-modules --ignore-path .prettierignore --check docs/01-app/02-guides/building.mdx` - `npx eslint --config eslint.config.mjs docs/01-app/02-guides/building.mdx` - `git diff --check` - Verified with `cacheComponents: true` that a fixed page covered by `instant = false` prints `ƒ`, writes 0-byte HTML, and remains `PARTIALLY_STATIC` in the prerender manifest. Removing the opt-out produces the expected prerender-blocking error. - Verified that a Cache Components route using `generateStaticParams` prints an unmarked route group, a `◐` fallback, and a `○` generated pathname without any `●` row. - Verified `instant = false` with synchronous runtime values and `--debug-prerender` source frames against a minimal Cache Components app using the local Next.js package and webpack. - Not run: `pnpm lint` (docs-only change; focused formatting, ESLint, and runtime checks passed). <!-- NEXT_JS_LLM -->
Showing
This diff is collapsed.
Please
register
or
sign in
to comment