How to prevent loading of unused JavaScript file

Highlighted
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: https://developers.google.com/speed/pagespeed/insights/?hl=de&url=https%3A%2F%2Fwww.urbankunst.de%2F...

image.png

 

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: https://connect.facebook.net/signals/config/576182329255766?v=2.9.21&r=stable

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