You can optimise images and defer scripts all day, but nothing renders until the first byte arrives. If the server takes 1.2 seconds to respond, every visitor starts 1.2 seconds behind.

What TTFB includes

Time to First Byte is the gap between the browser asking for a page and the first byte of the response coming back. Inside that window: the DNS lookup, the connection and TLS handshake, the request travelling to the server, the server building the page, and the response starting its trip back.

Your host influences most of it: how fast it builds the page, whether the page is cached, how well its network is connected, and how far it is from the visitor.

Where TTFB comes from on an uncached vs cached request
Uncached: server builds the page~700 ms
Cached at the server~140 ms
Cached at a CDN edge near the visitor~55 ms

Directional. Caching and proximity are the two big levers.

How it feeds Core Web Vitals

One of the Core Web Vitals, Largest Contentful Paint, measures the time until the main content appears. It cannot even begin until the HTML arrives, so a high TTFB is added straight onto it. Google's guidance puts a good TTFB under 800 ms; to give LCP room to pass, aim well below that, somewhere around 200 to 400 ms.

Interaction to Next Paint, the responsiveness metric, is less about TTFB, but a server that is slow under load often also blocks on slow database queries, which shows up as janky interactions.

Bringing it down

  1. Cache the page. A server-side page cache turns a 700 ms build into a 100 to 150 ms lookup. Biggest single win.
  2. Add a CDN with full-page caching. Now the response comes from a location near the visitor, often under 60 ms.
  3. Host near your audience. If most visitors are in one country, a server there removes hundreds of milliseconds of travel for the uncached requests.
  4. Fix slow queries and heavy plugins. For logged-in pages that cannot be cached, the build time is the number, so profile it.
  5. Use current PHP and enough resources. PHP 8.2 or newer is meaningfully faster, and a starved plan builds pages slowly.

Measure the right thing. A lab tool tests from one location. Real users are everywhere. Check field data in Search Console's Core Web Vitals report and in the Chrome UX data inside PageSpeed Insights, and look at your slowest region, not just the average.

What to ask a host

  • Server-side page caching, named (LSCache, NGINX cache, Varnish)
  • A free CDN, or clean support for putting one in front
  • Data centre locations that match where your visitors are
  • Current PHP, with OPcache on
  • Redis or Memcached for the pages that cannot be page-cached
< 800 msGoogle's bar for a good TTFB
200 to 400 mswhat to aim for to give LCP room
Added onhow a slow TTFB affects every metric that renders after it

MD Saiful Islam · Founder & Head of SEO

When a client's Core Web Vitals will not pass, the first thing we check is TTFB in the field data. If it is over a second, no amount of front-end work will fix the score. Cache the pages and, if needed, move the host closer to the audience, then re-measure.

Illustrative example

Clean front end, stuck score

Images compressed, scripts deferred, and LCP still would not pass. The field data told the story: TTFB near 1.1 seconds, because the shared host rebuilt every page from scratch on every request.

Switching on the page cache and a CDN took field TTFB to about 250 ms. LCP moved into the green with no change to the theme at all.

Frequently asked questions

What is a good TTFB?

Google considers under 800 ms good. To give Largest Contentful Paint room to pass, aim lower, around 200 to 400 ms for cached pages. Much above a second and it will hold back your Core Web Vitals no matter what you do on the front end.

Does hosting affect SEO rankings?

Indirectly but really. Hosting sets your TTFB, which feeds into Largest Contentful Paint, one of the Core Web Vitals Google uses as a ranking signal. A slow or unreliable host also means more downtime and failed crawls. Fast, stable hosting removes a handicap rather than being a boost by itself.

How do I lower my TTFB?

Turn on a server-side page cache, add a CDN with full-page caching, host near your main audience, run current PHP with OPcache, and fix slow database queries on pages that cannot be cached. Caching is almost always the biggest single improvement.

Is TTFB the same as page load time?

No. TTFB is only how long the server takes to start responding. Full load time also includes downloading and rendering everything on the page. But a high TTFB delays all of that, so it is the right place to start.

Now compare the hosts

You know what to look for. See which providers deliver it, ranked by budget, use case and country, with the renewal price shown.