File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed
test/development/app-dir/cache-components-dev-warmup/app/simple Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,6 @@ function parseRequestHeaders(
301301 headers : IncomingHttpHeaders ,
302302 options : ParseRequestHeadersOptions
303303) : ParsedRequestHeaders {
304- // dev warmup requests are treated as prefetch RSC requests
305304 // runtime prefetch requests are *not* treated as prefetch requests
306305 // (TODO: this is confusing, we should refactor this to express this better)
307306 const isPrefetchRequest = headers [ NEXT_ROUTER_PREFETCH_HEADER ] === '1'
@@ -310,7 +309,6 @@ function parseRequestHeaders(
310309
311310 const isHmrRefresh = headers [ NEXT_HMR_REFRESH_HEADER ] !== undefined
312311
313- // dev warmup requests are treated as prefetch RSC requests
314312 const isRSCRequest = headers [ RSC_HEADER ] !== undefined
315313
316314 const shouldProvideFlightRouterState =
Original file line number Diff line number Diff line change @@ -283,7 +283,6 @@ export function createPatchedFetcher(
283283 const workStore = workAsyncStorage . getStore ( )
284284 const workUnitStore = workUnitAsyncStorage . getStore ( )
285285
286- // During static generation we track cache reads so we can reason about when they fill
287286 let cacheSignal = workUnitStore ? getCacheSignal ( workUnitStore ) : null
288287 if ( cacheSignal ) {
289288 cacheSignal . beginRead ( )
Original file line number Diff line number Diff line change @@ -12,13 +12,6 @@ export default async function Page() {
1212 return (
1313 < main >
1414 < h1 > Warmup Dev Renders</ h1 >
15- < p >
16- In Dev when cacheComponents is enabled requests are preceded by a cache
17- warming prerender. Without PPR this prerender only includes up to the
18- nearest Loading boundary (loading.tsx) and will never include the Page
19- itself. When PPR is enabled it will include everything that is
20- prerenderable including the page if appropriate.
21- </ p >
2215
2316 < CachedData label = "page" cacheKey = { CACHE_KEY } />
2417 < SuccessiveCachedData label = "page" cacheKey = { CACHE_KEY } />
You can’t perform that action at this time.
0 commit comments