Shopify Speed Optimization: Triage Your Apps and Theme First

Most slow Shopify stores aren't slow because of Shopify. They're slow because of app scripts and heavy theme sections. Here's a triage system to find the culprits, fix them in order and price the gain.

Pixel-art online shop front beside a ticking clock, for trimming app scripts so a Shopify store loads faster.

Shopify speed problems almost always come from what you added, not from Shopify. App scripts, tag managers and heavy theme sections are the usual culprits. Fix them in order: measure real visitor data, list every script, test each app on a duplicate theme, cut or defer what doesn't earn its cost, then fix the theme's main image and sections.

Most store owners start at the wrong end. They run a speed test, see a red score and buy a speed app. That adds one more script to a page that already has too many.

I'd rather treat speed like a budget. Every app spends some of it. This guide shows how to measure that spend, decide which apps keep their seat, fix the theme and do the money math before you touch anything.

Key takeaways

  • Measure real visits first. Shopify's web performance reports show what shoppers feel, at the 75th percentile.
  • Apps are the first suspect. Every script should be tied to an app, a job and a result.
  • Weight the pages like Shopify does. Collection and product pages count for 83% of the score Shopify uses on apps.
  • Never lazy load the main image. It's the most common theme mistake and the cheapest fix.
  • One change at a time. Field data lags, so batch changes hide what worked.

Why is a Shopify store slow?

Shopify hosts the store, runs the servers and serves files from its own CDN. That part is fast. What slows a store down is the code that runs on top of it.

Shopify's guide to improving your online store performance is blunt about it. If interactions are slow, you most likely have too much JavaScript from theme code, app code or third-party tags. It also warns that uninstalling an app doesn't remove its code from your theme.

So there are three sources of drag:

  • App code. Reviews, upsells, popups, chat, loyalty and tracking apps each add scripts. Some load on every page, even where they do nothing.
  • Tags. Pixels and tag managers count as third-party code too. Old tags pile up after every agency and campaign.
  • Theme weight. Sliders, video backgrounds, animations and pages with dozens of sections make the browser work harder.

These hit the three Core Web Vitals in different ways. Big images and blocking scripts slow LCP, which is how fast the main content shows. Heavy JavaScript slows INP, which is how fast a tap gets a response. Widgets that load late push the page around and hurt CLS, the layout shift score.

How do you measure Shopify speed properly?

Start with real shopper data, not a lab score. Shopify gives you both, and they answer different questions.

Field data: Shopify's web performance reports

Shopify's web performance reports show LCP, INP and CLS from real visits. They report the 75th percentile, so three in four visits are at least this fast. You can split them by page type, page URL and device.

Metric Good Poor What it tells you
LCP 2,500 ms or less Over 4,000 ms How fast the main content shows
INP 200 ms or less Over 500 ms How fast the page reacts to a tap
CLS 0.1 or less 0.25 or more How much the layout jumps

Two details make these reports a triage tool. First, the Over Time chart marks app installs, theme updates and code changes with numbered lines. You can see which install moved the line. Second, the data can lag by up to 36 hours, and Shopify keeps 90 days of it. So log every change with a date.

Lab data: Lighthouse, weighted the way Shopify does

Lighthouse is a lab test. It's noisy, but it's good for one job: comparing a page before and after a change.

Shopify's own guide on how apps should measure storefront impact gives a useful method. It runs the mobile Lighthouse test in PageSpeed Insights before and after an app is installed. Then it takes a weighted average of three pages: home at 17%, product at 40% and collection at 43%.

Borrow that weighting for your own audit. It tells you where speed matters most. An app that drops your product page by 10 points costs you 4 weighted points. An app that only touches the home page costs much less. Average a few runs, because single runs swing.

For a reference point, Shopify's theme performance best practices say Theme Store themes need an average Lighthouse score of at least 60 across those three pages. If your store sits far below that, your apps are likely the gap.

How do you triage Shopify apps for speed?

Here's the process I'd run on any store with more than a handful of apps. Do it on a duplicate theme, never on the live one.

List every script on your key pages

Open a product page and a collection page. View the source and list every script that loads from a domain that isn't your store or Shopify's CDN. Do the same in your tag manager. You want one row per script.

Tie each script to an app, a job and a result

Next to each script, write the app it belongs to, the job it does and what it earned last quarter. Some rows will have no app at all. Those are leftovers from apps you removed. A tech stack audit uses the same idea for your wider tools.

Test each app's cost on a duplicate theme

In the duplicate, turn off one app's embed in the theme editor and remove its blocks. Run the three-page Lighthouse test before and after. Write down the weighted point change. Then turn it back on and test the next app.

Decide what each app gets

Every app lands in one of four buckets.

Decision When it fits What you do
Keep It earns money and costs few points Leave it, but load it only where it's used
Defer It earns money but blocks the page Load it after the main content, or only on some templates
Replace Its job is done by Shopify or another app you already run Move the job, then remove the app
Remove It earns nothing you can name Uninstall it and delete its leftover code

Shopify's app guidance favors app embeds that load scripts only on specific pages. So ask each vendor whether its script can be limited to the templates where it does its job. A review widget doesn't need to load on the cart. For what a lean app list looks like, see the lean Shopify app stack.

How do you triage the theme?

Once the apps are clean, test the theme alone. On the duplicate, turn off every app embed and run the three pages again. That's your theme's real score.

