[next] add streaming prerender group for actions (#11454)

Invoking an action that's a Prerender will currently bypass the static cache (via `experimentalBypassFor`), but the prerender group doesn't support streaming.

This clones the prerender group and adds corresponding rewrites for those requests. Separately, we'll deprecate `experimentalBypassFor`.

Depends on:
- https://github.com/vercel/next.js/pull/64592
This commit is contained in:
Zack Tanner
2024-04-18 08:47:24 -07:00
committed by GitHub
parent 55190873a1
commit 993a60ef71
13 changed files with 249 additions and 2 deletions

View File

@@ -1487,6 +1487,7 @@ export type LambdaGroup = {
isStreaming?: boolean;
isPrerenders?: boolean;
isExperimentalPPR?: boolean;
isActionPrerender?: boolean;
isPages?: boolean;
isApiLambda: boolean;
pseudoLayer: PseudoLayer;