What are effective ways to increase your online store's speed?

Hello Folks,

Greetings for the day.

Wish you all are doing great with Shopify. If not let us know and we are there to help you with conversions on your Shopify store.

As active contributors in the community, we often come across questions on how to increase your Shopify store speed. We remember answering 100s of merchants with the solution on how to fix slow loading pages on Shopify or how to boost the speed of your Shopify store.

Though speed has always remained an issue with online stores globally, the question is why this problem occurs very often and how to fix this permanently.

Now before moving to the solution we must tell you why this problem occurs.

Also, it must be noted that the solution we have provided here is only for those merchants who are technically sound and well-versed with liquid code.

When your store script gets heavier it is intended to load slowly on the user’s device.

(Note: CedCommerce Experts offers the only free and smart way to Increase your Shopify store speed for higher conversions, inbox us to know more about it)

So what makes your store script heavier and how to optimize it?

The speed of your Shopify store is hampered by a lot of factors, the most common factors that reduce the speed of your store are stated below.

  1. Third-party scripts
  2. Third-party CSS files and app scripts
  3. Too many plugins and widgets
  4. Unused JS and CSS
  5. Not-optimized large Images or Videos
  6. Designing ( CLS ) issues

These factors heavily affect the page speed of your website. But the real question remains how do you improve and optimize your page speed without hampering the look and feel of your online store and without degrading the user experience?

Now before you can take the curative measures of improving your page speed, you must know the disease properly, so how do you track what is affecting your webpage?

Here are some ways to check your web page load speed :

To check your web page speed via google follow the steps below:

  1. Open your web store on Google
  2. Open the Menu Bar and Go to More Tools > Developer Tools > Lighthouse
  3. Now click on “Analyze Page speed”
  4. Check your page’s performance report and analyze the issues

There are also other trusted websites that can help you check your webpage speed.

  1. Page Speed
  2. GT Metrix

You can analyze the page speed issues with the help of the above websites and then take the corrective measures as suggested below.

The most common methods that need to be accomplished for improving the page speed of your website are provided below:

  1. Remove unused JavaScript.
  2. Optimize the third-party scripts such as Facebook and google tag manager to reduce the total blocking time(TBT).
  3. Improve CLS score.
  4. Eliminate render-blocking resources.
  5. Use minified CSS and JS files.
  6. Replace GIFs with Static Images.
  7. Reduce large image sizes.
  8. Image compression is important for faster loading of web pages. Make sure your images are of good quality.
  9. Avoid too many images on a single page.
  10. Prioritize fonts from the Shopify admin panel.
  11. Use Font-display property as a swap.
  12. Replace GIFs with static images.
  13. Remove third-party JS scripts and Shopify App which you are no longer in use.
  14. Disable unused app features.
  15. Clear app data while removing an unused app.
  16. Avoid multiple page redirects.
  17. Use video formats for animated content.
  18. Preload the LCP image.
  19. Avoid large layout shifts.
  20. Set width and height on image elements to reduce layout shifts and improve CLS.
  21. Avoid large GIFs for animated content, consider using MPEG4/WebM videos for animations and PNG/WebP for static images.

We have also briefed some of the processes that are vital to improving page speed.

1-) Reduce the impact of third-party code

Third-party code blocked the main thread

(There are a few third-party codes that reduce masks request while loading the page like Facebook, TikTok, Google Tag Manager, Instagram, etc we can make the theme execute after some time when the whole page gets displayed )

2-) Do not use passive listeners to improve scrolling performance

(It enables developers to opt-in to better scroll performance by eliminating the need for scrolling to block on touch and wheel event listeners.)

3-) Minimize main-thread work

(Remove third-party JavaScript, Cut the complexity of your styles and layouts)

4-) Avoid an excessive DOM

(We Can Reduce The DOM size To Increase The speed )

5-) First Contentful Paint

( According To Lighthouse FCP Must Be Below 1.2 )

6-) Reduce JavaScript execution time

(Javascript code can be optimized and compressed )

7-) Serve static assets with an efficient cache policy

(Serving static assets with an efficient cache policy helps improve page load times on repeat visits by storing these files locally in the user’s browser.)

:sunglasses: Avoid chaining critical requests

(The “avoid chaining critical requests” warning simply means that critical resources needed to load the web page are overly large in size.)

9-)Largest Contentful Paint element

(There must be any element that is the largest and takes so much space)

10-)Avoid large layout shifts

(These large layout shifts can be reduced by using media query and fixing the image by assigning width and height of images )

11-) Eliminate Render Blocking resources

( We must work on removing certain scripts and CSS files that are blocking the page execution. So we preload these resources in order to ensure that they are loaded as soon as the page loads.)

However, it is only suggested to work on the above-provided guide to optimize page speed, if you are well versed with Liquid code.

In case you are not well versed and less experienced with Shopify codes you are advised to contact an Expert agency like us who can help you fix the issue without affecting your website.

Feel free to Inbox us if you need any help with Shopify.

All the best,

Team Cedcommerce

That is the reality – more users accessing the sites or buy products from their smartphone and they expect sites to load as soon as they click on a hyperlink. Slow loading web pages can lead to high bounce rate, low user engagement, less traffic, and hence adverse effect on your sales. Direct2HR Schedule