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
@@ -14,9 +14,8 @@ import { resolveStorefrontConfig } from "./storefront-config";
|
||||
* sitemap, related products, shop analytics GID) fetch through this client.
|
||||
* Only the cart seed uses the per-buyer `getStorefrontClient()`.
|
||||
*
|
||||
* Caching lives at the `use cache` boundary (cache-points keyed by serializable
|
||||
* inputs). The `cache:` option is never passed to `graphql()` — Next native
|
||||
* data cache + `cacheLife`/`cacheTag` replace the Oxygen sub-request LRU.
|
||||
* The `cache:` option is never passed to `graphql()` (no Oxygen sub-request
|
||||
* LRU in this Next.js port).
|
||||
*/
|
||||
const requestContext = createShopifyRequestContext({
|
||||
request: { headers: new Headers() },
|
||||
|
||||
Reference in New Issue
Block a user