Free workshop
SEO in 90 minutes: audit your own website. Seats are limited.SEO in 90 minutes: audit your own site.
00d00h00m00s

Shopify speed: fix the theme and the apps before anything else

Most slow Shopify stores are slowed by the theme and the apps. Here is what Shopify says to fix, in the order that usually matters, with an honest note on the limits.
Sooraj PFull-stack developer and SEO strategist
5 min read
0 views
Shopify speed: fix the theme and the apps before anything else
Store page with a stopwatch and red theme, app and code puzzle pieces speeding away along green arrows

Shopify gives you hosting, a CDN and a fast checkout. What you add on top decides the rest. The theme, the apps and the tracking pixels are where most speed is lost. This guide follows Shopify’s own performance best practices for theme developers. It also uses the HTTP Archive Web Almanac for context, and it says plainly where that data is limited.

01

Where Shopify speed is won or lost

You do not control Shopify servers. You do control what the page loads.

What you control
AreaTypical cost
Theme code and LiquidSlow rendering and large HTML
ImagesLarge files and late hero images
AppsExtra scripts and styles on every page
Tracking pixels and tagsMore scripts that block the main thread
FontsDelayed text and layout jumps

The HTTP Archive Web Almanac 2025 looked at CMS platforms. It reported a Shopify mobile Lighthouse median of 52 and a median of about 1,615 KB of JavaScript on mobile.2

02

Step 1: measure first

  1. 1

    Test the three page types

    Test your home page, a collection page and a product page. They behave differently.

  2. 2

    Use mobile results

    Most shoppers are on phones, so start with the mobile report.

  3. 3

    Note the main metrics

    Record Largest Contentful Paint, Interaction to Next Paint and Cumulative Layout Shift.

  4. 4

    Save a baseline

    Write the numbers and the date. You need them to prove a change worked.

03

Step 2: fix the theme

Shopify lists clear rules for theme code.1 These are the ones that matter most.

Theme fixes from Shopify guidance
FixWhy it matters
Defer non-critical scriptsScripts that block parsing delay the page1
Never lazy-load the main hero imageThe LCP image should load early. Use fetchpriority=”high” on it1
Use an img tag for the hero, not a CSS backgroundThe browser can find and prioritise it sooner1
Use srcset and sizesPhones should download smaller files. Shopify image_tag and image_url filters help1
Set width and height on imagesThe browser reserves space and avoids a jump1
Self-host fonts and preload only one or two resourcesToo many preloads compete with each other1
Keep Liquid loops flat and avoid metafield access inside loopsHeavy loops slow server rendering1
hero.liquid
1{{ section.settings.hero_image | image_url: width: 1600 | image_tag:2  widths: '400, 800, 1200, 1600',3  sizes: '100vw',4  loading: 'eager',5  fetchpriority: 'high' }}
04

Step 3: audit apps and pixels

Each app can add scripts, styles and requests. Shopify tells developers to audit app scripts and tracking pixels.1

  1. 1

    List every app

    Write down what each one does and who uses it.

  2. 2

    Find what each loads

    Check the network panel for scripts and styles from each app.

  3. 3

    Remove the unused

    Uninstall apps nobody needs. Then check the theme for leftover code.

  4. 4

    Replace what you can

    A small theme feature can replace a heavy app for simple jobs.

  5. 5

    Retest

    Run the same pages again and compare with your baseline.

Shopify also says to avoid apps that game Lighthouse. A trick that raises the lab score but not real speed does not help shoppers.1

05

Step 4: stop layout shift

Layout shift happens when content moves after it appears. Late images, banners and app widgets cause it.

Shift fixes
CauseFix
Images without sizeSet width and height1
App blocks that pop inGive the block a min-height so space is reserved1
Web fonts swappingSelf-host fonts and choose a close fallback
Banners added lateReserve their space in the layout
06

How I approach it

I start with removal, not addition. The fastest script is the one you never load.

I also check speed on real devices, not only in a lab tool.

07

Common mistakes

  • Lazy-loading the hero image.

  • Adding an app for every small idea.

  • Leaving pixels from old campaigns.

  • Testing only the home page.

  • Chasing a perfect score instead of real shopper speed.

Quick questions

Is Shopify slow by default?

Not by default. The platform is a starting point, and the theme and apps decide most of the load. The Web Almanac figures describe a wide range of stores, not a single default.2

Do I need a paid theme to be fast?

No. A lean theme with few apps can be fast, and a heavy theme can be slow. Check the theme with the same tests.

Should I use a speed-booster app?

Be careful. Shopify warns against apps that game Lighthouse.1 An app that adds more scripts to save time often defeats its own purpose.

What is a good Lighthouse score?

Treat the number as a guide. Shopify sets 60 as a minimum for Theme Store themes.1 Aim for fast real-world pages for your shoppers.

08 · The short version

Key takeaways

  • The theme, apps and pixels cause most Shopify slowness.

  • Measure your own mobile pages for a baseline before you change anything.

  • Never lazy-load the hero image, defer non-critical scripts and size every image.

  • Audit apps and pixels, remove the unused and check for leftover code.

  • Reserve space for late content to stop layout shift.


Join the conversation

Say hello · I reply personally

Tell me how I can help

1 · Details2 · Done

Message received

Thanks, there. I read every message myself and will reply to your inbox within one business day.