Shopify Site Speed Optimization: 18 Fixes That Work

Shopify runs your hosting, CDN and server infrastructure, so a slow Shopify store is rarely slow because of the server. It is slow because of what sits on top: apps, theme code, oversized images and third-party scripts. That is good news, because all of it is fixable. Shopify site speed optimization is mostly a process of removing, resizing and deferring things.
Below are 18 fixes in the order we apply them, starting with how to measure properly and moving through apps, images, theme code and layout stability. Each one maps to a Core Web Vitals metric, so you know what you are improving and why.
Want a team to handle it? Our Shopify SEO agency fixes speed alongside the rest of your technical SEO.
Quick Answer
To speed up a Shopify store, measure with field data first, then remove unused apps and leftover app code, compress and correctly size images, stop lazy-loading the main hero image, delay non-essential scripts, simplify your theme and reserve space for late-loading elements. Apps and third-party scripts are usually where the biggest wins hide.
Key Takeaways
- Shopify’s servers and CDN are rarely the bottleneck; apps, scripts and theme choices are.
- Measure with field data in Search Console and PageSpeed Insights, not a single lab score.
- Uninstalling an app does not always remove its code, so audit your theme for leftovers.
- Never lazy-load the hero or main product image, because it is usually your LCP element.
- Fix by template (home, collection, product, cart), since that is how Google groups Core Web Vitals.
- Treat speed as ongoing work: every new app or section can undo earlier gains.

