How can I decrease unused JavaScript to improve website loading speed?

Hi,

Website loading speed is main factor in any Ecommerce website at shopify. I am using to many shopify apps but lots of unused javascript decrease our website speed. Is there any solution for unused javacript.
Because our website speed on mobile view is very low. Please give me any solution for remove unused javascript without any paid app..

Thank you…

Hi @Imtiaz_RM ,

In your store, there are heavy JavaScript calling. so you need to work on it if you are having coding knowledge.

you need to use Async or defer JavaScript.

Hi, we faced the same issue that 3rd party apps loaded a lot of Javascript on every page, even tho the apps were sometimes only required on specific pages like cart, cms etc.
We developed an app that helps to manage where to load 3rd party Javascripts and where to block it.
https://apps.shopify.com/pagespeed-javascript

The app is still in an early stage and if you have any suggestions please let me know