Template
Remove next/cache usage (use cache, cacheLife, cacheTag, cacheComponents)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F22Ms5Cxam5UHyxaCrtZzu
This commit is contained in:
co-authored by
Claude Fable 5
parent
f23332e42c
commit
1e58ba4ca4
+3
-3
@@ -17,9 +17,9 @@ import { Providers } from "./providers";
|
||||
|
||||
/**
|
||||
* Async server shell that owns the per-request (dynamic) reads: the cart seed
|
||||
* + the shop analytics GID. With `cacheComponents: true`, uncached/dynamic data
|
||||
* accessed in a Server Component must sit inside a `<Suspense>` boundary so the
|
||||
* static HTML shell prerenders and the per-buyer parts stream
|
||||
* + the shop analytics GID. The dynamic data access in this Server Component
|
||||
* sits inside a `<Suspense>` boundary so the static HTML shell prerenders and
|
||||
* the per-buyer parts stream
|
||||
* (`next/server` `connection()` + `headers()`/`cookies()` are per-request).
|
||||
*
|
||||
* Rendered inside `<Suspense>` from the root layout. `await connection()`
|
||||
|
||||
Reference in New Issue
Block a user