Architecture & Tech Stack14 minute read

How to Improve Ecommerce Site Speed for Maximum Performance

Ecommerce site speed is how fast a store’s pages load, respond, and stay stable for real shoppers. Google measures it with 3 Core Web Vitals: Largest Contentful Paint (LCP) of 2.5 seconds or less, Interaction to Next Paint (INP) of 200 milliseconds or less, and Cumulative Layout Shift (CLS) of 0.1 or less, for at least 75% of visits.

Last verified Published Last updated

How to Improve Ecommerce Site Speed for Maximum Performance

A fast ecommerce site keeps shoppers on the page long enough to buy. A slow ecommerce site turns potential customers away, lowers the conversion rate, and limits revenue and growth.

In this article, we’ll cover:

  • Why site speed matters for an ecommerce business in 2026
  • The 3 Core Web Vitals and the threshold Google sets for each
  • How to measure an ecommerce site’s speed with real-shopper data
  • 10 ways to improve ecommerce site speed, from hosting to JavaScript
  • What Shopify Plus handles for you and what your team still controls

By applying the recommendations below, your team can improve both site performance and revenue.

Why Ecommerce Site Speed Matters in 2026

Before the technical work, it helps to know why speed carries so much weight for an ecommerce site. That context tells your team which fixes to prioritize.

User Experience and Conversion Rates

Site speed shapes the shopping experience directly. A slow-loading page frustrates shoppers, who then abandon their shopping carts and buy from a faster competitor instead.

Research from Deloitte, Google, and Portent has repeatedly found that the slower a website is, the fewer shoppers find the store, browse its products, and convert.

Quick stats on site speed:

  • In a 2020 study commissioned by Google, Deloitte found that a 0.1-second improvement in mobile site speed raised retail conversions by 8.4% and average order value by 9.2%.
  • In a 2021 A/B test, Vodafone improved Largest Contentful Paint (LCP) by 31% on a landing page and recorded 8% more sales.
  • In 2022, Portent reported that an ecommerce website’s conversion rate falls by 0.3% for every additional second the site takes to load. The highest-converting online stores in that study converted at an average of 3.05% with a load time of 1 to 2 seconds.
  • As of July 2025, 48% of mobile websites passed all 3 Core Web Vitals, up from 36% in 2023 and 44% in 2024, according to the 2025 Web Almanac from HTTP Archive. On desktop, 56% passed.

In other words, a store that passes all 3 Core Web Vitals on mobile is ahead of the 52% of mobile websites that did not pass in July 2025.

SEO and Site Speed

Site speed affects where a store ranks in search results. Google states that Core Web Vitals are used by its ranking systems, as part of its page experience guidance. Google also states that it always seeks to show the most relevant content, so speed helps most when several pages offer similarly helpful content.

In the eyes of search engines and shoppers, site performance is part of user experience, and a faster site gives shoppers a better experience.

Think about the times you’ve shopped online. Which websites did you visit and buy from most often? Which websites did you leave? More likely than not, you clicked away from the slow-loading websites and bought from the faster-loading websites instead.

Mobile Performance

Smartphones accounted for 56.4% of US online holiday transactions in the 2025 season (November 1 to December 31), up from 54.5% in 2024, according to Adobe. Mobile is also where speed is hardest to achieve: as of July 2025, 62% of mobile websites had a good LCP, compared with 74% of desktop websites, per the 2025 Web Almanac.

Mobile shoppers are also more easily distracted than desktop shoppers. Through user testing at Anatta, we’ve found that mobile shoppers browsing an online store are usually multitasking instead of giving the store their full attention.

While a mobile shopper is on your site, the shopper is also chatting with a partner, playing with a pet, or watching Netflix. A slow-loading page cannot compete for that shopper’s attention.

Google also uses mobile-first indexing, which means Google uses the mobile version of a page for indexing and ranking. A fast, mobile-friendly site is the version Google evaluates.

The 3 Core Web Vitals

Core Web Vitals are the 3 metrics Google uses to measure page experience for real users. Each metric has a “good” threshold. A page passes when at least 75% of visits (the 75th percentile) meet the threshold, measured separately on mobile and desktop, according to Google’s web.dev guidance.

Core Web Vitals thresholds, measured at the 75th percentile of visits
MetricWhat it measuresGoodPoor
Largest Contentful Paint (LCP)Loading: when the largest image or text block finishes rendering2.5 seconds or lessOver 4 seconds
Interaction to Next Paint (INP)Responsiveness: the delay from a tap, click, or key press to the next screen update200 milliseconds or lessOver 500 milliseconds
Cumulative Layout Shift (CLS)Visual stability: how much page content moves unexpectedly0.1 or lessOver 0.25

INP replaced First Input Delay (FID) as a Core Web Vital on March 12, 2024. FID measured only the delay before the browser began processing a shopper’s first interaction. INP measures every interaction on the page, through to the next screen update, so slow JavaScript that FID missed now counts against a page.

Across the web, as of July 2025, CLS was the easiest metric to pass on mobile (81% of websites good), INP came next (77%), and LCP was the hardest (62%), according to the 2025 Web Almanac. For most stores, LCP is where the work starts.

Analyzing Your Ecommerce Site Speed

Site speed has a large effect on revenue, so the next step is to find out where your site stands. Measure your ecommerce site’s current performance, then keep measuring after every change.

Field Data and Lab Data

Speed tools report 2 kinds of data. Field data comes from real shoppers on real devices and networks. Google’s Chrome User Experience Report (CrUX) collects field data from Chrome users, and Core Web Vitals pass or fail on field data. Lab data comes from a single simulated page load. Lab data is repeatable, which makes lab data useful for debugging, but lab data does not decide whether a page passes.

Tools for Measuring Site Speed

Several tools measure website performance. Here is what each tool offers.

  • Google PageSpeed Insights (PSI): Shows a page’s CrUX field data for the past 28 days (the 3 Core Web Vitals plus Time to First Byte (TTFB)) above a Lighthouse lab report. Start with PSI, because the field data section shows whether the page passes.
  • Google Search Console Core Web Vitals report: Groups the URLs on your site as good, needs improvement, or poor, using field data, so your team can find every page template that fails.
  • Google Lighthouse: A lab tool built into Chrome DevTools that audits performance, SEO, accessibility, and more. Lighthouse reports LCP, CLS, Total Blocking Time (TBT), First Contentful Paint, and Speed Index. TBT is the lab stand-in for INP, because a lab test has no real shopper to interact with the page.
  • WebPageTest: Provides a detailed view of your site’s performance in different browsers, locations, and connection speeds, including a request-by-request waterfall.
  • GTmetrix: Testing and scores based on location and page load time, with a waterfall view of your website’s elements combined with Google Lighthouse data.
  • Real-user monitoring (RUM): A script on your own site that collects Core Web Vitals from every visit, including pages with too little traffic for CrUX to report. Google’s open-source web-vitals JavaScript library is a common starting point.

Potential Site Speed Bottlenecks

As you analyze your website’s speed, you’ll uncover bottlenecks that slow down your site.

Common bottlenecks include:

  • Large or unoptimized images, especially the hero image that becomes the LCP element
  • Third-party scripts, such as reviews, chat, personalization, analytics, and tag managers
  • JavaScript that blocks the browser’s main thread and delays responses to taps and clicks
  • A high number of apps or plug-ins, each adding its own scripts and styles
  • Render-blocking CSS and JavaScript in the page head
  • A high number of HTTP requests
  • Insufficient caching
  • Slow server response (TTFB) or a distant hosting location

Images are the usual LCP element: as of July 2025, an image was the largest element on 76% of mobile pages, according to the 2025 Web Almanac.

Only some of these bottlenecks are within your control. Depending on your ecommerce platform, the platform handles some bottlenecks for you, such as hosting and caching. You also can’t control a shopper’s network speed.

Setting Performance Goals

After analyzing your site, set goals tied to the Core Web Vitals thresholds: LCP of 2.5 seconds or less, INP of 200 milliseconds or less, and CLS of 0.1 or less at the 75th percentile on mobile. Set a goal for each page template (home page, collection page, product page, and cart), because each template fails for different reasons.

Tracking progress toward these goals keeps your team focused throughout the optimization process. Check field data monthly and after every release. CrUX reports a rolling 28-day window, so a fix takes up to 4 weeks to show in full.

Free, no call required

Is speed really the leak?

Get a free read of where each channel loses people.

Optimizing Your Ecommerce Site Speed

With the analysis complete and goals set, start improving. Begin with the infrastructure that serves your ecommerce site, then move to the pages themselves.

A well-optimized infrastructure keeps your site fast under heavy traffic and gives shoppers a consistent experience.

1. Choose the Right Hosting Provider

Your choice of hosting provider plays an essential role in your site’s performance. A hosting provider stores your website’s content and delivers that content to shoppers, so choosing a reliable and fast hosting provider is vital.

