Now booking Q1 2027 projects Free Core Web Vitals audit Claim yours

Shopify

How to Make Your Shopify Store Faster: A Practical Core Web Vitals Guide

A step-by-step guide to diagnosing and fixing the most common Shopify performance problems — from heavy themes and app scripts to images and fonts.

Laptop showing a website analytics dashboard
Table of contents

A slow store quietly costs you sales. Shoppers on mobile connections are unforgiving, and Google uses Core Web Vitals as a ranking signal. The good news: most Shopify speed problems come from a handful of predictable causes, and almost all of them are fixable without a full rebuild.

Start by measuring the right things

Before changing anything, take a baseline. Run your home page, a collection page and a product page through PageSpeed Insights and note the three Core Web Vitals:

MetricWhat it measuresGood target
LCP (Largest Contentful Paint)How fast the main content appearsUnder 2.5s
INP (Interaction to Next Paint)How quickly the page responds to taps and clicksUnder 200ms
CLS (Cumulative Layout Shift)How much the layout jumps while loadingUnder 0.1

Lab scores fluctuate, so test each template three times and use the median. If your store has enough traffic, the "field data" section shows what real customers experience — that is the number that matters most.

1. Audit your apps

Every app you install can inject JavaScript and CSS into every page, even pages where it does nothing. Uninstalled apps sometimes leave their code behind in your theme.

  1. List every installed app and what it is for.
  2. Remove anything you no longer use.
  3. Search your theme files for leftover snippets from removed apps.
  4. For apps you keep, check whether their scripts can load only on the templates that need them.

If an app does not directly help someone buy, it should not slow down the page they are buying on.

2. Fix your hero image

On most stores, the LCP element is the hero banner or the main product image. Make sure it is served at the right size and is not lazy-loaded, because lazy-loading the first image delays the most important paint.

{%- comment -%} Responsive, eagerly loaded hero image {%- endcomment -%}
{{ section.settings.image
  | image_url: width: 1600
  | image_tag:
    loading: 'eager',
    fetchpriority: 'high',
    widths: '480, 800, 1200, 1600',
    sizes: '100vw',
    alt: section.settings.image.alt }}

Images further down the page should use loading="lazy" so they don't compete for bandwidth.

3. Control third-party scripts

Chat widgets, review carousels, heatmaps and tracking pixels add up fast. Load non-critical scripts after the page becomes interactive:

// Load a non-critical widget after the browser is idle
window.addEventListener('load', () => {
  const load = () => {
    const s = document.createElement('script');
    s.src = 'https://example.com/widget.js';
    s.async = true;
    document.body.appendChild(s);
  };
  'requestIdleCallback' in window ? requestIdleCallback(load) : setTimeout(load, 2000);
});

4. Prevent layout shift

CLS is usually caused by images without dimensions, late-loading fonts and banners injected above content. Always set width and height (or an aspect ratio) on media, reserve space for announcement bars, and use font-display: swap with a well-matched fallback font.

5. Consider a custom theme

If you have tried everything and your theme is still heavy, the problem may be architectural. Stock themes ship features for every possible store. A custom Shopify 2.0 theme includes only what your store needs, which is why custom builds can reach a 90+ PageSpeed score.

A quick checklist

  • Remove unused apps and leftover app code
  • Serve responsive images and eager-load the LCP image
  • Defer chat, review and tracking scripts
  • Set dimensions on every image and video
  • Preload your main font and limit font weights
  • Re-test the same templates and compare with your baseline

Speed work compounds: every improvement makes the next one easier to measure. If you'd like a second pair of eyes, our team offers performance audits for Shopify stores of every size.

Written by

Kanaiya Infotech Team

Design & Engineering

The design and engineering team at Kanaiya Infotech. We build Shopify, WordPress, HubSpot and Webflow experiences for businesses in the USA, UK, UAE, Canada, Australia and India — and write about what we learn along the way.

Keep reading
All articles

Get new articles in your inbox

Practical, no-fluff guides on eCommerce, performance and web development — roughly once a month.

Need Help With Your Next Digital Project? Let’s Talk.

From Shopify stores to custom web applications — get honest advice and a fixed-price proposal.