Free auditStart free
GuideShopify · Performance

Shopify speed optimization

Measure Shopify storefront speed with real-user and lab data, then fix the slow page type, image, Liquid, app script, or interaction.

4 min
read
3
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

Use Shopify's Web Performance Dashboard to find real-user Core Web Vitals problems by page type, device, and region. Then reproduce a representative homepage, product, or collection page with Lighthouse and inspect the slow metric. Fix one source at a time: late LCP images, render-blocking app scripts, expensive Liquid, or layout shifts from content without reserved space.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Use field data to choose the target, lab data to debug it

Find the slow page type in real-user data

Start in Shopify admin's Web Performance Dashboard. Shopify says it reports real-user LCP, INP, and CLS by page type, device category, and geographic region. Its data comes from Chrome users who have opted into sharing performance metrics, so small traffic segments may not provide a stable picture. Google's targets are LCP within the first 2.5 seconds, INP under 200 milliseconds, and CLS under 0.1, and Search Console has a Core Web Vitals report.
Data

Shopify Web Performance Dashboard

Answers
Which page type, device, or region has user-experienced problems?
Use it for
Prioritizing a template or segment
Data

Search Console Core Web Vitals report

Answers
Which URL groups have field issues in Google data?
Use it for
Finding affected groups

Shopify's testing guide recommends real-user data to see what shoppers experience and to verify a change improved performance, and Lighthouse to debug a specific issue with repeatable measurements. A single lab run can move because of CPU and network variability; compare repeated runs under the same conditions.

02How it works

Test the pages Shopify shoppers use

Shopify's Theme Store score weights the home page at 17%, product page at 40%, and collection page at 43%, but that scoring system is for theme submissions. For a merchant, use real user data and your own important templates to decide what to fix; the submission score is not a target for every store.

  1. 01

    Choose three representative URLs

    Test the homepage, a product page, and a collection page. Add the actual worst-performing template or campaign landing page if it is a major entry point.

  2. 02

    Use a theme preview without the preview bar

    For a development store preview, Shopify documents appending pb=0 to each preview URL so the preview bar does not skew the audit.

  3. 03

    Run repeatable Lighthouse audits

    Use Chrome in Incognito mode to avoid extension interference, and run each URL at least three times and use the median score. PageSpeed Insights is another supported way to run Lighthouse.

  4. 04

    Keep a change log

    Record the theme version, installed app changes, tested URL, device, metric, and date. Compare before and after with no unrelated theme or app edits between runs.

03Start with the page's largest measured issue

Fix the cause that matches the metric

Signal

LCP is slow

Inspect
Hero or product image, render-blocking CSS/JS, Liquid time
Try first
Do not lazy-load the visible LCP image; remove render-blocking apps and scripts
Signal

INP is poor

Inspect
Theme and app JavaScript on the main thread
Try first
Remove or defer noncritical scripts; load code when a shopper needs it
Signal

CLS is high

Inspect
Images, fonts, app-injected banners or widgets
Try first
Set image dimensions and reserve space for late content
Signal

TTFB is high

Inspect
Liquid loops, server work, app requests
Try first
Use Shopify Theme Inspector to find expensive Liquid sections or snippets
  • Check the LCP image first. Shopify says loading="lazy" on the LCP image delays it until after layout completes, and to always load images visible in the initial viewport eagerly.
  • Treat apps as code in the critical path. Shopify says JavaScript, whether your own theme code or scripts from installed apps, runs on the main thread and directly competes with the browser's ability to render content and respond to user input. Remove an app only after confirming it is the source and the business still has no requirement for it.
  • Measure Liquid before rewriting it. Shopify Theme Inspector for Chrome profiles Liquid rendering on the server and shows the time spent in each section, snippet, and filter.
  • Let Shopify handle what it already handles. Shopify lists a global CDN backed by Cloudflare, Brotli and gzip compression, HTTP/3 and TLS 1.3, automatic image versioning, Early Hints for render-blocking resources, and streamed HTML responses. Avoid adding a second layer that duplicates a platform feature without measured benefit.
  • Use responsive images. Shopify says to use image_url and image_tag instead of building CDN URLs by hand, with srcset and sizes to serve the smallest image that still looks good at each viewport size.
04Good to know

Verify the shopper path, not only the score

After a fix, test the actual interaction around the metric: variant selection, filter menus, add to cart, navigation, and any consent or promotional banner. A product image can load quickly while a blocking script makes selecting a size unresponsive. Confirm the change did not hide or delay content shoppers need to make a decision.

Track one change at a time and verify the field trend after deployment. For related work, see Shopify's title and meta guide, XML sitemap guide, and redirect guide. Metadata and crawl setup cannot repair a slow product experience; fix the part that the shopper is waiting on.

Questions

Asked a lot.

3 questions people ask next, answered from the sources on this page.

01How do I check Shopify Core Web Vitals?

Use the Web Performance Dashboard in Shopify admin to inspect real-user LCP, INP, and CLS by page type, device, and region. Use Search Console and CrUX as additional field-data views.

02Why does Shopify PageSpeed score change between runs?

Lighthouse is a lab test and can vary with CPU and network conditions. Shopify says to run each URL at least three times and use the median score.

03Should I lazy-load the Shopify homepage hero image?

No. Shopify says to always load images visible in the initial viewport eagerly. Identify the actual largest element in the initial viewport; below-the-fold images can be treated separately.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • shopify.dev
  • google.com
  1. 01Performance best practices for Shopify themes | Shopify.devshopify.dev · checked 2026-10-24
  2. 02Testing for performance | Shopify.devshopify.dev · checked 2026-10-24
  3. 03Understanding Core Web Vitals and Google search results | Google Search Centraldevelopers.google.com · checked 2026-10-24
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane