Shopify CLI theme dev preview extremely slow

Shopify CLI theme dev preview extremely slow

Liddell
Tourist
11 0 2

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

Replies 2 (2)

SomeUsernameHe
Shopify Partner
495 54 99

Was the old CLI working much better?

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
Liddell
Tourist
11 0 2

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?