# Shopify Speed Optimization in 2026: A Developer's Checklist for Faster Stores

By [Eoin Villarin](https://amvprosox.com/about). Published 2026-10-10, updated 2026-10-28. Canonical: https://amvprosox.com/blog/shopify-speed-optimization-2026

> A developer's 2026 checklist for faster Shopify stores: measure real user Core Web Vitals, cut app bloat, fix the LCP image, tame JavaScript for INP and prepare for script tag changes.

## What does Shopify speed optimization involve, and how do I make my store faster?

Shopify speed optimization mostly means fixing the theme and app stack, since the platform is rarely the bottleneck. Measure with Shopify's Web Performance dashboard, remove unused apps, never lazy-load the LCP image and defer non-critical JavaScript, aiming for LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less.

**Key takeaways**

- Since October 1, 2026, apps cannot create storefront script tags, and Shopify stops loading existing ones on March 1, 2027.
- Add fetchpriority high to the LCP image and never lazy-load it; lazy-load images below the fold instead.
- Shopify's Web Performance dashboard uses real user data, needs the Reports staff permission, and can lag up to 36 hours.
- Apps applying for Built for Shopify status must not reduce a storefront's Lighthouse performance score by more than ten points.
- Liquid micro-optimizations such as avoiding nested loops can save 25 to 50 ms of TTFB on complex Shopify themes.

Shopify speed optimization is the cheapest conversion work most stores never finish. Shopify already gives you fast hosting, a global CDN and automatic modern image formats, yet plenty of stores still load slowly on phones because of what sits on top of the platform: heavy themes, stacked apps, oversized hero images and scripts nobody remembers installing.

I have spent more than eight years building and fixing Shopify stores for brands in Australia, the US and beyond, and the pattern is consistent. The platform is rarely the bottleneck. The theme and the app stack usually are, and both are fully in your control.

This checklist walks through how I approach a speed audit in 2026: how to measure with real user data, which fixes move Largest Contentful Paint (LCP), Interaction to Next Paint (INP) and Cumulative Layout Shift (CLS), what the script tag deprecation changes, and the Liquid patterns I use on client themes. Each step names the tool to use and what "good" looks like.

## Why Shopify speed optimization still matters in 2026

Google uses Core Web Vitals as part of its page experience signals, and shoppers feel the same metrics directly. Shopify's own reports grade stores against the standard thresholds at the 75th percentile of real visits: **LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less** count as good, according to [Shopify's web performance reports documentation](https://help.shopify.com/en/manual/online-store/web-performance/web-performance-reports).

The business case is not theoretical either. In a Deloitte study commissioned by Google, [a 0.1 second improvement in mobile site speed lifted retail conversions by 8.4%](https://web.dev/case-studies/milliseconds-make-millions). It was a sponsored study, so treat the number as directional, but the direction is clear: faster pages sell more.

On Shopify, the parts you control fall into five areas:

- **Apps and third-party scripts** that inject JavaScript and CSS into every page.

- **Images and video**, especially the hero image that usually becomes the LCP element.

- **Theme JavaScript** that runs on every tap and drives INP.

- **Layout stability** affected by fonts, late-loading widgets and banners.

- **Liquid render time**, which shows up as Time to First Byte (TTFB) on complex templates.

## How do you measure Shopify store speed before changing anything?

Never start optimizing from a single PageSpeed Insights run. Lab scores swing between runs, and they test one simulated device on one page. Start with what real customers experience, then use lab tools to find out why.

![Laptop showing an analytics dashboard with charts of real user performance data](https://amvprosox.com/api/img/1793146614039-oeic89)
*Start with real user data before touching any code. Photo: rawpixel, CC0*

### Start with the Web Performance dashboard

Shopify's Web Performance dashboard is built from real user data collected on your storefront. A summary sits on the Online Store Themes page, and the full reports live under Analytics, then Reports, where searching for "contentful", "next" or "cumulative" opens the LCP, INP and CLS reports. You need the Reports staff permission, and data can lag by up to 36 hours.

Two features make this dashboard more useful than generic tools:

- **Page type reports** split each metric by template, so you can see whether product or collection pages are dragging the store down.

- **Event annotations** mark app installs, theme updates and code changes on the charts, so you can connect a regression to its cause.

### Use lab tools to diagnose, not to keep score

Once you know which template and metric is failing, reproduce it in Chrome DevTools. The Performance panel shows long tasks, layout shifts and the LCP element. Lighthouse and PageSpeed Insights are good at spotting render-blocking resources and oversized images, but the score itself is a lab number.

For context, [Shopify's theme performance best practices](https://shopify.dev/docs/storefronts/themes/best-practices/performance) require a minimum average Lighthouse performance score of 60 across the home, product and collection pages for Theme Store themes. Field data is still what you optimize for.

### Record a baseline

Before touching code, note the 75th percentile LCP, INP and CLS for each page type and the number of storefront apps, then duplicate the live theme so every change happens on an unpublished copy. Those numbers turn "the store feels faster" into a result you can verify.

## Checklist step 1: audit apps and third-party scripts

Apps are the most common cause of the slow Shopify stores I am asked to fix. Each app that touches the storefront can add JavaScript, CSS, fonts and network requests to every page, and the cost compounds. Shopify takes this seriously enough that apps applying for Built for Shopify status must not reduce a storefront's Lighthouse performance score by more than ten points.

- **List every installed app** and note what it does on the storefront: reviews, upsells, chat, popups, tracking or search.

- **Check the network waterfall** on a product page in DevTools and group requests by domain to see what each app actually loads.

- **Remove apps you no longer use**, then search the theme code for leftover snippets. Older apps that edited theme files directly can leave code behind after you uninstall them.

- **Consolidate overlapping apps.** Two review apps or three tracking tools usually means at least one can go, and metafields or theme blocks often replace an app that only shows a badge.

### What the script tag deprecation means for speed

Shopify is retiring storefront script tags. Since October 1, 2026, apps can no longer create or update online store script tags, and from March 1, 2027 Shopify stops loading existing ones on storefronts. Apps are expected to move storefront code into app embed blocks inside theme app extensions, and analytics into web pixels. I covered the migration step by step in [my guide to the script tag deprecation and pixel migration](https://amvprosox.com/blog/shopify-script-tag-deprecation-pixels-migration).

For speed this is good news. App embeds are toggled per theme in the theme editor, so you can disable one on a duplicate theme and measure the difference without uninstalling anything. During the transition, watch for a legacy script tag and its replacement embed both running and loading the same code twice.

## Checklist step 2: fix the LCP image and product media

On most Shopify templates the LCP element is an image: the homepage hero, a collection banner or the main product photo. Getting that one image right often does more for LCP than every other fix combined.

![Smartphone on a stand showing a camera app, where a heavy hero image slows loading](https://amvprosox.com/api/img/1793146615230-rj3cbx)
*The hero image is usually the LCP element on mobile. Photo: rawpixel, CC0*

- **Use the image_url and image_tag filters** instead of hard-coded CDN URLs. They generate srcset, width and height for you, and Shopify's CDN detects browser support and serves WebP or AVIF automatically. The [image_tag filter documentation](https://shopify.dev/docs/api/liquid/filters/image_tag) lists every parameter.

- **Never lazy-load the LCP image.** Lazy loading is right for images below the fold and wrong for the hero.

- **Add fetchpriority="high"** to the LCP image so the browser requests it ahead of less important resources.

- **Use the preload parameter sparingly.** preload: true sends a Link preload header, which helps one hero image and hurts when it is applied to many.

- **Size images for their slot.** Pass realistic widths and a sizes value so phones do not download desktop-sized files.

This is the pattern I use in section files. It treats the first section on the page as above the fold and everything else as lazy:

```
&#123;%- liquid
  assign hero_loading = 'lazy'
  assign hero_priority = 'auto'
  if section.index == 1
    assign hero_loading = 'eager'
    assign hero_priority = 'high'
  endif
-%&#125;

&#123;&#123; section.settings.image
  | image_url: width: 2400
  | image_tag:
    loading: hero_loading,
    fetchpriority: hero_priority,
    widths: '480, 750, 1100, 1500, 1800, 2400',
    sizes: '100vw' &#125;&#125;
```

The same rules apply to video heroes, whose poster image often becomes the LCP element, and to product galleries, which should load only the first image eagerly.

## Checklist step 3: reduce JavaScript to improve INP

INP measures how quickly the page responds after a tap, click or key press. On Shopify it usually fails for one reason: too much JavaScript competing for the main thread. Add-to-cart buttons, variant pickers, mega menus and cart drawers are the interactions that suffer most.

- **Defer everything that is not critical.** Shopify's guidance is to use defer for non-critical scripts and async only for independent third-party scripts where execution order does not matter.

- **Run Theme Check.** The ParserBlockingScript check flags script tags without defer or async, and AssetSizeJavaScript flags oversized bundles before they reach production.

- **Load features on interaction.** Chat widgets, size guides and review carousels can load when the shopper scrolls near them or taps a button.

- **Prefer native HTML.** The details and dialog elements and CSS scroll snap replace a surprising amount of accordion, modal and slider JavaScript.

```

-

```

For a deeper walkthrough of finding and fixing slow interactions, see [my guide to passing Interaction to Next Paint](https://amvprosox.com/blog/interaction-to-next-paint-inp-guide).

> The fastest script on a Shopify store is the one you never load. Every app, widget and tracking tag should earn its place on the page.

## Checklist step 4: prevent layout shift and lighten CSS and fonts

CLS problems on Shopify almost always come from content that arrives late and pushes the page around: review stars that load after the product title, announcement bars injected by apps, cookie banners and web fonts that swap in with different metrics.

![Grid of colourful sticky notes in fixed slots, like reserved space that prevents layout shift](https://amvprosox.com/api/img/1793146616490-ncrska)
*Reserve space so late content never pushes the page around. Photo: rawpixel, CC0*

### Reserve space for everything

  Every image needs width and height attributes. image_tag adds them automatically, and Theme Check's ImgWidthAndHeight rule catches hand-written tags that miss them.

- Wrap app widgets in a container with a min-height that matches their loaded size, so reviews and badges fill a reserved slot instead of pushing content down.

- Show promotional banners and popups as overlays, or render them in the theme from the start, rather than inserting them above existing content after load.

### Keep fonts and CSS under control

- Limit the store to two font families and only the weights you actually use. Every weight is another file to download.

- Use size-adjust and font metric overrides on fallback fonts so the swap does not shift text.

- Load critical CSS synchronously and reduce the number of stylesheets. Shopify recommends placing critical stylesheets and font preloads above content_for_header so app code cannot delay them.

## Checklist step 5: speed up Liquid rendering and navigation

Time to First Byte on Shopify includes the time it takes to render your Liquid templates, and complex templates with nested loops add up, especially on large collections and mega menus.

- **Avoid nested loops** over products and variants. Their cost grows quickly with catalog size.

- **Use limit and paginate** so a template never iterates over more products than it displays.

- **Read metafields outside loops** when the value does not change per item.

- **Prefer output tags over string building** with append and prepend. Shopify notes that Liquid micro-optimizations like these can save 25 to 50 ms of TTFB on complex themes.

### Use speculation rules for near-instant navigation

Shopify already sends speculation rules to Liquid storefronts so Chromium-based browsers can prefetch pages a shopper is about to open. Themes can add their own rules for high-confidence links, such as product cards on a collection page, as described in [Shopify's speculation rules guide](https://shopify.dev/docs/storefronts/themes/best-practices/performance/use-speculation-rules):

```

&#123;
  "prerender": [
    &#123;
      "where": &#123; "selector_matches": "[data-instant-navigation]" &#125;,
      "eagerness": "moderate"
    &#125;
  ]
&#125;

[View product](&#123;&#123; product.url &#125;&#125;)
```

Use prerender carefully. A prerendered page can fire analytics early and show stale cart state, so start with product links only and confirm that page views are still counted correctly.

## The complete Shopify speed optimization checklist

Work through this table on a duplicated theme.

| Area | What to check | Tool | Good target |
| --- | --- | --- | --- |
| Field metrics | LCP, INP and CLS at the 75th percentile by page type | Shopify Web Performance dashboard | LCP 2.5 s or less, INP 200 ms or less, CLS 0.1 or less |
| Apps | Storefront apps, leftover snippets, duplicate tools | DevTools network panel, theme code search | Every app justified |
| Script tags | Apps still relying on legacy script tags | App settings, theme editor app embeds | Migrated before March 1, 2027 |
| LCP image | Eager loading, fetchpriority high, correct sizes | Lighthouse, DevTools Performance panel | Never lazy-loaded |
| Other images | Lazy loading, sensible srcset widths | image_tag, Theme Check | Lazy and sized for the slot |
| JavaScript | Parser-blocking scripts, bundle size, long tasks | Theme Check, Performance panel | No parser-blocking scripts |
| Layout stability | Image dimensions, reserved app slots, font fallbacks | Theme Check, DevTools layout shift regions | No visible jumps while loading |
| Liquid | Nested loops, unbounded iteration | Shopify Theme Inspector for Chrome | No unbounded loops |
| Navigation | Speculation rules for likely next pages | DevTools Application panel | Product links prefetched |

After publishing, give the Web Performance dashboard a few weeks of real traffic before judging the result, because field data takes time to reflect a change. If you also care about Lighthouse lab scores, [my Core Web Vitals guide](https://amvprosox.com/blog/core-web-vitals-perfect-score-2025) covers the lab side in more depth.

## Frequently asked questions

### What is a good speed score for a Shopify store?

Focus on Core Web Vitals field data rather than one Lighthouse number. A good result is an LCP of 2.5 seconds or less, an INP of 200 milliseconds or less and a CLS of 0.1 or less at the 75th percentile, which is how Shopify's Web Performance dashboard grades stores. Lighthouse scores help with diagnosis, but they vary between runs and test a single simulated device.

### Do Shopify apps slow down my store?

They can. Any app that adds code to the storefront can add JavaScript, CSS and network requests to every page, while admin-only apps generally do not affect speed. Audit storefront apps through the network waterfall, remove unused apps and leftover theme snippets, and prefer apps that use app embed blocks, which you can switch off per theme to measure their impact.

### Should I switch themes to make my Shopify store faster?

Not as a first step. Most slow stores are held back by apps, oversized images and extra scripts, and those problems follow you to a new theme. Measure first, fix the app stack and the LCP image, then consider a new theme if the current one ships heavy JavaScript or blocks you from fixing layout shift. A rebuild is a bigger project with its own risks.

### How long does Shopify speed optimization take to show results?

Lab improvements appear immediately in Lighthouse and DevTools. Field data in Shopify's Web Performance dashboard reflects real visits, so allow two to four weeks of normal traffic after publishing changes, and longer for low-traffic stores. Use the dashboard's event annotations to line up the date of each change with the trend so you can see which fix made the difference.

## Next steps: get a faster Shopify store

Speed is not a one-time project. Every new app, banner and theme update can undo earlier work, so the stores that stay fast check their numbers monthly.

If you would rather hand it to a developer, I audit and optimize Shopify themes and app stacks for stores of every size, including Shopify Plus builds like [Real Mad Honey](https://amvprosox.com/case-studies/realmadhoney). Browse more of my work in the [case studies](https://amvprosox.com/case-studies), or [send me your store URL through the contact form](https://amvprosox.com/#contact-form) and I will tell you where the biggest wins are.
