Check this shouldRevalidate
https://remix.run/docs/en/main/route/should-revalidate
We had issues as well with cart with MedusaJS + remix integration since everytime we added something to the cart it was making all the root calls.
When we added should revalidate on index route it would only revalidate the thing it wanted.