Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I believe I have gone through the process of compressing images, limiting apps and using a 2.0 theme. My sites loads in 3 seconds as gtmetix outlines.
Any resources or help would be greatly appreciated!
https://cardboardcathomes.com/
Solved! Go to the solution
This is an accepted solution.
@Cbrownz .
Hope you are doing well.
Welcome to the Shopify Community.
I have gone through your store. It really looks nice. You have choosen the best-known e-commerce solution Shopify platform currently on the market.
Optimizing your Shopify store is time-consuming. Themes are made up of Liquid, HTML, CSS, and JavaScript code. When you edit or customize the themes, file sizes can increase and affect your store speed.
Google PageSpeed Insights is a free tool to help you find and fix issues slowing down your web application. Get your PageSpeed score and use PageSpeed suggestions to make your web site faster through our online tool.
I have checked your site in the page insight chrome tool. your website score is very low.
You can refer this article :
https://www.oscprofessionals.com/blog/shopify-speed-optimization-reduce-impact-of-third-party-code/
Defer offscreen images :
One of the most common recommendations I found is “Defer offscreen images”. This is an indication that all of the site’s image assets are loading at once.
So you can use lazy load for these images.
<script src="{{ 'lazysizes.min.js' | asset_url }}" async="async"></script>
{% for img in product.images %}
{% assign img_url = img | img_url: '1x1' | replace: '_1x1.', '_{width}x.' %}
<img class="lazyload"
src="{{ img | img_url: '300x' }}"
data-src="{{ img_url }}"
data-widths="[720, 1080]"
data-aspectratio="{{ img.aspect_ratio }}"
data-sizes="auto">
{% endfor %}
We’ve had the best success for our clients by working with our developers to implement the lazysizes, because it's quite complicated for non technical people.
You need to work on following points :
Theme Upgrade :
Its benefits include improved loading speeds, which can help with both user experience and store conversion rates, and search engine optimization.
Refer this blog :
After determining the Long Tasks and the code blocks and web page assets that are causing them, optimizing Total Blocking Time can be possible. To optimize the Code Blocks that busy the main thread longer than 50 MS, the methods below can be used.
You can choose from several fonts for the text in your online store. To avoid downloading a new font to your customer's computer, you can use a system font.
How to avoid showing invisible text :
The easiest way to avoid showing invisible text while custom fonts load is to temporarily show a system font. By including font-display: swap in your @font-face style, you can avoid FOIT in most modern browsers.
Remove unused CSS and unused JS:
By fixing these issues, your website speed score can definitely improve.
For more details please check the link below.
https://www.oscprofessionals.com/blog/shopify-speed-optimization-guide/
If anything is missed out or unclear then don't hesitate to ask. We will surely help you.
Have a nice day !
This is an accepted solution.
@Cbrownz .
Hope you are doing well.
Welcome to the Shopify Community.
I have gone through your store. It really looks nice. You have choosen the best-known e-commerce solution Shopify platform currently on the market.
Optimizing your Shopify store is time-consuming. Themes are made up of Liquid, HTML, CSS, and JavaScript code. When you edit or customize the themes, file sizes can increase and affect your store speed.
Google PageSpeed Insights is a free tool to help you find and fix issues slowing down your web application. Get your PageSpeed score and use PageSpeed suggestions to make your web site faster through our online tool.
I have checked your site in the page insight chrome tool. your website score is very low.
You can refer this article :
https://www.oscprofessionals.com/blog/shopify-speed-optimization-reduce-impact-of-third-party-code/
Defer offscreen images :
One of the most common recommendations I found is “Defer offscreen images”. This is an indication that all of the site’s image assets are loading at once.
So you can use lazy load for these images.
<script src="{{ 'lazysizes.min.js' | asset_url }}" async="async"></script>
{% for img in product.images %}
{% assign img_url = img | img_url: '1x1' | replace: '_1x1.', '_{width}x.' %}
<img class="lazyload"
src="{{ img | img_url: '300x' }}"
data-src="{{ img_url }}"
data-widths="[720, 1080]"
data-aspectratio="{{ img.aspect_ratio }}"
data-sizes="auto">
{% endfor %}
We’ve had the best success for our clients by working with our developers to implement the lazysizes, because it's quite complicated for non technical people.
You need to work on following points :
Theme Upgrade :
Its benefits include improved loading speeds, which can help with both user experience and store conversion rates, and search engine optimization.
Refer this blog :
After determining the Long Tasks and the code blocks and web page assets that are causing them, optimizing Total Blocking Time can be possible. To optimize the Code Blocks that busy the main thread longer than 50 MS, the methods below can be used.
You can choose from several fonts for the text in your online store. To avoid downloading a new font to your customer's computer, you can use a system font.
How to avoid showing invisible text :
The easiest way to avoid showing invisible text while custom fonts load is to temporarily show a system font. By including font-display: swap in your @font-face style, you can avoid FOIT in most modern browsers.
Remove unused CSS and unused JS:
By fixing these issues, your website speed score can definitely improve.
For more details please check the link below.
https://www.oscprofessionals.com/blog/shopify-speed-optimization-guide/
If anything is missed out or unclear then don't hesitate to ask. We will surely help you.
Have a nice day !
Hi @Cbrownz,
When it comes to site speed, please note that there are several factors impacting your online store speed, some of which you can control, others you cannot.
Factors you can't control
Your customer's device, network, and location
Shopify infrastructure
Content delivery network (CDN)
Local browser cache
Server-side page cache
The assets inside the content_for_header Liquid tag
Factors you can control
When you add apps to change the functionality or appearance of your online store, they add code into the theme so they can run. Some code can be removed or reordered to improve your online store's performance. If you're not using an app, then you can remove it.
Themes are made up of Liquid, HTML, CSS, and JavaScript code. When you edit or customize themes, file sizes can increase and affect your store speed.
You can edit almost all of the Liquid that is used to render your store. There are efficient and inefficient ways of writing Liquid code. Doing complex operations repeatedly can increase your Liquid render time, which impacts your overall store speed.
High-resolution images usually require large files and therefore slow down page loading times.
If you use a font that does not yet exist on your customer's computer, then the font has to be downloaded before your text can be displayed.
I suggest you try AVADA SEO Suite which has great features that can help you with improving site speed such as Image Optimization, Speed Up, Lazy Loading, and Minification (removes unnecessary information from the source code).
You can also refer to this Shopify post about Improving Speed.
I hope my answer can help you achieve your goals.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024