Shopify's theme guidance gives a short fix list. These are the ones that matter most for store owners:

  • Load the main image first. Never lazy load the LCP image, usually the hero or first product photo. Add fetchpriority="high" to it. Lazy load only images below the fold.
  • Use image_tag. It adds width, height and a srcset for you. That stops layout shift and sends smaller files to phones.
  • Preload sparingly. Shopify suggests preloading only 1 or 2 resources the browser finds late. Preload more and they fight each other.
  • Cut sections. Shopify's help pages say many sections on one page can lower performance. Test animations on and off, too.
  • Paginate big collections. Fewer products per page means less to load at once.

The main image and what sits above the fold decide your LCP. Compress and resize before you upload. The image SEO guide covers file sizes and formats.

If the theme still scores poorly with every app off, switching is worth a look. Shopify points stores to its free themes built for speed. Test one on a duplicate against your current theme before you commit to a rebuild.

Worked example: triaging a slow store

Here's a store I'll make up to show the math. Every number is an assumption, so plug in your own.

Mobile LCP falls from 4.2 seconds to 3.8 with code cleanup, 3.3 with fewer app embeds and 2.8 once the hero image is fixed.Mobile LCP falls from 4.2 seconds to 3.8 with code cleanup, 3.3 with fewer app embeds and 2.8 once the hero image is fixed.
Worked example from this guide: three cleanup steps take 1.4 seconds off mobile LCP without buying a new app.

The store gets 60,000 mobile sessions a month. It converts at 1.5% with a $70 average order. That's 900 orders and $63,000 a month from mobile. Its mobile LCP sits at 4.2 seconds at the 75th percentile, in the poor range. It runs 18 apps.

The owner works through the triage over three weeks, one change at a time:

  1. Delete leftover code from five uninstalled apps. Mobile LCP drops to 3.8 seconds.
  2. Remove or limit four app embeds that loaded on every page. LCP drops to 3.3 seconds.
  3. Fix the hero image so it loads first, at the right size. LCP drops to 2.8 seconds.

That's 1.4 seconds off the slow tail, and no new app was bought.

Now the money. Deloitte's Milliseconds Make Millions study, commissioned by Google, tracked 37 brand sites and over 30 million sessions. It found that a 0.1 second gain in mobile speed lifted retail conversion rates by 8.4%. That's a study of other sites, not a promise for yours. So I'll assume a much smaller result.

Check the lift with a real test before you count on it. The funnel conversion calculator runs the stage math on your own numbers.

What are the common Shopify speed mistakes?

Chasing the lab score. A 95 in Lighthouse means little if real shoppers on phones still wait. Judge success by the field data at the 75th percentile.

Changing five things at once. The reports lag by up to 36 hours. If you change five things in one day, you won't know which one helped or hurt.

Uninstalling without cleaning up. The app is gone, but its snippet still loads. Search the theme code for every app you've removed.

Lazy loading everything. Some themes and apps lazy load every image, the hero included. That delays the one image that sets your LCP.

Testing only the home page. Shopify weights collection pages at 43% and product pages at 40%. That's where shoppers spend their time, so test there first.

Treating speed as a one-off. Every new app, tag and campaign adds weight. The Shopify technical SEO guide and the Core Web Vitals guide cover what to check on a schedule.

What should you do this week?

If you want the wider conversion picture once the store is fast, the Shopify conversion rate guide picks up from here. Our ecommerce store management service runs this triage as part of a monthly routine, and the Shopify stack page covers how we set the platform up.

My take: every app has to earn its milliseconds

Most stores don't need a speed project. They need a rule. No script ships unless someone can name what it earns, and every app gets reviewed each quarter.

Speed isn't a setting you buy. It's what's left after you stop adding weight. Start with the apps, then the main image, then the theme. In my experience, most stores find their biggest win in the first hour of that list.

FAQ

Why is my Shopify store so slow?

In most stores, the cause is JavaScript from apps, tag managers and the theme itself. Shopify's own help pages say slow interactions usually come from too much of it. Heavy sections, sliders, video backgrounds and a lazy loaded hero image add to it. The platform's hosting and CDN are rarely the problem, so start with what you added.

Do uninstalled Shopify apps still slow down my store?

They can. Shopify says uninstalling an app doesn't automatically remove its code from your theme. Search your theme files for the app's name after you uninstall it. Delete dead snippets and render tags on a duplicate theme, preview it, then publish. Ask the app developer for removal steps if you're not sure what's safe to delete.

What is a good Lighthouse score for a Shopify store?

Treat Lighthouse as a lab test for comparing before and after, not a grade. Shopify's Theme Store asks for an average of at least 60 across the home, product and collection pages. For the real verdict, use the field data in Shopify's web performance reports, which show LCP, INP and CLS at the 75th percentile.

How do I test whether one app is slowing my store?

Duplicate your live theme. In the copy, turn off the app's embed in the theme editor and remove its blocks. Run Lighthouse on mobile three times for the home, product and collection pages, before and after, and average the runs. Weight the pages the way Shopify does: 17% home, 40% product and 43% collection.

Should I switch Shopify themes to get faster?

Only after you've cleaned up apps and sections. Many slow stores run fine themes with too many scripts on top. If your theme is still slow on a clean duplicate with every app embed off, switching makes sense. Shopify points stores to its free, performance-focused themes, so test one of those against yours first.

How long does it take to see speed changes in Shopify's reports?

Shopify says its web performance data can lag by up to 36 hours, and the summary uses the past 30 days of real visits. So a fix shows up slowly. Make one change at a time, note the date, and watch the event markers on the Over Time chart for a week or two before you judge it.

More like this

Startup? Let's talk.

20 minute fit call. You'll leave knowing the first thing we'd fix and roughly what it costs. If we're not the right fit, we'll tell you who is.