Book a Call

Shopify Speed Optimization: 18 Fixes That Make a Real Difference

Speed up your Shopify store with 18 practical fixes for themes, apps, images and scripts. Learn how to measure Core Web Vitals and what to do first.

By DivyGfx TeamPublished 5 min read
Key takeaways
  • Measure real users first. A lab score alone can mislead.
  • Unused apps and third-party scripts are the usual suspects.
  • Never lazy-load the main image at the top of the page.
  • Change one thing at a time and keep a record.
On this page
  1. Measure properly first
  2. Apps and scripts (start here)
  3. Images and media
  4. Theme and code
  5. Fix by symptom
  6. What not to spend time on
  7. Keep it fast
  8. Does speed increase sales?
  9. When to rebuild
  10. Common questions

Shopify handles servers, CDN and checkout, so a slow store is usually slow because of what has been added to it: apps, scripts, large images and theme code. That is good news, because all of those are in your control.

Measure properly first

Google's Core Web Vitals describe how a page feels to real people. A page passes when at least 75 percent of visits meet all three targets:

MetricMeasuresGood
LCPWhen the main content appears2.5 seconds or less
INPHow quickly it responds200 milliseconds or less
CLSHow much it jumps around0.1 or less

These thresholds are documented at web.dev. Check three places:

  1. Shopify's web performance reports in your admin
  2. Google Search Console, Core Web Vitals report
  3. PageSpeed Insights for the home page, a collection and a product

Field data is from real visitors. Lab data is a simulation, useful for finding causes. A lab score of 45 with passing field data is not an emergency. Test product and collection pages, because that is where ad traffic lands. Our free website speed check is a quick start.

Apps and scripts (start here)

1. Audit every app. List its purpose, owner, cost and what it loads. Remove anything nobody can defend.

2. Remove leftover code. Uninstalling an app may leave snippets in older theme code. Search the theme for its name. Duplicate the theme before editing.

3. Check app embeds. Disable those you do not use in the theme editor.

4. Load by template. A review widget does not need to load on every page.

5. Delay chat and pop-ups until the visitor interacts or a few seconds pass.

6. Clean up tags. Old pixels, duplicate analytics and finished campaigns stay for years in tag managers.

7. Replace several small apps with one built feature when the total weight is high. See custom app or App Store app.

Test by subtraction. Duplicate the theme, disable one app embed, and measure again. Ten minutes of this beats an hour of guessing.

Images and media

8. Fix the main image. Load the hero or first product image early, with high priority. Never lazy-load it.

9. Lazy-load the rest. Anything below the first screen can wait.

10. Serve the right size. Use Shopify's responsive image filters with accurate sizes, so a phone does not download a desktop image.

11. Set width and height on every image so the page does not jump.

12. Replace carousels and autoplay video at the top. One strong image is faster, and easier to understand.

Theme and code

13. Use a modern theme. Online Store 2.0 themes are lighter and better structured than older ones.

14. Limit sections. A home page with 25 sections is slow and rarely read.

15. Simplify Liquid. Nested loops over collections and variants slow down the server response.

16. Reduce JavaScript. Remove libraries used for one effect, and defer what is not needed at the start.

17. Limit fonts. Two families, few weights, preload only the essential ones, with a matching fallback.

18. Reserve space for banners, reviews and recommendations that load later, to protect CLS.

Fix by symptom

SymptomLikely causeFirst fix
Main image appears lateLazy loading, slider, large fileFix 8, 10
Slow first byteHeavy Liquid, many redirectsFix 15
Taps feel delayedApp JavaScriptFix 1, 5, 16
Page jumpsMissing dimensions, late widgetsFix 11, 18
Only product pages slowReviews, recommendationsFix 4
Suddenly slowerNew app or tagCheck recent changes

What not to spend time on

  • Chasing 100. Scores move between runs. Customers do not see them.
  • "Speed booster" apps that only hide scripts from testing tools. They can break analytics and improve nothing for people.
  • Minifying what Shopify already compresses. Small gains, easy mistakes.
  • Removing something that sells to gain a few points. Test revenue as well as speed.

Keep it fast

Speed decays. Set a routine:

  • Every new app needs an owner and a before-and-after measurement
  • Monthly review of apps, tags and field data
  • Review after every campaign and theme change
  • A performance budget, such as "no new script above the fold"
  • Someone responsible for the number

Does speed increase sales?

Often, but not by a fixed amount. Published case studies come from particular stores at particular times. If your pages take six seconds on mobile, speed may be your biggest problem. If they take two, product photos, delivery cost, trust and price probably matter more.

Measure your own: compare conversion for fast and slow sessions, by device. Remember this shows correlation, since fast sessions often come from better devices and connections.

When to rebuild

Consider a new theme or headless storefront when the theme is no longer supported, every change breaks something, or you need an experience a theme cannot offer. Headless adds cost and complexity, so it should solve a real limitation and not just raise a score.

Common questions

What is a good Shopify speed score?

Focus on Core Web Vitals from real visitors: LCP within 2.5 seconds, INP within 200 milliseconds and CLS of 0.1 or less for at least 75 percent of visits.

Do Shopify apps slow down a store?

They can. Apps that add scripts to the storefront have the most effect. Apps that only work in the admin usually have little or none.

Will a faster store rank higher on Google?

Core Web Vitals are used by Google's ranking systems, but relevance and quality matter more. Speed helps most when pages are otherwise comparable.

How long does Shopify speed optimization take?

Removing apps and fixing images can take days. Theme restructuring takes longer. Begin with an audit so time goes to the biggest causes.

Written by the DivyGfx Team

We design and build software, websites, apps and AI tools from Surat, India. Prices shown are our published starting points, and every project gets a fixed written quote. Spotted something out of date? Tell us and we will correct it.

Read next

All articles

New guides, by email

We write when we have something useful to share. Unsubscribe at any time.