change cache behavior

This commit is contained in:
June 2023-08-11 10:32:37 +02:00
parent e3f654c3ea
commit 585273ebc7

View File

@ -56,7 +56,7 @@ const key = process.env.SHOPIFY_STOREFRONT_ACCESS_TOKEN!;
type ExtractVariables<T> = T extends { variables: object } ? T['variables'] : never;
export async function shopifyFetch<T>({
cache = 'force-cache',
cache = 'no-cache',
headers,
query,
tags,