FROM CACHE - en_header

Can we safely remove multiple JQueries to Improve site speed

megansns
Excursionist
22 1 8

According to the online page speed analyzers, JavaScript is why our site is slow. It shows that we have three separate versions of JQuery being included. These are likely all being included from different apps.

 

Can we safely remove two of these, or would it break stuff if we remove them?

Reply 1 (1)
oreoorbitz
Shopify Partner
209 26 120

Yes you could, by depending on the situation, you might have to account for the following complications:

 

1.Jquery version

Jquery has had some breaking changes with its updates over the years, so an app might be depending on an old version of jquery, or newer one. so you'll just have to double check the one version you load works for every app and your store

 

2.Loading order

You'll have to make sure that your version of Jquery loads before any of the apps

 

3. It might not be possible

Sometimes an app will  call some code, and INSIDE of that code, they call Jquery, so there's not really much that can be done there.

 

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes

If your looking for a pagespeed solution for your Website, take a look at: https://renderbetter.com/