What Is TTFB, and What Slows It Down on an Online Store?
Time to first byte (TTFB) is how long a browser waits after requesting a page before the first byte of the response arrives. Google's guidance treats 0.8 seconds or less as good. On online stores, slow TTFB usually comes from redirect chains, pages that miss the cache, heavy server-side theme or app code, slow backend calls or distance.
Last updated November 23, 2026
Most speed work on an online store focuses on what the browser does: images, scripts, layout. TTFB measures what happens before any of that starts. Until the first byte arrives, the shopper sees a blank tab, and every other loading metric, including Largest Contentful Paint, waits too. This post explains what TTFB measures, the thresholds Google uses, the most common causes on ecommerce sites and how to find which one applies to your store.
Key takeaways
- TTFB covers redirects, DNS lookup, connection setup and the server building the response, up to the first byte reaching the browser.
- Google guidance treats 0.8 seconds or less as good and more than 1.8 seconds as poor, at the 75th percentile of real page loads.
- TTFB is not a Core Web Vital, but it sits underneath LCP: a slow first byte makes a good LCP hard to reach.
- On stores, slow TTFB usually traces to redirects, cache misses, heavy server-side rendering, slow API calls or geography.
- Measure it from real users by page type and device; lab tests from one location miss most of the variation.
Part of: Noibu's Performance Agent
What does TTFB measure?
TTFB measures the time from the moment a browser starts navigating to a page until the first byte of the page's response arrives. According to Google's web.dev guide to TTFB, that window includes redirect time, service worker startup if there is one, the DNS lookup, the connection and TLS negotiation, and the time the server takes to start sending the response. Each phase adds to the total, so a slow TTFB can come from the network, the server or the steps before the request even reaches the server.
What happens before the first byte arrives
- 1
Redirects
Each hop, such as http to https or a locale redirect, repeats the request.
- 2
DNS lookup
The browser finds the IP address for the store domain.
- 3
Connection
TCP and TLS setup with the nearest server or CDN edge.
- 4
Server work
The server or CDN builds or retrieves the page and starts sending it.
- 5
First byte
The browser receives the first byte and can start parsing the page.
What is a good TTFB?
Google's guidance on web.dev says most sites should aim for a TTFB of 0.8 seconds or less, and treats more than 1.8 seconds as poor, measured at the 75th percentile of page loads. The 75th percentile matters: a store whose median TTFB is fine can still have a quarter of shoppers, often on mobile networks or far from the server, waiting much longer.
TTFB is not one of the Core Web Vitals, which are Largest Contentful Paint (LCP), Interaction to Next Paint (INP) and Cumulative Layout Shift (CLS). It is a diagnostic metric for LCP. Google's LCP guidance targets 2.5 seconds or less, and every millisecond spent waiting for the first byte comes out of that budget before the hero image or product title can load. When LCP is slow on a page that has a light hero image, a slow first byte is often the reason. Browser-side LCP work is covered in how to improve LCP on product pages.
What slows TTFB down on an online store?
Six causes account for most slow TTFB on ecommerce sites. The table lists each one, how it tends to show up in data, and where to look.
| Cause | How it shows up | Where to look |
|---|---|---|
| Redirect chains | Slow TTFB on landing pages from ads, emails or old links | Ad and email URLs, http to https, www, locale and trailing-slash redirects |
| Cache misses | Fast on repeat views, slow on first view or on pages with query parameters | CDN cache hit rate, query parameters such as tracking tags, cache rules |
| Heavy server-side rendering | Slow on specific templates, such as large collections or bundles | Theme template loops, server-side app code, personalization at render time |
| Slow backend or API calls | Slow on cart, account, search or pages with live pricing and inventory | Calls to pricing, inventory, ERP or personalization services |
| Distance from the server | Slow in some countries or regions, fine in others | CDN coverage, origin location, real-user TTFB split by country |
| Cold caches after a deploy or purge | A spike right after a release, cache clear or traffic surge | Deploy and cache purge times compared with TTFB over time |
Causes and checks based on the TTFB guidance on web.dev and common ecommerce architectures.
Redirects are the easiest to miss, because they often live in links rather than on the site. An ad that points to an http URL, an email link that goes through two tracking redirects, or a locale redirect that runs before the page loads each adds a full round trip before the real request starts. Test the exact URLs used in campaigns, not just the clean page URL.
Cache misses are the most common cause on stores that use a CDN. Product and collection pages are usually cached at the CDN edge and respond quickly. Cart, account and search pages are personalized, so they are built per request. Some caches also treat each unique query string as a separate page, so a link carrying a new tracking parameter can miss the cache and wait for the origin server. Google's guide to optimizing TTFB covers caching, CDNs and redirects in more depth.
On hosted platforms such as Shopify or BigCommerce, the server and CDN are managed by the platform, but the store still controls a large share of server-side work: theme templates that loop over many products, apps that add work at render time, and redirects. On self-hosted and headless stores, backend services and caching configuration add more places to look.
How do you find what slows TTFB on your store?
Start with real-user data, split by page type, device and country, then test the slow segment in a lab. Real-user TTFB is reported in the Chrome User Experience Report and by the open-source web-vitals library, and real user monitoring tools record it for every page view. Why Lighthouse differs from real-user Core Web Vitals explains why a single lab run is not enough.
- Slow everywhere on one template: look at server-side rendering and backend calls for that template.
- Slow on first view, fast on repeat: look at cache hit rates and query parameters.
- Slow from ads and emails only: look at redirect chains in campaign URLs.
- Slow in some countries: look at CDN coverage and where the origin server sits.
- Slow right after releases: look at cache purges and deploy timing.
Once the first byte is fast, the rest of the page still has to load. Layout shift and responsiveness are covered in what causes CLS and how to improve INP, and which Core Web Vitals move conversion helps decide where to spend developer time.
How does Noibu's Performance agent help with slow page loads?
Noibu's Performance agent reads real-user Core Web Vitals from every session rather than one simulated visit, and reports them by template, such as home, collection, product, cart and checkout, split by device. It works from the resources that loaded on each page view, the device and connection, and what the shopper did next, which lets it rank slow templates by the sessions and revenue on each one. For each problem it identifies the resources and elements behind the slow load and drafts the change for a developer or store owner to approve.
After a change ships, the Performance agent tracks the vitals on the affected templates, so a later release, app install or cache change that slows pages down is caught quickly. That regression watch matters for TTFB in particular, because many of its causes, such as a new redirect or a template change that adds server work, arrive with a deploy. More detail is in Noibu's Performance agent explained.
The Performance agent runs in the Noibu console and in Claude, ChatGPT and other AI tools through Noibu MCP, alongside Noibu's Bug Resolution, CRO, ADA, A/B Testing and ROAS agents, which cover the errors, conversion, accessibility, experiments and paid traffic on the same pages.
The short version
TTFB is the wait before the first byte of a page arrives. Aim for 0.8 seconds or less at the 75th percentile of real page loads. On online stores, check redirect chains in campaign URLs, cache misses on personalized pages and query strings, server-side work in templates and apps, slow backend calls and CDN coverage. For a quick read on what slows your store down for real shoppers, start with Noibu's free website audit.
Noibu is AI for ecommerce operations, the always-on optimization system that keeps online stores running at their best. A team of supervised AI agents finds what's broken, slow, or leaking revenue, does the work, and hands results back for human approval. Trusted by retailers like Free People, Guess, Liquid I.V., and Ariat.
Frequently asked questions
What is a good TTFB for an online store?
Google guidance on web.dev suggests a TTFB of 0.8 seconds or less for most sites, measured at the 75th percentile of real page loads. Above 1.8 seconds is considered poor. Pages that are slow to send their first byte struggle to load their main content quickly.
Is TTFB a Core Web Vital?
No. The Core Web Vitals are Largest Contentful Paint, Interaction to Next Paint and Cumulative Layout Shift. TTFB is a diagnostic metric that sits underneath LCP, because the browser cannot render anything until the first byte arrives.
What causes a slow TTFB on an ecommerce site?
The most common causes are redirect chains, pages served without a CDN cache hit, heavy server-side rendering from theme code or apps, slow backend or third-party API calls for pricing or inventory, distance between the shopper and the server, and caches emptied by a deploy or traffic spike.
Why is TTFB slow only on some pages?
Pages that can be cached, such as many product and collection pages, usually respond quickly. Pages that are personalized or built per request, such as cart, account, search results and pages with unusual query parameters, often miss the cache and wait for the server.
How do you measure TTFB?
Measure it from real users when possible, because lab tests run from one location on one connection. Chrome User Experience Report data and the web-vitals JavaScript library report TTFB from real page loads, and browser developer tools show it for a single test load.
How does Noibu's Performance agent help with slow page loads?
Noibu's Performance agent reads real-user Core Web Vitals from every session by template and device, identifies the resources and elements behind slow loads, ranks slow templates by sessions and revenue, drafts the change for a person to approve, and watches for regressions after releases.
