Back to Guides
Guide
15 min read

How to Optimise Your Shopify Store for Speed

A slow Shopify store costs you customers and revenue. This guide walks you through every optimisation technique to make your store lightning fast.

Flex Commerce Team
Updated February 2024

Why Speed Matters

Page speed directly impacts your bottom line. Research consistently shows that faster websites convert better, rank higher in Google, and provide a better user experience that keeps customers coming back.

Amazon calculated that every 100ms of additional latency cost them 1% in sales. Google found that a 2-second delay in mobile load time increased bounce rates by 32%. These numbers apply to your store too.

The Revenue Impact

  • 1 second delay = 7% reduction in conversions
  • 3 second load time = 53% of mobile users leave
  • Core Web Vitals = direct Google ranking factor

The good news? Most Shopify stores have significant room for improvement. By following this guide, you can typically reduce load times by 40-60%.

Measuring Your Speed

Before optimising, you need to know where you stand. Use these tools to benchmark your current performance:

Google PageSpeed Insights

The most important tool. It shows your Core Web Vitals scores and provides specific recommendations. Test both mobile and desktop.

Target: 50+ mobile, 80+ desktop

Shopify Speed Report

Found in your Shopify admin under Online Store → Themes. Compares your speed against similar stores.

Target: Faster than similar stores

GTmetrix

Provides detailed waterfall charts showing exactly what loads and when. Great for identifying specific bottlenecks.

Target: Fully loaded under 3 seconds

Run these tests on your homepage, a collection page, and a product page. These are the pages that matter most for conversions and SEO.

Image Optimisation

Images are typically the biggest contributor to page weight. A single unoptimised hero image can add 2-5MB to your page, turning a fast site into a slow one.

Before Uploading

  • 1.Resize images to their display size. A 4000px wide image displayed at 800px wastes bandwidth.
  • 2.Compress images using TinyPNG, Squoosh, or ImageOptim. Aim for 60-80% reduction without visible quality loss.
  • 3.Use WebP format where possible. It offers 25-35% smaller file sizes than JPEG with equivalent quality.

In Shopify

  • Enable lazy loading for below-fold images (most modern themes do this automatically)
  • Use Shopify's image_tag with appropriate sizes to serve responsive images
  • Remove unused product images that customers never see
  • Consider using CSS for simple graphics instead of images

Pro Tip

Your hero image has the biggest impact on perceived speed. Compress it aggressively, serve it as WebP, and add a preload hint in your theme.

App Audit

Apps are one of the biggest speed killers on Shopify stores. Each app typically adds 50-200KB of JavaScript and makes additional server requests. Ten apps can easily add 1-2MB and a full second to your load time.

The Audit Process

  1. 1
    List all installed apps

    Go to Settings → Apps and sales channels. Export or screenshot the list.

  2. 2
    Identify unused apps

    For each app, ask: "Did we use this in the last 30 days?" If no, it goes.

  3. 3
    Check for leftover code

    Some apps leave code behind after uninstall. Check your theme for orphaned snippets.

  4. 4
    Consolidate overlapping apps

    Do you have separate apps for reviews, loyalty, and referrals? One platform might do all three.

Common Speed Killers

  • ×Review apps that load on every page (even when not displaying reviews)
  • ×Chat widgets that load immediately instead of on interaction
  • ×Pop-up apps with heavy animations
  • ×Currency converters that run on every page load

Theme Optimisation

Your theme is the foundation of your store's performance. A poorly coded theme can be 2-3 times slower than a well-optimised one, regardless of what other optimisations you make.

Theme Selection

If you're choosing a new theme, prioritise performance. Shopify's Dawn theme is an excellent baseline, specifically designed for speed. Themes built on Dawn's architecture tend to perform well.

Avoid themes with excessive features you won't use. Each feature adds code, even when disabled.

Theme Optimisation Checklist

  • Minimise fonts: Use 1-2 font families maximum. Consider system fonts for body text.
  • Preload critical fonts: Add preload hints for fonts used above the fold.
  • Remove unused sections: Delete theme sections you never use from the code.
  • Defer JavaScript: Non-critical JS should load after the page is interactive.
  • Inline critical CSS: Styles needed for above-fold content should be inline.

Third-Party Scripts

Beyond apps, you likely have tracking scripts, chat widgets, and marketing pixels loading on your store. Each one adds to your load time.

Audit Your Scripts

Check your theme's theme.liquid file and any script tags added through Shopify admin. Common culprits include:

  • Google Analytics (necessary, but load async)
  • Facebook Pixel (load via GTM for better control)
  • Hotjar, Lucky Orange (only load on pages you're actively testing)
  • Chat widgets (defer until user scrolls or after 5 seconds)
  • Multiple analytics tools doing the same thing

Pro Tip

Use Google Tag Manager to control when scripts load. You can defer non-essential scripts until after the page is interactive, significantly improving perceived performance.

Core Web Vitals

Core Web Vitals are Google's metrics for measuring user experience. They're now a direct ranking factor. Here's how to optimise for each:

LCP (Largest Contentful Paint)

Target: <2.5s

Measures how long it takes for the largest visible element (usually hero image) to load.

How to improve:

  • • Optimise and preload your hero image
  • • Remove render-blocking resources
  • • Use a fast hosting (Shopify handles this)

FID (First Input Delay)

Target: <100ms

Measures how quickly the page responds to user interaction.

How to improve:

  • • Reduce JavaScript execution time
  • • Break up long tasks into smaller ones
  • • Remove unused apps and scripts

CLS (Cumulative Layout Shift)

Target: <0.1

Measures visual stability. Do elements jump around as the page loads?

How to improve:

  • • Set explicit dimensions on images and embeds
  • • Reserve space for dynamic content
  • • Use font-display: swap for web fonts

Next Steps

Speed optimisation is an ongoing process, not a one-time fix. Here's how to maintain your improvements:

  1. 1
    Set up monitoring

    Use Google Search Console to track Core Web Vitals over time.

  2. 2
    Test before installing apps

    Run a speed test before and after installing any new app.

  3. 3
    Quarterly audits

    Review your apps and scripts every quarter. Remove what you don't need.

Need Help With Speed?

Our team can audit your store and implement these optimisations for you, typically achieving 40-60% faster load times.