Slideshow and product picture charge very slowly

QuintenB
Visitor
1 0 1

Hi, the font picture on my main page is very slow to appear and the picture of my product to, I already compress all the image of my website but it's still bad. Here is the website: https://yantraconnection.com/.

I search on the code if I can optimize it, but I don't understand the .liquid's language a lot. The Website Theme is Motion.

Thanks you for helping me.

Reply 1 (1)
JohnCodes
Shopify Partner
134 10 74

Hi @QuintenB 

It looks like this script may be causing your loading issues: https://fresh-credit.bytestand.com/shopify.js

It takes forever to load and blocks the rest of your site content from loading until it's done. The script fails to load and then the rest of your site starts loading normally.

I'd recommend removing this script since it's failing to load. However, you could also go into your theme's code and asynchronously load it or defer its loading. This way it won't block your site's content from loading.

 

Here's an example of how you could do this:

// Async Loading
<script src="https://fresh-credit.bytestand.com/shopify.js" async></script>

// Defer Loading
<script src="https://fresh-credit.bytestand.com/shopify.js" defer></script>

 

I hope this helps. Best of luck!

Developer at SpeedBoostr (Shopify optimization and dev agency).
Try out our Shopify Analyzer (free performance analysis tool).
Check out Order Automator (app that auto tags + fulfills orders, and more automation)
More Apps: Theme Scientist (A/B testing tool), Tip Jar (add a tip button to your store), File Optimizer (optimize CSS, JS, Liquid)