I have an app that has a theme extension. This extension makes a /cart.js request each time the customer navigates to a new page.
I was reported by a developer from a merchant that my extension was throwing errors when they run their theme in a local environment, which I could confirm: in local environments, the cart request constantly gets a 429 code response from Shopify, even if it’s a single request.
Is this expected behavior from the Ajax API? How could I make sure my extension will run correctly in local environments too?