Deferring app script loading in 2.0 store

fsoares
Visitor
1 0 2

We have just implemented the new 2.0 theme in our store, but a few of the apps are seriously affecting our landing page performance and are really not needed immediately, but since the 2.0 structure really detached the pages from html code into some meta code json definitions, I cannot find the places where apps load their javascript code to move it to especific pages or at the very least defer the loading process to the end.

Does anyone have any experience with this on 2.0 themes?

 

Thanks

Replies 3 (3)

Eliaso
Shopify Partner
5 0 0

Could someone help me how to do this with code? My page speeds plummet with each new app. There needs to be a way to defer all these scripts.

DaDeals
Shopify Partner
2 0 0

Hello, have you found a way to defer them. I am just investigating the matter and can't find where those scripts are getting included.

Eliaso
Shopify Partner
5 0 0

No, it's best not to use apps and to learn some coding instead. Otherwise you'll end up bankrupt.