Free SEO audit for new clients — claim yours
Home/Blog/Technical SEO/Shopify Speed Optimisation: Apps, Themes and Ima…
Technical SEO

Shopify Speed Optimisation: Apps, Themes and Images

Shopify Speed Optimisation: Apps, Themes and Images
Table of contents
  1. What Shopify controls and what is left to you
  2. Auditing installed apps and the code they leave behind
  3. Choosing, trimming and customising a fast theme
  4. Image and video delivery on Shopify
    1. Get the LCP image right
    2. Set sizes and a sensible number of widths
    3. Upload sensibly, but do not over-compress
    4. Video
  5. Third-party scripts: reviews, chat, pop-ups and pixels
  6. Measuring speed with Shopify's reports and Google field data
  7. A worked example: a 23-app fashion store
  8. A monthly Shopify speed routine
  9. Questions store owners ask about Shopify speed
    1. Can I change hosting or add a caching plugin to speed up Shopify?
    2. Does uninstalling a Shopify app remove its code?
    3. Where is the old Shopify speed score?
    4. How many apps is too many on Shopify?
    5. Why is my Shopify store slower on mobile than desktop?
  10. Where to start on a slow Shopify store today
  11. Further reading on shopify speed optimization
  12. Sources for this Shopify speed guide

Most Shopify stores launch fast. Shopify hosts the store, serves assets from its CDN and ships themes that are tested for performance. Then the store grows: a reviews app, a pop-up, an upsell widget, a currency converter, a loyalty programme, a chat bubble, two tracking pixels added by an agency that has since moved on. Each looked harmless when installed. Together they add hundreds of kilobytes of JavaScript to every page, and the store that once felt instant now hesitates every time a shopper taps a colour swatch.

Because Shopify runs the servers, most of the levers that matter on other platforms (hosting, server caching, PHP versions) are not yours to pull. What you do control is the theme, the apps, the images and the third-party scripts, and those are where almost all Shopify speed problems come from.

This guide is a platform-specific playbook: what Shopify handles for you, how to audit apps and the code they leave behind, how to choose and trim a theme, how to deliver images and video properly, how to tame third-party widgets, and how to measure progress with Shopify's own real-user reports and Google's field data.

What Shopify controls and what is left to you

Understanding the split saves wasted effort. There is no point shopping for faster hosting or a caching plugin; there is a lot of point in looking at what your theme and apps load.

LayerWho controls itWhat you can do
Servers, hosting, TLS, CDNShopifyNothing to configure; avoid routing the storefront through extra proxies
Liquid rendering speedShared: Shopify runs it, your theme code determines the workReduce loops, sections and heavy snippets; profile with Theme Inspector
Theme CSS and JavaScriptYou (or your theme developer)Choose a lean theme, remove unused features, avoid heavy animations
Apps and app embedsYouAudit, remove, disable embeds, clean leftover code
Images and videoYou, with Shopify's image CDNUse image_url and image_tag, correct sizes, eager LCP image
Tracking pixels and tag managersYouRemove duplicates and unused tags; prefer Shopify's customer events where suitable

Shopify's own speed improvement guidance lists the same priorities: keep only the apps that justify their cost, use an up-to-date theme, keep section counts modest, size images properly, paginate large collections and audit tags.

Auditing installed apps and the code they leave behind

Apps are the most common cause of a Shopify slowdown, and uninstalling is not always enough. Shopify states it directly:

“Uninstalling an app doesn’t automatically remove its code from your theme.”

— Shopify Help Center, Improving your online store performance

Older apps in particular inserted snippets into theme files, added script tags, or edited theme.liquid. When the app is removed, those references may remain, sometimes loading a script from a server that no longer responds, or rendering an empty widget container that shifts the layout.

A methodical app audit:

  1. List every app in Settings, then Apps and sales channels. Note what each one does, who requested it and whether it is still used.
  2. Tag each app with its business value: revenue-critical (subscriptions, reviews that convert), useful, or unknown. Anything "unknown" is a removal candidate.
  3. Check app embeds in the theme editor (Theme settings, then App embeds). Online Store 2.0 apps usually load through embeds that you can switch off without uninstalling, which makes A/B testing an app's cost easy.
  4. Record what each app loads. Open a product page with DevTools, Network panel, filter by JS, and sort by size. Map script domains to apps.
  5. Duplicate the live theme before removing anything, so you can roll back.
  6. Uninstall, then search the theme code for leftovers: the app's name, its script domain, and render or include tags pointing to snippets you do not recognise. Ask the developer for removal instructions, as Shopify recommends.
  7. Re-test the same pages and note the change in JavaScript weight and request count.

Semrush's 2024 article on Shopify site speed cites a Shopify community recommendation of roughly 20 apps or fewer. Treat any number as a rough guide: one heavy personalisation app can cost more than ten lightweight back-office apps that load nothing on the storefront. What matters is what each app adds to the pages shoppers see.

Choosing, trimming and customising a fast theme

