How to prevent loading of unused JavaScript file

New Member
1 0 1

Hey everyone! I have a Shopify site that has quite a bit optimization potential that I'd like to squeeze out. 

This is Google's PageSpeed test for one of the pages:



As you can see, there's quite a bit of unused JavaScript that I'd like to get rid of.

Specifically I want to start by removing the top file:

I now searched through the source files in my Shopify project (using this Chrome extension) for a reference to that file, but couldn't find anything! Does anyone know a way how I can find out from where this JS file loaded into my site and how I can remove it?

1 Like