How can I improve my page speed by minifying Javascript?

7 0 3

Hi guys,

Looking for some help with regards to page speed.

When running GTMetrix on my store I score an "F" for the "Minifying Javascript" however my site is pretty good for all other metrics.

Can anyone give me a step by step on how to complete this task? I've added a screenshot of the GTMetrix report. I only need to fix the top 3 to get a "A" grade.

Any help would be very welcomed 🙂



Screen Shot 2020-10-13 at 16.26.15.png

Reply 1 (1)

Shopify Expert
742 51 211

Looks like most of the scripts in your screenshot are from apps and other 3rd party like Facebook. You cannot optimize these scripts, that would have to done by the app developers. All you can do there is to remove as many of these apps and marketing scripts from your site as you can. In some cases you may be able to control when and where these scripts are loaded on your site. There are some strategies to this, such as deferring scripts and lazy loading them some time after the initial page load or on some event like scroll or click.