Home / Blog / Performance & UX

PERFORMANCE & UX

Shopify speed: practical ways to improve Core Web Vitals

Where Shopify stores usually lose speed, how to read Core Web Vitals properly, and the fixes that make the biggest difference for real shoppers.

Apex {WEB} Development3 November 20263 min read

Shopify speed: practical ways to improve Core Web Vitals

Shopify’s infrastructure is fast. Shopify stores are not always. The platform gives you a global CDN, image optimisation and reliable hosting, but themes, apps and content choices decide what shoppers actually experience. Here is how to understand where your store loses speed and which fixes are worth your time.

Key takeaways

  • Measure with real-user data (Core Web Vitals field data), not only lab scores from a single test.
  • Large images and above-the-fold media are the most common cause of slow Largest Contentful Paint.
  • Third-party scripts from apps and tracking tools are the biggest threat to responsiveness (INP).
  • Reserve space for images, banners and app widgets to prevent layout shift (CLS).
  • Fix the templates that earn revenue first: home, collection, product and cart.

Core Web Vitals in plain language

Google’s Core Web Vitals measure three parts of the shopping experience:

MetricWhat it measuresGood target
LCP – Largest Contentful PaintHow quickly the main content, often the hero image or product image, appears2.5 seconds or less
INP – Interaction to Next PaintHow quickly the page responds when someone taps or clicks200 milliseconds or less
CLS – Cumulative Layout ShiftHow much the layout jumps around while loading0.1 or less

Google assesses these at the 75th percentile of real visits, so the experience of shoppers on slower phones and connections matters as much as yours on office Wi-Fi.

Measure the right way

There are two kinds of performance data, and both are useful:

  • Field data comes from real visitors. You can see it in Google Search Console’s Core Web Vitals report, in PageSpeed Insights when enough data exists, and in Shopify’s own web performance reports in the admin.
  • Lab data comes from a single simulated test, for example Lighthouse. It is great for diagnosing problems, but one score is not the full picture.

Use field data to decide what to fix, and lab tools to find out why. Test individual templates, not only the home page: a product page and a collection page often behave very differently.

Fix slow loading (LCP)

On most Shopify stores, LCP is the hero image on the home page and the main product image on product pages.

  • Size images properly. Use Shopify’s image filters to serve responsive sizes with srcset, so phones do not download desktop images.
  • Do not lazy-load the main image. Lazy-loading is great below the fold, but the first visible image should load immediately, ideally with a high fetch priority.
  • Be careful with sliders and video heroes. They often delay the main content and rarely outperform a single strong image.
  • Limit render-blocking resources. Large stylesheets, web fonts and scripts in the head all delay the first paint.

Fix slow interactions (INP)

INP problems usually come from too much JavaScript running on the main thread. On Shopify, the main sources are:

  • Apps that inject scripts on every page, even where they are not used.
  • Tracking and marketing tags such as pixels, chat widgets, heatmaps and review widgets.
  • Heavy theme features like complex mega menus, animations or filtering written without performance in mind.
  1. Audit every script. List what loads on a product page and who owns it. Remove anything without a clear purpose.
  2. Remove leftover app code. Uninstalled apps sometimes leave snippets behind in the theme.
  3. Use Shopify’s customer events for pixels where possible, which run in a sandbox rather than directly in the page.
  4. Delay non-essential widgets, such as chat, until the shopper interacts or the page is idle.

Fix layout shift (CLS)

  • Always set width and height, or an aspect ratio, on images and video.
  • Reserve space for announcement bars, app widgets and review stars that load late.
  • Use font-display settings that avoid large text reflows when web fonts load.
  • Avoid inserting banners above existing content after the page has rendered.

Prioritise by revenue

You do not need to make every page perfect. Start with the templates that carry the most traffic and revenue: product pages, collection pages, the home page and the cart. A small improvement on the product template affects every product in the store.

Keep speed from slipping back

Performance usually degrades gradually as apps and features are added. Agree a simple rule: every new app or script must justify its impact, and re-test key templates after every significant change.

Speed is a build decision

The fastest stores are not the ones that were optimised at the end. They are the ones built with performance in mind from the beginning. If you are planning a new store or a rebuild, read our Shopify store build best practices, and if you are choosing how to add new features, see custom app, App Store app or theme code.

Need help applying this to your store? Tell us about your Shopify project and we will give you a straight answer on what is worth doing.

WORK WITH APEX

Planning a Shopify build or upgrade?

Tell us what you are building or what is getting in the way on your current store.