Published November 24, 2026. Performance guidance here comes from Google's web.dev documentation and Shopify's theme performance guide, checked on that date. Nostra product details come from nostra.ai.
The short answer
You can speed up an ecommerce site without replatforming by fixing what Core Web Vitals measure: how fast the main content appears (LCP), how quickly the page responds to taps (INP) and how stable the layout stays (CLS). The biggest levers are right-sized images, fewer and later third-party scripts, leaner theme code, and HTML served from a cache close to the shopper through a CDN or an edge delivery layer. Judge every change on field data at the 75th percentile, which is how Google assesses the vitals.
What actually moves Core Web Vitals?
Google's Core Web Vitals are three field metrics, each with a published threshold, assessed at the 75th percentile of page loads and segmented by mobile and desktop. That last detail matters: a fix only counts if it helps the slower quarter of your real visits, not just a lab test on a fast laptop. Our post on lab data vs field data explains why the two often disagree.
| Metric | What it measures | Good threshold | What usually moves it |
|---|---|---|---|
| Largest Contentful Paint (LCP) | Loading: when the main content renders | 2.5 seconds or less | Server response time, how early the hero image is discovered, image size, render-blocking CSS and JavaScript |
| Interaction to Next Paint (INP) | Responsiveness to taps, clicks and key presses | 200 milliseconds or less | Long JavaScript tasks, heavy event handlers, large DOMs |
| Cumulative Layout Shift (CLS) | Visual stability | 0.1 or less | Images without dimensions, late-loading embeds and app content, web font swaps |
| Time to First Byte (TTFB) | Server and network response. Not a Core Web Vital, but it comes before LCP | 0.8 seconds or less (web.dev guidance) | Server rendering time, caching, distance between shopper and server |
For loading, web.dev breaks LCP into four parts: time to first byte, the delay before the browser starts loading the LCP resource, the time to download it, and the delay before it renders. Find which part is largest on your key templates before choosing a fix. A store with a fast server and a huge hero image needs different work than a store with a small image and a slow HTML response.
What can you fix without replatforming?
All five options below work on an existing storefront, and most stores need several of them. For a Shopify-specific walkthrough, see how to speed up a Shopify website.
| Option | Main metric it moves | Typical work | Replatform needed? |
|---|---|---|---|
| Image fixes | LCP, CLS | Size and compress images, use modern formats, never lazy-load the hero image, set width and height | No |
| Script and app cleanup | INP, LCP | Remove unused apps and tags, defer the rest, lazy-load embeds | No |
| Theme and Liquid optimization | TTFB, LCP, CLS | Simplify loops, render key content in HTML, reserve space for app blocks, tune fonts | No |
| CDN and caching | TTFB, LCP | Serve assets and cacheable HTML from servers close to shoppers | No |
| Edge delivery layer | TTFB, LCP | Route the storefront through an edge service that caches HTML and handles dynamic parts | No |
Images
web.dev recommends making the LCP image discoverable in the initial HTML, giving it high priority with fetchpriority or a preload, never lazy-loading it, and serving it at the right size in a modern format such as WebP or AVIF. Shopify's theme performance guide adds that its image_url and image_tag filters generate srcset, add dimensions that prevent layout shift and serve images from Shopify's CDN. Lazy-load only the images below the first screen.
Scripts and apps
Every third-party script adds code the browser has to download, parse and run. web.dev's third-party JavaScript guidance is to load scripts with async or defer, preconnect to required origins, lazy-load embeds such as videos and iframes, and remove scripts that do not add clear value. For INP, web.dev advises breaking long tasks into smaller ones and yielding to the main thread so the browser can respond to input sooner. Shopify's guide says to load only the scripts a page needs and to remove app or tracking scripts that are not worth their cost. Our guides to Shopify apps and page speed and fixing slow interactions go further.
Theme code
Shopify says Liquid rendering time drives time to first byte, so the theme itself is a speed lever. Its guide recommends avoiding deeply nested loops and metafield access inside loops, moving repeated calculations out of loops, and rendering key content with Liquid and HTML rather than client-side JavaScript. For layout stability, use app blocks with a CSS min-height so injected content does not push the page around. On fonts, web.dev suggests font-display: optional, a close fallback font and preloading critical fonts.
CDN and caching
A CDN serves content from edge servers closer to shoppers. web.dev notes that this cuts the distance responses travel, that edge caching depends on Cache-Control headers, and that personalized content is not suitable for this kind of caching. On Shopify, the platform already provides a global CDN backed by Cloudflare, with HTTP/3, Brotli compression and Early Hints, so theme assets in the assets folder are covered. The remaining lever is usually the HTML response itself.
Edge delivery
Nostra's Edge Delivery Engine works on that HTML layer. Nostra says a DNS-level change puts Edge Delivery in front of your storefront, which is then served from more than 300 edge locations worldwide. Its AI-powered session analysis decides which dynamic components can be cached and which must stay live, so carts, personalization and inventory stay accurate. Nostra caches the HTML and hydrates the dynamic pieces back in after it loads, monitors time to first byte around the clock, and describes the service as needing no code changes and no replatforming.
One caution applies to any layer of this kind. Shopify's theme performance guide advises against serving a Shopify storefront through a reverse proxy, saying proxies can mask real problems, distort metrics and add latency. Whichever edge option you consider, Nostra included, judge it on field data and a controlled traffic split on your own store. Nostra publishes split-test case studies on its Edge Delivery pages, and you should ask any vendor for the same kind of evidence.
Which fix should you make first?
- Measure field data. Find which templates fail which metric at the 75th percentile, on mobile first.
- Break down LCP. Check whether time to first byte, image discovery, image size or render delay is the largest part.
- Fix the hero image. Apply the image steps above to the LCP element on each key template.
- Cut and defer scripts. Audit apps and tags, including tracking pixels, and remove what you do not use.
- Clean up theme code. Target slow Liquid and layout shifts from app content.
- Address server response. Once the page itself is lean, test caching and edge delivery for the HTML.
How do you prove a speed change worked?
Compare 75th-percentile field data for the same templates and devices before and after each change, and change one thing at a time where you can. For revenue impact, a split test on live traffic is stronger than a before-and-after comparison, because promotions, seasonality and traffic mix move conversion rate on their own.
Frequently asked questions
Do I need to replatform or go headless to pass Core Web Vitals?
Not usually. Image fixes, script cleanup, theme optimization, CDN caching and edge delivery all work on an existing storefront. Measure which metric fails on which template, then fix that part first.
What are good Core Web Vitals scores?
Google's thresholds are LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less, assessed at the 75th percentile of page loads on mobile and desktop.
Is TTFB a Core Web Vital?
No. web.dev says time to first byte is not a Core Web Vital, but it comes before LCP, so a slow server response delays everything after it. web.dev suggests most sites aim for 0.8 seconds or less.
Does Shopify already use a CDN?
Yes. Shopify says its platform provides a global CDN backed by Cloudflare, with HTTP/3, Brotli compression and Early Hints. Theme assets in the assets folder are served from it without configuration.
How do apps and tracking scripts slow a store down?
They add JavaScript that has to download, parse and run, which can block rendering and create long tasks that delay responses to taps. Remove scripts you do not use, defer the rest, and lazy-load embeds.
What does Nostra Edge Delivery change?
Nostra says Edge Delivery is placed in front of your storefront with a DNS-level change and serves it from more than 300 edge locations, caching HTML and hydrating dynamic parts after load, with no code changes or replatforming. Test it on field data and a traffic split for your own store.
