Questions and discussions about using the Shopify CLI and Shopify-built libraries.
My Shopify CLI preview (via http://127.0.0.1:9292/) loads extremely slow. It takes about 15 seconds to load a page. Changes within a page do reload quite fast but if I navigate to a different page or fully reload the current page, it takes a long time.
If I navigate the preview via the share preview link that is generated with "shopify theme dev", it's much faster.
I just switched from CLI 2.x to 3.x and followed the official guide on shopify.dev. The old CLI is uninstalled and everything should fulfill the requirements.
Are there specific versions of node.js or ruby or a combination of specific versions that are known to cause such a slowdown? If not, any other ideas?
I'm on Windows 10, Shopify CLI 3.64.0, Node 20.15.1, Ruby 3.0.3p157
Was the old CLI working much better?
Certainly. Even the on page refresh when changing CSS was a tad quicker. And as mentioned, this is only the case for the preview via 127.0.0.1:9292. Via the sharable preview link page loads are much faster. Are these loading times normal for 3.x?
Did you find a solution? This is happening to me too, tried changing ruby version and everything, still very slow
I have the same problem in Safari on Mac, but Chrome works better. Still very slow updates of css though, DOM updates are faster.