Shopify recommends current Online Store 2.0 themes, including its Horizon family, and suggests switching themes if your current one causes significant slowdowns. Theme Store themes must meet a performance bar; Shopify's theme testing documentation says submissions need an average Lighthouse performance score of at least 60 across home, product and collection pages on desktop and mobile. That is a floor, not a guarantee for your store once content and apps are added.

When evaluating or trimming a theme:

  • Count the sections. Shopify warns that "high numbers of sections on pages can lower web performance." A home page with 18 sections, four sliders and two video backgrounds will struggle on mobile whatever theme you choose.
  • Turn off decorative motion. Shopify suggests comparing load times with and without page transitions and animations.
  • Avoid multiple carousels above the fold. Each typically loads a slider library and several images.
  • Limit web fonts. Two families with two weights each is plenty. Every extra weight is another file. Our web font optimisation guide explains font-display and preloading.
  • Profile Liquid. Shopify's Theme Inspector for Chrome shows how long each section, snippet and filter takes to render on the server. Nested loops over all products or collections in a mega-menu are a frequent culprit.
  • Paginate collections. Rendering 250 product cards on one collection page slows both the server and the browser.

Customisations deserve the same scrutiny as apps. A developer's "quick" countdown timer or sticky add-to-cart bar can add a library that duplicates one the theme already loads.

Image and video delivery on Shopify

Shopify's image CDN does a lot of work for you. The image_url filter resizes images and serves modern formats where browsers support them, and image_tag outputs srcset, sizes, width and height. The problems usually come from how the theme uses them.

Get the LCP image right

On product and collection pages the LCP element is almost always an image. According to the image_tag reference, images lower on the page default to loading="lazy" unless preload is set, and above-the-fold images may need custom logic using section.index so the first section's image loads eagerly. Web.dev is unambiguous on why this matters: never lazy-load your LCP image (Optimize LCP).

{% if section.index == 1 %}
  {{ section.settings.image | image_url: width: 1600
     | image_tag: loading: 'eager', fetchpriority: 'high',
       sizes: '100vw', widths: '600, 900, 1200, 1600' }}
{% else %}
  {{ section.settings.image | image_url: width: 1600
     | image_tag: loading: 'lazy', sizes: '100vw',
       widths: '600, 900, 1200, 1600' }}
{% endif %}

Set sizes and a sensible number of widths

Shopify's responsive image guidance recommends four to six widths and warns that a missing sizes value makes the browser default to the largest image. For a full explanation of the markup, see our guide to responsive images with srcset and sizes.

Upload sensibly, but do not over-compress

Upload high-quality originals (Shopify generates the smaller versions), but avoid 6,000-pixel camera files for a 1,200-pixel slot. Replace animated GIFs with video. For decorative banners, ask whether the image earns its bytes at all. Our image compression guide covers quality settings.

Video

Autoplaying background video on the home page is one of the heaviest things a theme can do. Use Shopify-hosted video with a poster image, do not autoplay on mobile, and load YouTube or Vimeo embeds only when the shopper clicks play (a "facade" image with a play button).

Third-party scripts: reviews, chat, pop-ups and pixels

After images, third-party JavaScript is the biggest drag, and it mostly hurts Interaction to Next Paint. Web.dev's INP guide breaks interaction latency into input delay, processing time and presentation delay; long tasks from third-party scripts increase input delay, so taps on "Add to cart" feel sluggish even when the page looked loaded.

Script typeTypical costLighter approach
Live chat widgetLarge bundle loaded on every pageLoad on click or after the shopper has been idle; limit to key templates
Product reviewsScript plus API calls, often layout shiftRender star summary server-side; load full reviews when scrolled into view; reserve space
Pop-ups and spin-to-winScript, fonts and images on first visitDelay until engagement; show on fewer templates
Upsell and recommendation widgetsHeavy client-side renderingUse Shopify's native product recommendations where possible
Ad and analytics pixelsSeveral scripts, duplicates commonRemove duplicates; one tag manager; audit unused tags quarterly
Currency and translation appsCan rewrite page after load, causing CLSUse Shopify Markets and native translation features

Shopify's guidance also says to audit your tag manager and remove unused or low-value tags, and to reduce excess JavaScript from the theme, apps and tags to improve responsiveness. A quarterly tag review with marketing is worth scheduling.

Measuring speed with Shopify's reports and Google field data

Shopify replaced its old single-number Speed Score with a Web Performance dashboard in early 2024. Shopify's performance team explained that Lighthouse-based scoring failed to represent real-world experiences and caused confusion (Shopify’s new web performance dashboard). The current reports track real-user LCP, INP and CLS. According to the Shopify Help Center:

“By default, the data displays for the 75th percentile of the relevant Core Web Vital, in milliseconds”

— Shopify Help Center, Web performance reports

Other useful details from the same page: data can lag by up to 36 hours, is kept for 90 days, can be split by device, page type and URL, and the "over time" charts carry numbered markers for events such as app installs and theme changes. Those markers make the dashboard an excellent tool for proving which change caused a regression.

