Skip to content

This guide answers: page speed for online stores: apps, scripts and images

Page speed for online stores: apps, scripts and images

Images, third-party scripts and apps slow online stores in different ways. See where the weight comes from and how to fix all three, not just one.

By Hannah Wells, Technical SEO, site performance and online stores
· 6 min read

updated 

Page speed for online stores: apps, scripts and images
FIG. 01 Photo PreisKing / Pixabay

Short answer

Images, third-party scripts and connected apps are the three places where an online store loses speed, and they do not weigh the same. On the median page of 2,862 KB in 2025, images account for 1,059 KB, more than JavaScript, fonts, CSS and HTML combined. Third-party scripts take more than 50% of total load time on e-commerce sites. Fixing only one of the three rarely changes the result.

Key points

  1. A store page is not a blog post. It carries many product photos, a cart, reviews, tracking and often a chat window.
  2. Images are the heaviest item on the median page, so they are the first place to look.
  3. Third-party scripts are code loaded from outside your own store: tracking pixels, chat widgets, review modules and social network embeds.
  4. Apps and widgets are close cousins of third-party scripts, but they are often more tied to the shop's function.

Speed and e-commerce: what actually changes

A store page is not a blog post. It carries many product photos, a cart, reviews, tracking and often a chat window. Each of those elements adds weight or code, and the mix that slows down a multi-product fashion store is not the one that slows down a software product page.

Speed matters here first because shoppers who wait tend to leave, which hurts sales directly. Search is the second link. Core Web Vitals is a ranking signal, but not the dominant one: Google puts content, relevance and backlinks first. Both effects are real, and neither replaces the other.

Think of the problem as an equation with three variables: images, scripts and apps. There is no single trick. A store with perfectly compressed images can still be slow if a dozen outside services load on every page.

Images: cut the weight without losing sales

Images are the heaviest item on the median page, so they are the first place to look. The goal is not to make photos ugly. Product photos sell the product, and a blurry image costs more than it saves.

Next-generation formats

Two formats do most of the work:

  • WebP: converting an image to WebP cuts 40 to 60% of its weight without visible quality loss.
  • AVIF with a WebP fallback: this combination reduces the load by 40 to 50% compared with JPEG or PNG.

The fallback matters. Not every browser reads every format, so the store should serve the lighter format where it is supported and a safe one elsewhere.

Lazy loading and its limit

Lazy loading means loading an image only when it is about to become visible. A category page with a long grid of products benefits a lot, because the shopper never scrolls to the bottom on many visits. The limit is the top of the page. Images above the fold, especially the main product photo, are what the shopper waits for. Delaying them makes the page feel slower and works against the LCP measure, so they should load immediately.

Right size for the right device

A phone does not need the file made for a large desktop screen. Responsive images let the store serve dimensions that match the device. Serving one oversized file to everyone wastes data on exactly the visitors with the least bandwidth.

Test on a slower connection

A store that feels instant on office fiber can be painful on mobile. Check the pages on 4G and on 3G, because that is closer to how many shoppers actually browse.

Third-party scripts: find what is killing speed

Third-party scripts are code loaded from outside your own store: tracking pixels, chat widgets, review modules and social network embeds. They are the main reason a page that looks light is slow. Each one loads its own resources, and together they take more than 50% of total load time on e-commerce sites.

The data on how many is too many

The Shopify benchmark for 2026 found a correlation of minus 0.66 between the number of third-party services and the PageSpeed score. It is the strongest signal in the dataset. The gap shows in the medians: stores with 0 to 5 third-party services have a median mobile score of 74, while stores with 21 to 30 services sit at 44.

This is a correlation, not proof that each script causes a fixed loss. It does show that the count itself is worth watching.

Diagnose, then prioritize

Start by listing every script the store loads and who added it. Many stores find tools nobody remembers installing. Then sort them into two groups: what directly supports sales, and what is nice to have. Keep two or three essentials and question the rest. A heatmap nobody reads or a social embed nobody clicks is a cost with no return.

Async and deferred loading

Loading a script asynchronously or deferred means it does not block the page from showing. This helps, but it has limits. The script still runs, still uses the browser’s processing time, and can still hurt the interaction measure (INP) when the shopper taps a button. Deferring is a way to reorder work, not a way to make it disappear.

Apps and widgets: balance function and speed

Apps and widgets are close cousins of third-party scripts, but they are often more tied to the shop’s function. A payment widget, a review block or a product filter each adds JavaScript to the page. Nothing is free, even when the feature is useful.

Some apps are critical. A full e-commerce app handling inventory or the cart cannot simply be removed, and it is often heavy. For those, the question is not whether to keep it but whether it loads only where it is needed.

For the rest, two options exist. Load non-critical apps lazily, so they appear only when the shopper reaches them. Or replace an app with a native feature of the platform through its API, when one exists, which removes an outside dependency.

The trade-off is real. A widget may help conversion a little while slowing every page. Before keeping it, check what it costs in load time and whether the gain justifies that cost. The aim is a decision made with numbers, not a habit.

Measure and verify: beyond the scores

Three tools are standard. Google PageSpeed Insights gives a score and field data for a page. Lighthouse runs a lab audit and points to specific problems. WebPageTest lets you test under chosen conditions and see how the page loads step by step.

The thresholds Google uses in 2026 for Core Web Vitals are:

  • LCP (Largest Contentful Paint): 2.5 seconds on desktop, 2 seconds on mobile.
  • INP (Interaction to Next Paint): 200 milliseconds.
  • CLS (Cumulative Layout Shift): 0.1 at the 75th percentile.

LCP deserves extra attention on mobile, where a shopper either buys or leaves. Always test on a realistic connection, not only on fast office internet, and do not rely on a single run.

The stakes for search are visible in the data. After the March 2026 core update, pages in position 1 show a noticeably higher Core Web Vitals pass rate than pages in position 9. Pages with LCP above 2.5 seconds or INP above 200 ms saw drops of 0.8 to 4 positions on competitive queries. A practical benchmark is to compare your key pages with the top 3 competitors in your category.

Verdict by profile

The right first move depends on the store. These are suggestions drawn from the figures above, not promises of results.

  • Store with many product photos: start with images. Move to WebP, or to AVIF with a WebP fallback, and keep lazy loading away from the top of the page.
  • Store with many installed tools: start with scripts. The 0 to 5 versus 21 to 30 gap in median scores, 74 against 44, is the clearest warning in the data.
  • Store that depends on one large app for cart and inventory: keep the app, but load secondary widgets lazily or replace them with native features.
  • Store already passing the thresholds: stop optimizing the numbers and work on what shoppers see and read.

What does not change despite optimization

Speed does not erase weak product content. Poor photos and thin descriptions stay poor on a fast page. It is also not a stronger factor than links and relevance, since Google looks at content, relevance and backlinks first.

A fast but badly structured store is less useful than a slower store with clear logic. Core Web Vitals is a condition to meet, not the key to ranking. Nobody can promise a position after an optimization, and this page does not.

Sources: Shopify Enterprise blog, article on site performance and page speed in e-commerce; ALM Corp, Core Web Vitals and page experience 2026 guide. Both consulted on 03/12/2026.

Read next in Ecommerce SEO

seo-service-journal ecommerce-seo

Category page SEO: the page that ranks for most store queries

· 9 min read

seo-service-journal ecommerce-seo

Ecommerce SEO explained: categories, products and crawl control

· 7 min read

seo-service-journal ecommerce-seo

Product page SEO: titles, descriptions and unique content

· 8 min read

Free newsletter · every Monday

The Monday Crawl

One email each Monday: what changed in the official search documentation, and what to check on your own site.

Free. One click to unsubscribe. We use your email only to send the newsletter. Privacy policy.