Top view of someone holding an phone next to laptop

Web Design & Development Insights

5 tips to optimize the speed of your Shopify website

Speed holds a significant value in the success of any online store. The quicker the response rate of your store, the lower the bounce rate. And when your e-commerce store is fast, you have a better chance of ranking on Google over slow websites.

5 tips to optimize the speed of your Shopify website Speed up your Shopify store
Speed up your Shopify store

Speed matters for any online store. Visitors leave slow pages, and a slow store converts worse. A study commissioned by Google and run by Deloitte found that a 0.1 second improvement in mobile site speed increased retail conversion rates by 8.4%.

The catch is that most of what slows a Shopify store down is also what makes it useful: apps, images, sliders, tracking scripts. You don't want to strip all of that out. The goal is a store that does everything it needs to, as fast as it can.

Images are usually the biggest single cause, and we cover them in detail in our image optimization tips for Shopify. This post covers everything else.

How do I check my Shopify store's speed?

Start by measuring, so you know whether you have a problem and whether your changes help. A few tools we use:

  • Google PageSpeed Insights shows both lab results and, for stores with enough traffic, data from real Chrome users.
  • GTmetrix shows exactly which files load, in what order and how long each takes.
  • Shopify's own web performance report in your admin, which is based on real visits to your store.

Test your home page, a collection page and a product page, and always look at the mobile results. Most of your visitors are on phones, and that's where speed problems hurt most.

1. Remove the apps you don't use

Most apps add their own JavaScript to your store, and you have little control over when or how it loads. One app rarely makes a big difference. Ten apps often do.

  • Uninstall every app you're not actively using. Then check the theme for leftover code, because some apps don't clean up after themselves.
  • For each app you keep, ask whether you really need it. Some can be replaced by a feature your theme already has.
  • Test page speed with and without an app turned on to see what it costs you.
  • Limit apps to the pages that need them. A reviews widget doesn't need to load on your About page.
  • Replace an app with custom code, or with pre-built sections, when it's doing something simple. Our developers can help with that.

2. Use a fast, well-built theme

Your theme decides how images are loaded, how much CSS and JavaScript every page carries, and how the page is built. A well-built theme loads smaller images on smaller screens and only loads scripts where they're needed.

Themes in the Shopify Theme Store have to pass a minimum performance score before they're listed, which is a good starting point. If your store runs on an old or heavily edited theme, moving to a current one can make a bigger difference than any single fix below.

Image carousels are bad, especially on the home page. They rotate too fast to read, they usually work poorly on phones, and most visitors never see past the first slide. Every slide is another large image to load.

One strong hero image with your key message underneath usually works better and loads faster. If you do keep a carousel, keep it to a few slides and optimize each image. Not every carousel is bad, though. Read more on the best and worst uses of sliders on Shopify.

4. Be careful with fonts and tracking scripts

Every custom font weight is a separate file. Load only the weights you actually use, and stick to one or two font families.

Tracking and marketing scripts add up the same way apps do: analytics, ad pixels, chat widgets, heatmaps. Remove the ones nobody looks at anymore. For the rest, check whether they can be added through Shopify's own customer events settings instead of pasted into the theme.

5. Make the first screen load first

What matters most to a visitor is how quickly the top of the page appears. A few things help:

  • Lazy load images below the first screen. Lazy loading means images only load when the visitor scrolls near them, so they don't slow down the first view.
  • Don't lazy load the first image. Your hero or main product image should load right away. Lazy loading it actually makes the page feel slower.
  • Keep pop-ups out of the way. A pop-up that appears immediately covers the content people came for and adds more code to load.

When should I get a developer involved?

Removing apps, swapping the carousel for a hero image and cleaning up scripts are all things you can usually do yourself. When the slowdown comes from the theme's code, from apps that have to stay, or from custom features that were built without speed in mind, that's the point to bring in a developer.

A faster store is a cost that pays for itself over time. If you need help with your Shopify store's speed, reach out.

Wondering what shape your own site is in?

Get a free 27-point Website Health Check - security, speed, accessibility and SEO. Plain English, no pitch.

Check my site

More to read

Image for Breaking the Sales Barrier: How to Turn Your Shopify Traffic into Sales

Breaking the Sales Barrier: How to Turn Your Shopify Traffic into Sales

So you have plenty of traffic on your Shopify website, but not as many sales? Here's how to break that barrier and turn your Shopify traffic into conversions!

Continue reading
Image for COVID-19: Take advantage of your time and revisit your small business website

COVID-19: Take advantage of your time and revisit your small business website

Now that brick-and-mortar retail stores are closed or severely limited in working hours, it’s time to take advantage of the growing need for online presence. As things slow down, spend the extra time you have as a business owner on updating your website to create a reliable sales channel that turns visitors into customers.

Continue reading
Image for 10 Reasons Shopify Is The Best Solution For Your E-commerce Site

10 Reasons Shopify Is The Best Solution For Your E-commerce Site

Shopify is one of the most popular e-commerce platforms. It allows entrepreneurs all over the world to sell their products online. Recently, it’s become an industry leader with roughly 29% of the market share. Let’s see why businesses increasingly prefer Shopify to other e-commerce solutions.

Continue reading

Let's keep in touch

* We won't spam you or give your email to anyone.

Signup for Shopify Free Trial Try for Free