Use Google's data alongside it. Search Console's Core Web Vitals report and PageSpeed Insights draw on the Chrome UX Report, which covers eligible Chrome users on desktop and Android but not iPhones (CrUX methodology). For stores with mostly iPhone shoppers, Shopify's RUM may be closer to the truth than CrUX. Our explainer on field data versus lab data shows how to reconcile the two.

Shopify's own testing rule of thumb is a good habit: use field data to find problems, lab data to debug them, and field data again to verify fixes. Run Lighthouse several times and compare medians, because single runs vary by 5 to 10 points.

A worked example: a 23-app fashion store

Hypothetical example for illustration. A fashion store has 23 apps installed, a theme with 16 home page sections and a hero slider. Shopify's report shows mobile LCP of 3.9 s and INP of 410 ms at the 75th percentile.

ChangeEffortMobile LCP p75Mobile INP p75
Baseline3.9 s410 ms
Remove 6 unused apps and their leftover snippets1 day3.5 s330 ms
Replace hero slider with single eager image with fetchpriority high and correct sizesHalf a day2.6 s320 ms
Load chat on click, reviews on scroll, remove duplicate pixel1 day2.5 s210 ms
Cut home page from 16 to 9 sections, drop one font family1 day2.3 s190 ms

The figures are illustrative, but the order is deliberate: app removal first (cheap and broad), then the LCP image (the single biggest LCP lever), then interaction-heavy scripts (the main INP lever), then design simplification. Each change was shipped separately so the dashboard markers could show its effect.

A monthly Shopify speed routine

  • Review the Web Performance dashboard for mobile LCP, INP and CLS by page type.
  • Check event markers for any app or theme change that coincided with a regression.
  • Review new app requests against a simple rule: what does it load on the storefront, and on which templates?
  • Re-test the product template after any theme update.
  • Audit pixels and tags with marketing every quarter.
  • Keep a changelog of theme edits so leftover code can be traced later.

Speed is one part of Shopify SEO; for the rest, including collections, duplicate URLs and structured data, see our Shopify SEO guide. If you are weighing platforms, our WordPress speed optimisation guide shows how the levers differ on self-hosted WooCommerce.

Questions store owners ask about Shopify speed

Can I change hosting or add a caching plugin to speed up Shopify?

No. Shopify hosts every store and manages servers, CDN and caching. Speed work on Shopify focuses on the theme, apps, images and third-party scripts.

Does uninstalling a Shopify app remove its code?

Not always. Shopify says uninstalling an app does not automatically remove its code from your theme. Search theme files for leftover snippets and script references, and ask the app developer for removal steps.

Where is the old Shopify speed score?

Shopify replaced the Lighthouse-based speed score with a Web Performance dashboard in 2024. It reports real-user LCP, INP and CLS at the 75th percentile, with event markers for app installs and theme changes.

How many apps is too many on Shopify?

There is no fixed limit. Semrush cites a Shopify community suggestion of around 20, but what matters is what each app loads on storefront pages. Back-office apps that load nothing for shoppers cost nothing in speed.

Why is my Shopify store slower on mobile than desktop?

Phones have slower processors and networks, so heavy JavaScript and oversized images hurt more. Mobile LCP and INP are usually the metrics to fix first.

Where to start on a slow Shopify store today

Open the Web Performance dashboard, filter to mobile and product pages, and note which metric is worst. Then make one list of every app with what it loads, and one list of the scripts on your product page sorted by size. In most stores, removing two or three unused apps and fixing the hero image deliver the largest gains for the least effort.

If you would like the audit and fixes handled for you, our Shopify SEO service and page speed optimisation team work directly in Shopify themes. For pricing, request a custom quote, or get a quote with your store URL. Launching soon? Run through our online store launch checklist first.

Further reading on shopify speed optimization

Sources for this Shopify speed guide

  1. Shopify Help Center: Improving your online store performance
  2. Shopify Help Center: Web performance reports
  3. Performance @ Shopify: Shopify’s new web performance dashboard with real user insights (January 2024)
  4. Shopify: Testing for performance
  5. Shopify: Serve correctly sized images with srcset and sizes
  6. Shopify Liquid reference: image_tag filter
  7. web.dev: Optimize Largest Contentful Paint
  8. web.dev: Optimize Interaction to Next Paint
  9. Chrome for Developers: CrUX methodology
  10. Semrush Blog: Shopify site speed optimization (January 2024)
Rohit Choudhary
Written byRohit ChoudharyCo-Founder, My SEO Experts

Rohit Choudhary is the co-founder of My SEO Experts and has more than 14 years of hands-on experience in SEO, paid advertising and digital marketing. Since starting out in 2011 he has helped hundreds of businesses grow through practical, data-driven search strategies, and he also serves as a consulting Digital Marketing Director for several US-based companies.

Keep reading

Related articles

Ready to grow your business online?

Get a free, no-obligation proposal tailored to your goals and budget.

CallFree Quote