Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello All,
I would like to find out why my site is failing the Core Web Vitals Assessment on Pagespeed Insight, both on Desktop and Mobile.
After viewing on Google Lighthouse (after clearing browser cache), the results were worse, with some of the issues consisting of the images, particularly on the carousel/slideshow at the top of the sight taking up a lot of the loading time.
Furthermore, would anyone be able to confirm if Shopify automatically reduces image file sizes after they are uploaded on the back-end, even if they are PNG or JPEG?
Whenever I check on the inspect tool to download an image, it always provides a WEBP or an AVIF file, so I am wondering if the images really are causing an issue on site speed.
As a final part of helping site speed, I would like to minify the CSS on the back-end, but am cautious as I do not know which areas (particularly on theme.css) could be reduced, and if there is possibility of breaking the website.
Would anyone be able to give some information regarding the site speed and any ways to help improve it?
The site is here: https://toptoys2u.co.uk/
Many thanks to any help!
Hi @Toptoys2uHS
I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.
For the Shopify Speed Issues on your store, you need to Speed optimization.
Few Tips to Speed Up Shopify Site-
1. Use compressed images
2. Optimize use of Shopify apps
3. Implement AMP
4. Consider Professional Help
5. Use a single Hero Image
6. Minify Js/Css files
Regards,
San
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Design, Migration, Speed, or Custom tasks?
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
I understand your concerns regarding the Core Web Vitals Assessment and site speed issues. Let's break down your questions and concerns step by step:
Core Web Vitals Assessment:
Image Optimization:
CSS Minification:
Other Performance Improvements:
Hi,
One of the warnings on the PageSpeed Insights Diagnostics section is to “Avoid an excessive DOM size”. Your site’s code shows that it’s using Flickity as the image slider, which could have to do with the warning. I would investigate that.
"Furthermore, would anyone be able to confirm if Shopify automatically reduces image file sizes after they are uploaded on the back-end, even if they are PNG or JPEG?"
Yes, Shopify automatically compresses images to improve page load time while keeping image quality.
However, JPEG (AKA JPG) images compress much more than PNGs. So, unless you need a transparent background, you should ensure your images are JPGs.
Your website’s code shows your slideshow images as being PNGs, you should consider changing them to JPG.
Also, check your code and make sure that your slideshow images, the ones above the fold, are not being lazy-loaded. Only images below the fold should be; otherwise, load speed is adversely affected.
"Whenever I check on the inspect tool to download an image, it always provides a WEBP or an AVIF file, so I am wondering if the images really are causing an issue on site speed."
Shopify will convert images to WEBP and AVIF when your visitor’s browser supports modern image formats, which is what WEBP and AVIF are. Shopify does this in order to reduce file size, which improves site’s performance.
"As a final part of helping site speed, I would like to minify the CSS on the back-end, but am cautious as I do not know which areas (particularly on theme.css) could be reduced, and if there is possibility of breaking the website."
I believe Shopify automatically minifies CSS now, though I’m not 100% sure if this is done by default or if there’s a setting that triggers it.
Hope that helps.
We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024