Why Shopify Speed Matters for SEO and Revenue
Core Web Vitals are part of Google’s page experience signals, so speed can influence rankings when competing pages are otherwise similar. The more direct effect is on revenue: slow product pages lose shoppers before the add-to-cart button even appears, and that hurts every channel.
Paid traffic feels it most. If you pay for a click and the landing page stalls on a mid-range phone, you have bought a bounce. That is why our Shopify marketing work treats landing page speed as part of campaign performance, not a separate dev task.
Some limits are fixed by the platform: you cannot change Shopify’s hosting or server response setup. Everything in your theme and apps, though, is yours to control. We cover the platform’s broader tradeoffs in Is Shopify good for SEO?
How to Measure Shopify Speed Before You Change Anything
Lab scores move between runs, so set a baseline from several sources before touching code.
- Search Console Core Web Vitals report: real-user field data grouped by similar URLs. This is the data Google uses.
- PageSpeed Insights: field data from the Chrome UX Report when your store has enough traffic, plus a Lighthouse lab test for diagnosis.
- Shopify’s web performance report: found in your admin analytics, it shows Core Web Vitals from your own visitors and marks when you installed apps or changed themes.
- Chrome DevTools: the Performance and Network panels show which scripts and images block rendering.
| Metric | “Good” threshold | Common Shopify causes |
|---|---|---|
| Largest Contentful Paint (LCP) | 2.5 seconds or less | Huge hero images, sliders, a lazy-loaded hero, render-blocking app scripts |
| Interaction to Next Paint (INP) | 200 milliseconds or less | Heavy app JavaScript, chat widgets, complex variant pickers and cart drawers |
| Cumulative Layout Shift (CLS) | 0.1 or less | Images without dimensions, late announcement bars, popups and font swaps |
Test your homepage, a top collection and a best-selling product page on mobile, and write the numbers down. For metric-by-metric diagnosis, see our Core Web Vitals fix-it guide.
Fixes 1 to 5: Apps and Third-Party Scripts
1. Audit Every Installed App
List each app, what it does, whether it loads anything on the storefront and what revenue or operational value it delivers. Apps that run only in the admin, such as inventory or accounting tools, rarely affect speed. Storefront apps that add widgets, badges or popups often do. Remove anything not earning its place.
2. Remove Leftover Code From Uninstalled Apps
Older apps often injected snippets directly into theme files, and those snippets can stay behind after you uninstall. Duplicate your theme first, then search theme.liquid and the snippets folder for old app names and script tags. Modern apps use app embeds and app blocks, which you can switch off in the theme editor and which uninstall more cleanly.
3. Consolidate Overlapping Apps
Separate apps for reviews, upsells, countdown timers, trust badges and popups each load their own JavaScript and CSS. Where one well-built app or a native theme feature can cover two jobs, use it.
4. Route Tracking Through Shopify’s Customer Events
Duplicate pixels are common: the same Meta or TikTok pixel installed by a channel app, a tag manager and a hard-coded snippet. Use the official channel apps where possible and add custom pixels through Shopify’s customer events settings, which run them in a sandbox. The Shopify Help Center documents the current setup.
5. Delay Non-Essential Widgets
Chat, social feeds, below-the-fold review carousels and loyalty widgets do not need to load before the product image. Load them after the page finishes, or on user interaction, using a lightweight placeholder such as a static chat button that pulls in the full widget only when tapped.
Fixes 6 to 10: Images and Media
6. Compress and Crop Before Uploading
Shopify generates resized versions of your images, but it starts from what you upload. Crop to the aspect ratio you actually display and compress originals so every generated size is lighter.
7. Serve Responsive Sizes With image_url and image_tag
Themes should request images at the width they need using Liquid’s image_url filter with a width, and output a srcset with image_tag and its widths and sizes options. Shopify’s CDN then serves modern formats to browsers that support them. Older themes that hard-code a single large image size waste bandwidth on every phone.
8. Do Not Lazy-Load the LCP Image
Many themes add loading="lazy" to every image. That is right for images below the fold and wrong for the hero banner or main product image, which is usually the Largest Contentful Paint element. Make sure the first visible image loads eagerly.
9. Prioritize the Hero Image
Add fetchpriority="high" to the LCP image so the browser requests it before less important resources. Use it on one image per page, not ten.
10. Replace Autoplay Video and Heavy Sliders
Autoplay hero videos and five-slide carousels are some of the heaviest elements a Shopify homepage can carry. Use a single static hero, or a poster image that loads the video only when clicked. For YouTube or Vimeo embeds, show a thumbnail facade and load the player on tap.
Fixes 11 to 14: Theme and Code
11. Start From a Lean Online Store 2.0 Theme
Shopify’s own free themes are built with performance in mind. Older themes, heavily customized themes and themes that bundle jQuery plus many effects tend to accumulate weight over years of edits. If your theme predates Online Store 2.0, a rebuild may cost less than patching it.
12. Trim Homepage Sections
Every section adds HTML, CSS and often JavaScript. Use click data or heatmaps to find sections nobody engages with, and remove them. A focused homepage with six strong sections usually beats one with fifteen.
13. Optimize Fonts
Limit yourself to one or two font families and only the weights you use. Consider system fonts for body text. When using Shopify’s font library, output fonts with the font_face filter and font_display: 'swap' so text appears immediately, and preload the main font file.
14. Reduce Liquid and DOM Weight
Mega menus with hundreds of links, collection grids showing too many products per page and nested Liquid loops all inflate page size. A large DOM makes every interaction slower, which shows up as poor INP. Paginate collections and keep menus focused on top categories.
Fixes 15 and 16: Layout Stability and Responsiveness
15. Reserve Space for Late-Loading Elements
Images need width and height attributes, which image_tag outputs for you. Announcement bars, review stars, app blocks and banners need fixed space reserved in CSS so they do not push content down when they appear. Show popups as overlays, never as elements inserted into the page flow.
16. Cut JavaScript Work on Key Interactions
Variant pickers, add-to-cart buttons, cart drawers and collection filters are where shoppers tap most, so they are where INP problems appear. Use the DevTools Performance panel to record a tap and see which scripts run. Apps that hook into every click, or themes that re-render whole sections on variant change, are frequent offenders.
Fixes 17 and 18: Store Setup and Ongoing Maintenance
17. Clean Up Redirects and Internal Links
Redirect chains add round trips before a page even starts loading. Update menus, footer links and product descriptions so they point straight to final URLs, and collapse chains in Shopify’s URL redirects settings.
18. Set a Speed Budget and Re-Test After Every Change
Agree a rule: no new app or homepage section goes live without a before-and-after test on your three key templates. Review Search Console’s Core Web Vitals report monthly. Speed rarely collapses in one release; it erodes one app at a time. Add these checks to your routine alongside the rest of our Shopify SEO checklist.
All 18 Shopify Speed Fixes at a Glance
| # | Fix | Main metric | Effort |
|---|---|---|---|
| 1 | Audit installed apps | LCP, INP | Low |
| 2 | Remove leftover app code | LCP, INP | Medium |
| 3 | Consolidate overlapping apps | INP | Medium |
| 4 | Route tracking through customer events | INP | Medium |
| 5 | Delay non-essential widgets | INP, LCP | Medium |
| 6 | Compress and crop images | LCP | Low |
| 7 | Responsive image sizes | LCP | Medium |
| 8 | Eager-load the LCP image | LCP | Low |
| 9 | fetchpriority on the hero | LCP | Low |
| 10 | Replace autoplay video and sliders | LCP | Low |
| 11 | Lean Online Store 2.0 theme | All | High |
| 12 | Trim homepage sections | LCP | Low |
| 13 | Optimize fonts | LCP, CLS | Low |
| 14 | Reduce Liquid and DOM weight | INP | Medium |
| 15 | Reserve space for late elements | CLS | Low |
| 16 | Cut JavaScript on interactions | INP | High |
| 17 | Clean up redirects | LCP | Low |
| 18 | Speed budget and re-testing | All | Low |
Worked Example: Ordering Fixes on a Product Page
Hypothetical example: a product template shows poor mobile LCP and INP in Search Console. A lab trace reveals a 1.6 MB main image marked loading="lazy", four storefront apps (reviews, upsells, chat and a countdown timer nobody uses) and a font family loaded in five weights.
- Uninstall the countdown app and remove its leftover snippet (fixes 1 and 2).
- Load the main image eagerly with high fetch priority (fixes 8 and 9).
- Compress and re-upload the product images (fix 6).
- Delay chat until interaction (fix 5).
- Cut the font to two weights (fix 13).
Lab results change immediately. Field data in Search Console uses a rolling 28-day window, so expect several weeks before the report fully reflects the improvement.
FAQ
Why is my Shopify store so slow?
Usually because of apps and third-party scripts, large or lazy-loaded hero images, sliders and autoplay video, or heavy theme customizations. Shopify’s hosting and CDN are rarely the cause, so start by auditing what loads on your storefront.
Does site speed affect Shopify SEO?
Yes, to a degree. Core Web Vitals are part of Google’s page experience signals and can influence rankings, though relevance and content matter more. Speed has a more direct effect on conversion rate and paid traffic efficiency.
What is a good Shopify speed score?
Focus on Core Web Vitals field data rather than a single score. Aim for LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less for most visitors, measured on mobile.
Do Shopify speed optimization apps work?
Some help with narrow tasks such as image compression, but apps promising instant speed gains add their own code and can mask problems rather than fix them. Removing unnecessary apps and scripts usually achieves more than adding another one.
Will changing my Shopify theme make my store faster?
It can, if you move from an older or heavily customized theme to a lean, modern one. But a fast theme loaded with the same apps and oversized images will slow down again, so fix those at the same time.
How long until speed improvements show in Google Search Console?
The Core Web Vitals report uses a rolling 28-day window of real-user data, so improvements take several weeks to fully appear. PageSpeed Insights lab tests reflect changes immediately.
Conclusion
Shopify site speed optimization is less about clever tricks and more about discipline: measure by template, remove what you do not need, load the important image first and delay everything else. Then protect those gains every time someone wants to add an app.
If you would like experts to run the audit and the fixes, our Shopify SEO services cover speed, indexation and on-page work together. Get a free audit and we will show you which templates are holding your store back.
Related reading
Ready to Grow Your Organic Traffic?
Let VYRO build and execute the right SEO strategy for your business - from local to international.

