How to clear unused code ?

Highlighted
Explorer
100 2 15

Hi @LiuZihan 

A group sales app downloads a large style sheet (it actually contains all of Shopify’s own stylesheet). It's more something you would use for the app in the dashboard, so I don’t know why it’s being requested on the front end. That takes 682ms to download.

Shopify also takes a little while, so that’s probably down to your theme.

There’s a huge code file downloaded from a multi-channel marketing app too.

 

Cheers,

Oli

——————————

Founder @ www.preproduct.io

Test and make sales for future products

 

0 Likes
Highlighted
Explorer
100 2 15

Hi @wmosburg 

Your site actually loaded fast for me and I can see you’ve got lazy loading functionality setup (which is good).

Google doesn’t seem to like your first GIF, which is 2.4mb. It’s not displayed very large, so you could probably get away with halving the quality (there’s GIF optimisers online). On second thoughts, I think you might also have too higher frame rate, maybe try reducing it to 10 frames per second or similar. I’d expect you could get the file under 1mb.

Apart from the GIF, your site is pretty fast. Google thinks it slows down page load speed by 15 seconds, but your site loaded in under a second for me… I think there might be an error on Google’s end, it seems to be getting confused.

Cheers,

Oli

 

——————————

Founder @ www.preproduct.io

Test and make sales for future products

 

0 Likes
Highlighted
Explorer
100 2 15

Hi @Agnes_Davis ,

I run a Shopify app and help out on this forum as a kind of way to help people out whilst giving my app visibility (signature). I use Javascript in my own app, but I’m far from an expert in the language (and much prefer others to be honest).

I have no doubt I can tell you some areas to look at if you post your URL though.

Cheers,

Oli

——————————

Founder @ www.preproduct.io

Test and make sales for future products

 

 

1 Like
Highlighted
New Member
4 0 0

https://www.tovisorga.com/

Thanks - any suggestions would be hugely appreciated.

You can see from Google Site Speed search that the FB code is appearing 3 times & creating a lot of slow-down time.

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.tovisorga.com%2F

Have asked Shopify and a bunch of other cody people & no one seems to know what to do about it.

0 Likes
Highlighted
New Member
3 0 0

Hello, Am having issue with my site. When i check Google Inspector The desktop section is alright but when it come to the mobile section. It really slow.

 

Love to hear your suggestion on how i could improve it.

https://sahose.com

0 Likes
Highlighted
Explorer
100 2 15

Hi @Agnes_Davis ,

You're right, your site downloads a huge Javascript file from Facebook: https://connect.facebook.net/signals/config/2425524784198742?v=2.9.21&r=stable 

Also, your DoubleClick pixel takes a full second to load for some odd reason.

You’ve also got a failed request to load a European cookies banner.

If I was you, I’d look through any apps or code that’s interacting with Facebook and try and get to the bottom of that big JS file they’re requesting (it’s the 2017 version it says).

Cheers,

Oli

 

——————————

Founder @ www.preproduct.io

Test and make sales for future products

 

0 Likes
Highlighted
New Member
4 0 0

Thank you for your helpful response. I'm not a coder - who can I get to help with this? There must surely be someway of getting inside the shopify code and removing it?

I wouldn't know where to start with apps using that code.

Really frustrating trying to get a fix for this one.

Best,

A

0 Likes
Highlighted
Explorer
100 2 15

Hi @Sahose ,

There’s a Javascript process executing on your site that takes 4 seconds and labelled as ‘Other’ by Google.

Also, your site also takes 2 seconds to load some styling and fonts from https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/fonts/fontawesome-webfont.woff2?v=4.6.3. I’m not sure where that’s coming from as your theme’s main styling is downloaded separately.

Cheers,

Oli

 

——————————

Founder @ www.preproduct.io

Test and make sales for future products

 

0 Likes
Highlighted
New Member
1 0 0

what can i do to delete the unsued javascripts on illuminatedrooms.com ?

site speed is low on mobile but fast on pc

 

0 Likes
Highlighted
Explorer
100 2 15

@illuminatedroom ,

Google says you have done a good job on speed:

Screenshot 2020-07-03 at 13.04.56.png

 

Your images do take a little while to load on Mobile, but at least it's after the main page loads. I think it might have something to do with an error quoting 'lazysizes.js'. It's either coming from an app or your theme and most likely in your assets folder in your store under the same name.

 

Cheers,

Oli

 

——————————

Founder @ www.preproduct.io

Test and make sales for future products

 

0 Likes