There are different hosting options available, such as shared, dedicated, and cloud-based hosting:

  • Shared hosting is the most affordable option, but shared hosting can be slow and unreliable.
  • Dedicated hosting is more expensive, but dedicated hosting provides better performance and security.
  • Cloud-based hosting is a scalable and flexible option that can handle sudden traffic spikes.

When selecting a hosting provider for your ecommerce website, ensure that the provider offers adequate resources, dependable uptime, and the ability to scale as your online business grows.

Measure the result with Time to First Byte (TTFB): Google considers a TTFB of 0.8 seconds or less good. As of July 2025, only 44% of mobile websites met that mark, according to the 2025 Web Almanac.

2. Implement a Content Delivery Network (CDN)

A content delivery network (CDN) is a network of servers located around the world. By caching your content on these servers, a CDN delivers your site’s files quickly to every shopper, regardless of the shopper’s physical distance from your origin server.

Implementing a CDN can greatly improve your site’s loading speed for shoppers around the globe. A CDN can also reduce server load and improve uptime. Popular CDN providers include Cloudflare, Amazon CloudFront, and Akamai.

Where possible, serve the hero image from the same host as the page. An image on a separate domain adds a new connection before the download can start; if a separate domain is unavoidable, add a preconnect hint for that domain.

3. Use Browser and Server Caching

Implementing caching strategies can greatly improve your ecommerce site’s performance. Caching temporarily stores copies of files or data to reduce load times for repeat site visitors.

There are 2 types of caching strategies:

  • Browser caching: stores website files in the shopper’s browser. When the shopper revisits your site, the browser retrieves the stored files instead of downloading them again, which shortens load times.
  • Server caching: stores website data on the server side. The server retrieves the stored data instead of rebuilding each page, which shortens load times for all shoppers.

Caching reduces server load, shortens page load times, and gives shoppers a smoother experience.

4. Reduce Image Sizes and Optimize Formats

Because an image is the LCP element on most mobile pages, image work usually has the biggest effect on LCP.

  • Use modern formats: Serve AVIF or WebP, which compress better than JPEG and PNG. As of July 2025, 57% of LCP images were still JPEGs, according to the 2025 Web Almanac.
  • Compress images: Reduce file size without visible quality loss using tools such as Squoosh, TinyPNG, or JPEGmini.
  • Serve the right size: Use the srcset and sizes attributes so a phone downloads a phone-sized image.
  • Set dimensions: Give every image width and height attributes (or a CSS aspect-ratio) so the browser reserves space and the layout doesn’t shift. As of July 2025, 62% of mobile pages had at least 1 image without dimensions.

5. Prioritize the LCP Image

Browsers treat most images as low priority, including the hero image. Add fetchpriority="high" to the LCP image so the browser downloads it first. If the LCP image is set in CSS or loaded by JavaScript, also add a <link rel="preload"> tag with fetchpriority="high" in the page head. As of July 2025, only 17% of mobile pages used fetchpriority="high" on their LCP image, according to the 2025 Web Almanac.

6. Minimize HTTP Requests

Each HTTP request a browser makes to load a page’s elements adds work to the page load. Reduce requests by removing unused CSS and JavaScript, combining small files where combining helps, and replacing image icons with inline SVG icons. HTTP/2 and HTTP/3, which major CDNs support, load many files in parallel over 1 connection, so file size and loading priority now matter as much as the number of requests.

7. Use Inline SVG Icons Instead of CSS Sprites and Icon Fonts

CSS sprites and icon fonts were long the standard ways to cut icon requests: a sprite combines many icon images into 1 file, and an icon font draws icons as text characters. Both techniques still work, but inline SVG (Scalable Vector Graphics) icons are the better choice in 2026. An SVG icon written into the HTML needs no extra request, stays sharp at any size, takes its color from CSS, and can carry a text label for screen readers. An icon font, by contrast, can show blank boxes or shift the layout while the font file loads.

8. Lazy-Load Below-the-Fold Content

Lazy loading delays offscreen images and content until a shopper scrolls near them. Add loading="lazy" to images below the fold, such as customer review photos and lower rows of a product grid, so the browser spends its early bandwidth on what the shopper sees first. Never lazy-load the LCP image, because lazy loading delays the main content. As of July 2025, about 16% of pages still lazy-loaded their LCP image, according to the 2025 Web Almanac.

9. Audit Third-Party Scripts and Apps

Every review widget, chat tool, tracking pixel, and personalization script adds JavaScript that competes with the shopper’s taps and clicks. List every third-party script on the site, remove the scripts no one uses, load the rest with async or defer, and delay non-essential tools (such as chat and surveys) until after the page loads or after the shopper’s first interaction.

10. Break Up Long JavaScript Tasks

INP fails when JavaScript occupies the browser’s main thread, so the page can’t paint its response to a tap. Ship less JavaScript, split code by page, and break long tasks into smaller pieces that yield to the browser between steps. Lab data shows the problem growing: the median mobile Total Blocking Time rose 58% between 2024 and 2025, to 1,916 milliseconds, according to the 2025 Web Almanac. Test collection filters, variant pickers, and add-to-cart buttons first.

How Can You Improve Ecommerce Website Speed on Shopify Plus?

If your store runs on an ecommerce platform such as Shopify Plus, Shopify handles parts of your site infrastructure, such as hosting, the CDN, and caching. Your team can still optimize the theme’s Liquid code, the theme architecture, the apps and plug-ins, and the images.

On Shopify Plus, Shopify controls hosting, CDN and caching, while merchants control images, apps and theme architecture
What Shopify handles and what merchants still control for speed.

What Shopify controls:

  • Hosting: Shopify hosts Shopify stores on its own cloud-based infrastructure. According to Shopify, its servers have a 99.99% uptime on average.
  • CDN: Shopify equips its stores with the global CDN from Cloudflare.
  • Caching: Shopify’s browser caching keeps a store’s cacheable files for up to 1 year. Cacheable files include images, PDFs, and CSS and JavaScript files.

What merchants can control:

  • Number of images and image sizes: By default, Shopify stores cannot have more than 50 products on a collection page or 25 sections on a store’s homepage. Shopify also lazy-loads images below the fold.
  • The number of apps, plug-ins, and theme features: Unoptimized third-party apps and theme features can slow your site down by adding JavaScript.
  • Your theme architecture: While Shopify’s default themes, like Dawn, are built for high performance, by partnering with Shopify experts, you can build an even faster Shopify theme architecture.

Shopify’s managed infrastructure shows in the data. As of July 2025, 76% of Shopify store origins passed all 3 Core Web Vitals on mobile, compared with 35% of WooCommerce and Magento store origins, according to the 2025 Web Almanac ecommerce chapter. The remaining work on a Shopify store sits in the theme, the apps, and the images. Our guide to Shopify speed optimization covers that work cause by cause.

Frequently Asked Questions

What is a good page load time for an ecommerce site?

A good ecommerce page shows its main content in 2.5 seconds or less, measured as Largest Contentful Paint (LCP) for at least 75% of visits. Google also counts a Time to First Byte of 0.8 seconds or less as good. A single load-time number hides too much, so measure LCP, INP, and CLS separately.

Does site speed affect Google rankings?

Yes, as 1 signal among many. Google states that Core Web Vitals are used by its ranking systems. Google also states that it always seeks to show the most relevant content, so speed helps most when several pages offer similarly helpful content.

What replaced First Input Delay?

Interaction to Next Paint (INP) replaced First Input Delay (FID) as a Core Web Vital on March 12, 2024. INP measures the delay of every tap, click, and key press on a page through to the next screen update. A good INP is 200 milliseconds or less.

How often should we test ecommerce site speed?

Test field data monthly and after every release, theme change, or new app. Google’s Chrome User Experience Report uses a rolling 28-day window, so a fix takes up to 4 weeks to show in full in PageSpeed Insights and Search Console.

Wrapping Up

Site speed optimization is a continuous process. After fixing a speed bottleneck, test your site again to measure the effect of the fix. If field data doesn’t improve after the steps above, it’s likely time to optimize your site’s underlying architecture (the theme, front-end code, and app stack) as opposed to its infrastructure.

Launch an Industry-Leading DTC Ecommerce Store with Anatta

Believe it or not, you can have both a beautiful and lightning-fast ecommerce store. At Anatta, we’ve developed our own custom Shopify Theme architecture that’s built for performance, has a less than one-second load time, and supports fast-growing DTC brands as they scale to industry leaders. Today, the Shopify sites we’ve built for our clients, like Rothy’s and Thesis are some of the fastest in DTC ecommerce.

Get in touch with our team to learn more.

“Following Anatta’s work, our conversion rate went from 4.1% to 6.2%, which is insane in the e-commerce industry.”

Tran Ngo, VP Digital & Growth

Read Success Story

Free, no call required

Is speed where your visitors drop, or just where you looked?

We map your three highest-volume traffic channels end to end and size every leak in dollars. A written read, free, no call.