Home/Blog/Performance

Shopify speed optimisation: the checklist we use on every store

A practical, in-order checklist for making a Shopify store faster: what to measure, which fixes actually move Core Web Vitals, and what to leave alone.

Most slow Shopify stores aren’t slow because of Shopify. They’re slow because of what has been added on top over the years: apps that were uninstalled but left their code behind, a hero image that is four times larger than the screen, three font families, and a popup script that loads before the product image does. Speed work is mostly about removing things, and doing it in the right order.

This is the checklist we follow on client stores, in the order we follow it.

Measure the right thing first

Before changing anything, find out what real customers experience. There are two kinds of data, and they answer different questions.

  • Field data comes from real visits on real phones. Google collects it from Chrome users and reports it in PageSpeed Insights (the “Discover what your real users are experiencing” panel) and in Search Console’s Core Web Vitals report. Shopify also shows a web performance report in the admin, built on the same kind of data.
  • Lab data is a single simulated test, like the Lighthouse score. It’s useful for debugging, but it is not what Google uses to assess your pages.

The three Core Web Vitals and their “good” thresholds, measured at the 75th percentile of visits:

Metric What it measures Good
LCP (Largest Contentful Paint) How fast the main content appears 2.5 s or less
INP (Interaction to Next Paint) How quickly the page responds to taps and clicks 200 ms or less
CLS (Cumulative Layout Shift) How much the layout jumps around 0.1 or less

Test the templates that make you money, not just the homepage: a busy collection page and your best-selling product page. Test on mobile. Write the numbers down so you can tell later whether a change helped.

1. Audit apps and leftover code

This is almost always the biggest win, and it costs nothing.

Every app that adds something to your storefront adds JavaScript, and often CSS, fonts and network requests to other domains. When an app is uninstalled, its code doesn’t always go with it. Older apps in particular injected snippets straight into theme.liquid.

What we check:

  1. App embeds in the theme editor (Theme settings → App embeds). Turn off anything you don’t actively use.
  2. theme.liquid and snippets/ for {% render %} calls and <script> tags from apps that are no longer installed.
  3. The network tab in Chrome DevTools, grouped by domain. Every third-party domain is a script you are asking customers to download. For each one, ask: does this earn its place on every page?

Chat widgets, review carousels, loyalty pop-ups and heatmap tools are the usual suspects. Many can be loaded only on the pages that need them, or only after the customer interacts with the page.

2. Fix the LCP element

On most Shopify pages the Largest Contentful Paint element is an image: the homepage hero, or the first product image. Two mistakes are extremely common:

  • It’s lazy-loaded. Lazy loading is right for images further down the page and wrong for the first thing a customer sees. The LCP image should load eagerly and with high priority.
  • It’s far too big. A 3,000-pixel-wide image squeezed into a 400-pixel phone screen wastes most of the download.

Shopify’s image CDN resizes images for you, so let it. In Liquid, image_url with a width, combined with image_tag and a widths list, produces a proper srcset, so each device downloads a size that fits:

{{ section.settings.image
  | image_url: width: 1600
  | image_tag:
      widths: '480, 800, 1200, 1600',
      sizes: '100vw',
      loading: 'eager',
      fetchpriority: 'high' }}

Everything below the first screen gets loading: 'lazy' instead. If a slideshow is your hero, consider whether it needs to be a slideshow at all. A single strong image is usually faster, and usually converts better too.

3. Get fonts under control

Every font family and every weight is a separate file. A theme font, a heading font from Google Fonts and an icon font loaded by an app can add hundreds of kilobytes before any text appears.

  • Use two families at most, and only the weights you actually use.
  • Prefer Shopify’s font library (font_url and font_face with font_display: 'swap'), which serves fonts from Shopify’s own CDN.
  • Remove font links added by apps or old customisations that the theme doesn’t use any more.

4. Stop the layout from jumping

Layout shift is what happens when you go to tap “Add to cart” and the button moves because a banner loaded above it. It’s frustrating, and it’s one of the three Core Web Vitals.

Common causes on Shopify:

  • Images without dimensions. image_tag adds width and height for you; hand-written <img> tags often don’t.
  • Late-arriving app widgets. Review stars, “X people are viewing this” badges and payment messaging that slot into the page after load. Reserve their space with a fixed minimum height.
  • Announcement bars and cookie banners that push content down. Overlay them, or give them space from the first render.
  • Font swaps where the fallback font is a very different size from the web font.

5. Make interactions feel instant (INP)

INP measures the delay between a tap and the screen visibly responding. On Shopify, poor INP usually comes from:

  • Variant pickers that re-render half the page on every change.
  • Mega menus and filters built with heavy JavaScript.
  • Many apps all listening for the same clicks and scrolls.

The fixes are mostly in the JavaScript: do less work on each interaction, split long tasks so the browser can paint in between, and load non-critical scripts with defer so they don’t compete with the customer’s first taps. If one app is responsible for most of the main-thread time, it’s worth finding a lighter alternative.

6. Check how fast Liquid renders

Before the browser receives anything, Shopify has to render your Liquid templates. Usually this is fast, but some patterns make it slow:

  • Looping over large collections (or all_products) to build menus or “you may also like” blocks.
  • Deeply nested loops in product grids.
  • Very large navigation menus with images and metafields on every item.

The Shopify Theme Inspector for Chrome extension shows exactly which files and lines take the longest to render. Paginate what can be paginated, limit loops, and move heavy recommendations to Shopify’s product recommendations API, which loads them after the page.

What doesn’t help much

A few things get a lot of attention but rarely change what customers feel:

  • Chasing a perfect Lighthouse score. A lab score of 100 on the homepage means little if the product page is what’s slow for real visitors.
  • “Speed booster” apps that lazy-load everything, including the LCP image, or that add their own script to tell other scripts to load later. Fixing the cause is better than adding another layer.
  • Re-minifying CSS and JavaScript that Shopify and your theme already serve minified.

The order, in short

  1. Measure field data on home, collection and product pages (mobile).
  2. Remove unused apps, app embeds and leftover code.
  3. Load the LCP image eagerly, at the right size.
  4. Cut fonts down to what you use.
  5. Reserve space for everything that loads late.
  6. Lighten the JavaScript that runs on interactions.
  7. Profile Liquid render time on your heaviest templates.
  8. Measure again after 28 days, when the field data has caught up.

If you’d rather have someone else do it, speed optimisation is one of the things we do most often, and the first conversation is free. Tell us about your store.

Ishwar Singh
Written by
Ishwar Singh

Founder of Hash Developers. Building Shopify stores since 2019 — 560+ so far, from fashion labels to food brands.

Chat on WhatsApp