Unverified Commit 89bd4833 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Remove dead cacheComponents web streams path (#93944)

### What?

Remove the cacheComponents + web streams rendering branches from
`app-render`.

### Why?

`cacheComponents` does not support the edge runtime, and Node streams
are now always-on for the Node.js runtime in the parent PR. That makes
the cacheComponents web-stream branches dead code.

### How?

- Collapse cacheComponents staged RSC rendering to the Node-stream
implementation.
- Remove the web-stream cacheComponents helper functions and
static-stage byte counter.
- Keep the ordinary non-cacheComponents web-stream paths for
edge/runtime compatibility.

### Verification

- `pnpm --filter=next types`
- `pnpm --filter=next build`
- `pnpm test-start-webpack test/e2e/app-dir/app/standalone.test.ts`

<!-- NEXT_JS_LLM_PR -->
parent ec28a4fd
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment