Implement a cache busting technique in the default template that uses webhooks #1223
AdiRishi
started this conversation in
Ideas + Feature Requests
Replies: 2 comments
-
Pretty interesting idea |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, we noticed this technique and it is indeed interesting. It's def in our radar. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vercel recently released a custom storefront template for Shopify that has some really interesting cache busting techniques that rely on the Shopify webhooks - https://github.com/vercel/commerce#configure-webhooks-for-on-demand-incremental-static-regeneration-isr
Having this built in would allow us to have longer default caches on our graphql queries (and potentially on the remix loaders themselves) without having to worry about serving stale content.
Beta Was this translation helpful? Give feedback.
All reactions