We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
headers
We often look at the demo store for reference.
I'm having trouble understanding the current caching strategy.
I can see that routes and loaders share headers.
hydrogen-demo-store/app/routes/($locale).products.$productHandle.tsx
Line 39 in ea1db72
However, the headers export doesn't seem to be doing anything, since headers were removed from loaders.
Shopify/hydrogen#991
Can someone please explain the reasoning behind that pull request a bit more?
Cart requests are deferred and cart components are suspended, but are they still at risk of incorrectly getting cached?
hydrogen-demo-store/app/root.tsx
Line 91 in ea1db72
hydrogen-demo-store/app/components/Layout.tsx
Line 107 in ea1db72
Line 338 in ea1db72
Is there some way of leveraging route and/or loader caching for improved performance without interfering with the cart components?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We often look at the demo store for reference.
I'm having trouble understanding the current caching strategy.
I can see that routes and loaders share headers.
hydrogen-demo-store/app/routes/($locale).products.$productHandle.tsx
Line 39 in ea1db72
However, the
headers
export doesn't seem to be doing anything, since headers were removed from loaders.Shopify/hydrogen#991
Can someone please explain the reasoning behind that pull request a bit more?
Cart requests are deferred and cart components are suspended, but are they still at risk of incorrectly getting cached?
hydrogen-demo-store/app/root.tsx
Line 91 in ea1db72
hydrogen-demo-store/app/components/Layout.tsx
Line 107 in ea1db72
hydrogen-demo-store/app/components/Layout.tsx
Line 338 in ea1db72
Is there some way of leveraging route and/or loader caching for improved performance without interfering with the cart components?
The text was updated successfully, but these errors were encountered: