Removing Unused Javascript To Help Improve Speed

9 0 1

Is there a way of removing unused javascript to help improve overall page / site load time?

Am trying to optimise images but I know this will be a big factor as well.



Replies 2 (2)

Shopify Partner
38 7 10

Hi BumbleLiving!

Optimizing your website by minimizing unused JavaScript can lead to faster loading speeds.

Here are some options that can help you:

- use a performance analysis tool (for example LighthousePageSpeed Insights);
With these tools, you will receive a full report with detailed information about the files that are being uploaded to your site and the time they take to load.
- manually remove JavaScript files;
This means going through your website's code and removing all the JavaScript files that aren't being used. It's a laborious process, but it's worth it.
- minimize files;
Combine multiple files into one and minimize whitespace. This will reduce the file size and load time of your website.

- optimize;

HTML provides the async and defer attributes to load the page faster and minimize the larger script loading lag by downloading them in the background.

I hope that my answer helps you to resolve the issue. If you need a more detailed explanation or further help - just contact me.

Mgroup Development
Shopify Partner
45 0 7

Hi @Mgroup 

Please help me more 

How can I fast speed in laptop and mobile view 

The website too much slow please check link: