Skip to content

Ready

Enter a domain on the left and run the test. Results stream in here.

Nothing renders until the first byte arrives

Time to First Byte (TTFB) measures how long it takes for the browser to receive the first byte of response after sending the request. It includes DNS lookup, TCP and TLS handshake, redirects, and server processing time. Until TTFB completes, the browser cannot do anything: no rendering, no parsing, no script execution. This TTFB checker, also called a time to first byte checker, requests your URL five times and reports the average, fastest and slowest response.

High TTFB cascades into every other performance metric. Slow TTFB pushes FCP later and LCP later, millisecond for millisecond. When the server is the slow part, no amount of front-end tuning can win that time back, which is why TTFB is worth checking before anything else.

TTFB targets: 800ms and 1.8 seconds

Google's recommended targets: under 800ms TTFB for "good", up to 1800ms for "needs improvement", anything above is "poor". For sites serving global audiences, hitting under 600ms requires edge caching. Origin-only sites, even with fast servers, struggle to beat 800ms for users far from the data center.

TTFB is geographic. A US-hosted server delivering 200ms TTFB to US visitors might deliver 1200ms to Australia. Always test from multiple geographies if your audience is global. This checker runs five samples; for full coverage use a real-user monitoring tool.

Databases, APIs, rendering and distance: where the time goes

Database queries on every request. Dashboard pages that hit the DB for every component bottleneck TTFB. Cache aggressively at the application layer (Redis, in-memory caches) and the CDN layer (full-page HTML caching for non-personalized pages).

Slow third-party APIs called server-side during render. If your page server-side fetches inventory data, weather, or analytics at request time, you inherit those APIs' latency in your TTFB. Cache aggressively or move the fetch to client-side.

Server-side rendering (SSR) with heavy computation. SSR is great for SEO but every dynamic component adds work to the request path. Static site generation (SSG) or incremental static regeneration (ISR) eliminates this entirely for content that does not change per user.

Origin distance. Without a CDN, every user hits your origin directly. Adding Cloudflare, Fastly, Vercel Edge, or similar puts cached content close to every user globally. The CDN Detector shows whether a page is actually being served from an edge cache.

Taking a TTFB reading you can trust

Single-sample TTFB readings are noisy. Network jitter alone can swing one fetch by 200ms. Take 5 to 10 samples and report the average and the variance. This tool runs 5 samples per click.

TTFB measured from your office is different from TTFB measured from real users. Use Real User Monitoring (RUM) tools like SpeedCurve, Calibre, or even free Cloudflare Analytics to see real-user TTFB across the world. CrUX also reports field TTFB from real Chrome users. It is a diagnostic metric rather than one of the three Core Web Vitals, but it is the honest picture of what visitors wait for.

DNS, connection, TLS or server: reading the phases

A useful TTFB reading is more than one number, because TTFB is the sum of several phases stacked back to back. DNS resolution finds your server's address. The TCP connection opens the socket. The TLS handshake negotiates encryption. Then the request travels to the server, the server does its work, and the first byte travels back. When TTFB is high, the fix depends entirely on which phase is fat, and they have nothing to do with each other.

If DNS is slow, the problem is your DNS provider or an uncached lookup, not your application code. If the TLS handshake is slow, you may be missing session resumption or running an old protocol version. If connection setup is fine but the wait for the first byte is long, the bottleneck is server processing: database queries, slow templates, or upstream APIs. Reading the phases stops you from optimizing the wrong thing, which is the single most common way TTFB work gets wasted.

Watch for redirects hiding inside your TTFB. If the URL you test quietly issues a 301 to another URL, the browser pays for two full round trips before any content arrives, and a naive measurement blames your server for latency that is really a redirect tax. Always test the final destination URL, and fix redirect chains separately with the Redirect Chain Checker rather than letting them inflate every reading.

Warm caches, single samples and other TTFB traps

The first mistake is testing a warm cache and celebrating. The second request to a page is served from cache and returns in a fraction of the time of the first, uncached request. Real users and crawlers frequently hit cold paths, so test cache-busting URLs or clear the cache between samples if you want the number that actually matters.

The second mistake is reading a single sample as truth. Network jitter, a momentary garbage-collection pause on the server, or a cold serverless function can swing one fetch by hundreds of milliseconds. This tool takes multiple samples on purpose so you can see the spread. A low average with high variance is its own red flag: it usually means cold starts or an overloaded origin that is fast most of the time and terrible occasionally.

The third mistake is treating TTFB as the whole story. A blazing 200ms TTFB does not save a page that then ships three megabytes of render-blocking JavaScript. TTFB is the foundation, but a fast foundation under a heavy house still gives a slow page. Use this checker to confirm the server is not the problem, then move to the Page Speed Test and Core Web Vitals Checker for what happens after the first byte.

How server response time reaches rankings and AI crawlers

TTFB is part of Google's page experience signals as a component of LCP. It is not directly graded as its own metric in Search Console, but slow TTFB blocks LCP from being good, which is a ranking signal.

AI crawlers (GPTBot, ClaudeBot, PerplexityBot) have shorter timeouts than Googlebot. A page that takes seconds to start responding risks partial parsing or being skipped entirely by those crawlers, while a fast response gives them the best chance of fetching and reading the whole page within their request budget.

Static pages, product pages and dashboards need different bars

Not every page on your site should be held to the same TTFB. A fully static marketing page served from the edge can and should return its first byte in under 200ms. A logged-in dashboard that assembles personalized data on every request will always be slower, because there is genuine work to do and little of it can be cached publicly. Knowing which category a URL falls into tells you whether a given TTFB is acceptable or alarming.

This matters for SEO because the pages search engines and AI crawlers care about, your articles, product pages, and landing pages, are almost always cacheable. There is rarely a good reason for a public blog post to have a 1.5-second TTFB. If it does, the page is probably being rendered fresh from a database on every request when it could be served as a pre-built static or incrementally regenerated response. The content does not change per visitor, so the server work is pure waste.

Test the templates that earn organic traffic, not just the homepage. Homepages are usually the most heavily optimized and cached page on the entire site, so a fast homepage TTFB tells you almost nothing about the article and category pages that actually rank. Sample several URLs of each template type to find the slow path before Google does.

Bringing TTFB down, step by step

Add a CDN if you do not have one. Even a free tier helps visitors far from your server, but the big win comes from caching HTML at the edge, not just images and CSS, so the request never has to travel back to a distant origin for content that has not changed. Check what your pages currently allow with the Cache-Control Analyzer.

The config below shows the two most common ways to stop rebuilding the same page on every request: a short server-side page cache in Nginx that skips logged-in users and shoppers with items in their cart, and a Cache-Control header that lets a CDN keep public HTML for a few minutes while browsers always revalidate.

# Nginx + PHP (e.g. WordPress): cache rendered pages for anonymous visitors
fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=PAGES:50m inactive=10m;

server {
  set $skip_cache 0;
  if ($http_cookie ~* "wordpress_logged_in|woocommerce_items_in_cart") {
    set $skip_cache 1;
  }

  location ~ \.php$ {
    # ...your existing fastcgi_pass and fastcgi_params lines
    fastcgi_cache PAGES;
    fastcgi_cache_key "$scheme$request_method$host$request_uri";
    fastcgi_cache_valid 200 60s;
    fastcgi_cache_bypass $skip_cache;
    fastcgi_no_cache $skip_cache;
    add_header X-Cache-Status $upstream_cache_status;
  }
}

# Any stack behind a CDN: let the edge keep public HTML for 5 minutes
Cache-Control: public, max-age=0, s-maxage=300

WordPress

Page caching is the biggest TTFB fix on WordPress. Many managed hosts cache at the server level already; otherwise a plugin such as WP Rocket, LiteSpeed Cache (on LiteSpeed servers) or W3 Total Cache does it. For uncached requests, the free Query Monitor plugin lists slow database queries and the plugins that triggered them. A persistent object cache (Redis or Memcached) helps logged-in and WooCommerce pages that cannot be page-cached.

Shopify

Shopify runs the servers and CDN, so you cannot add caching yourself. What you control is how much work your Liquid templates do. Shopify's Theme Inspector for Chrome profiles Liquid render time, and the usual slow spots are big nested loops over collections and products, and sections that render far more items than they show.

Cloudflare

By default Cloudflare caches static files but not HTML. Add a Cache Rule that marks public paths as eligible for cache and bypasses it when session or cart cookies are present, then look for cf-cache-status: HIT on repeat requests.

Audit slow database queries. Most CMSs have a query log plugin. Find queries over 200ms and optimize: add indexes, denormalize where appropriate, or cache results. A single missing index on a hot query is one of the most common reasons an otherwise healthy server posts a poor TTFB under real traffic.

Move heavy server-side work to async or client-side. If a component fetches data not needed for initial render, defer it. If it fetches data that varies by user, render the static shell server-side and hydrate the dynamic parts client-side. The goal is to get the first byte of meaningful HTML out the door quickly, then fill in the personalized pieces after.

Finally, watch for cold starts if you run on serverless. A function that has not been invoked recently has to spin up before it can respond, and that startup cost lands squarely in TTFB for the unlucky first visitor. If your variance is high while the average looks fine, cold starts are the likely culprit, and keeping functions warm or moving the route to a always-on edge runtime is the cure.

Once you have made a change, verify it the way you measured the problem: same URL, same number of samples, ideally from the same location. TTFB improvements are easy to imagine and hard to confirm without a clean before-and-after, because the number is so noisy. Record the median and the spread before the fix, ship the change, then re-test and compare. If the median dropped and the variance tightened, the fix is real. If only one lucky sample looks better, you are seeing noise, not progress. Treating TTFB work as a measured experiment rather than a hopeful tweak is the difference between a server that is genuinely faster and one that merely felt faster the moment you happened to look. Our page speed guide covers what to tackle once the server is fast.

How it works

  1. Enter Your URL

    Paste the URL you want to test. TTFB is measured from our servers, so results reflect your hosting performance globally.

  2. Measure Server Response Time

    We make a live HTTP request and precisely measure the time from request to first byte received.

  3. Get Your TTFB Rating

    See your exact TTFB in milliseconds with a Good/Needs Improvement/Poor rating against Google's thresholds.

Frequently asked

What is TTFB and why does it matter for SEO?

›

Time to First Byte (TTFB) is the time between a browser sending an HTTP request and receiving the first byte of the response. It measures server response speed. High TTFB directly increases LCP (Largest Contentful Paint) and overall page load time, hurting both Core Web Vitals scores and user experience.

What is a good TTFB?

›

Google recommends under 800ms as 'Good'. Under 200ms is excellent. 800ms–1800ms needs improvement. Over 1800ms is poor. TTFB above 2 seconds means users are waiting over 2 seconds before anything starts loading, which pushes bounce rates up sharply.

What causes slow TTFB?

›

Common causes include: slow server or hosting, no CDN (server far from the user), unoptimized database queries, no server-side caching, heavy backend processing, and high server load. The fix is usually a combination of upgrading hosting, adding a CDN, and implementing server-side caching.

Is TTFB a Core Web Vital?

›

No. The three Core Web Vitals are LCP, INP and CLS. TTFB is a supporting metric: nothing on the page can start loading until the first byte arrives, so a slow TTFB pushes back LCP and every other loading milestone. Treat it as the first thing to fix when LCP is poor and the server is slow.

Why is my TTFB different every time I test?

›

TTFB includes DNS lookup, connection and TLS setup, any redirects, and server processing time, all of which vary between requests. The first request after a quiet period may also miss the cache and hit a 'cold' server. The distance between the test location and your server matters too. Test several times and compare typical values, not a single result.

Do redirects count toward TTFB?

›

Yes. When a URL redirects, the browser waits for each redirect response before requesting the next URL, and all of that time is included before the final page's first byte arrives. A chain such as http to https to www can add hundreds of milliseconds. Link directly to the final URL and keep redirects to a single hop.

How do I improve TTFB on WordPress or Shopify?

›

On WordPress, add full-page caching (from your host or a plugin such as WP Rocket, W3 Total Cache or LiteSpeed Cache), use object caching where your host supports it, remove slow plugins, and put the site behind a CDN such as Cloudflare. Shopify hosts and caches stores on its own CDN, so TTFB is mostly out of your hands, but heavy Liquid logic and many apps that inject code into the theme can still slow responses.

Is TTFB the same as server response time?

›

Not quite. Server response time is how long your server takes to build the response, while TTFB also includes DNS lookup, connection setup, TLS and any redirects. A slow server is the most common cause of a high TTFB, so the two usually move together.

Related tools

More Performance tools

See all Performance tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans