Table of Contents
TTFB = Time to First Byte = DNS lookup + TCP + TLS + request travel + server processing + first byte returned. Target < 200ms at the 75th percentile. The 3 biggest fixes: (1) move to a host with NVMe + LiteSpeed, (2) enable full-page caching, (3) put Cloudflare in front with HTML caching. Those alone typically cut TTFB from 1.2s to <200ms on a WordPress site.
Key Takeaways
- TTFB = DNS + TCP + TLS + request + server processing + first byte.
- Target: 200ms at 75th percentile. Over 800ms = host problem.
- TTFB is the floor for LCP — you can't render the hero before first byte.
- Biggest wins: NVMe + LiteSpeed, full-page caching, Cloudflare APO.
- Network latency between user and server is the one factor you fix with CDNs.
1. What TTFB Actually Measures
TTFB (Time to First Byte) is the elapsed time between the browser requesting a page and the first byte of the response arriving. It's the sum of six phases:
- DNS lookup — resolve
yourdomain.comto an IP. 10–100ms. - TCP handshake — three-way SYN/SYN-ACK/ACK. 1 round trip.
- TLS handshake — for HTTPS. Adds 1–2 round trips (or 0 with TLS 1.3 resumption).
- HTTP request travel — the GET request to the server. Bounded by network latency.
- Server processing — the slow part on WordPress: run PHP, query MySQL, assemble HTML.
- First byte back to browser — response starts arriving.
Of those, steps 1, 2, 3, 4, and 6 are bounded by physics (speed of light, network distance). Step 5 — server processing — is where 80% of WordPress TTFB lives, and it's the one you can fix. See web.dev's full TTFB reference.
2. Why TTFB Matters for SEO
TTFB isn't a direct ranking factor, but it's the floor for LCP — and LCP is a ranking factor via Core Web Vitals. If your TTFB is 1.2s, your LCP is at best 1.2s + image download time = ~2.0s. That's borderline. If TTFB is 200ms, LCP has a 2.3s budget to download and paint the hero — plenty of room to pass Core Web Vitals.
Google's own Page Experience guidance treats fast server response as one of several "good UX" signals. And on a practical level, crawlers with limited crawl budget will index fewer pages on slow sites — that's the indirect SEO cost.
Tired of slow, overcrowded shared hosting?
LaunchPad Host runs on NVMe SSDs + LiteSpeed with free migration, free SSL, daily backups, and crypto payments. 30-day money-back guarantee.
See Hosting Plans3. How to Measure Your TTFB
Quick check (command line)
curl -o /dev/null -s -w "%{time_starttransfer}\n" https://yourdomain.com/
Prints TTFB in seconds. Run 3 times — first may be slow (cold cache), next two are warm.
Lab tools
- WebPageTest — shows TTFB broken into DNS / connect / SSL / wait phases.
- PageSpeed Insights — reports "Server response time" (= TTFB) as a diagnostic.
- Our PageSpeed tool — same Lighthouse engine.
Field tools
- Google Search Console > Core Web Vitals reports the CrUX field data, which includes TTFB at the 75th percentile.
- The web-vitals JS library reports
navigation.responseStart - navigation.requestStartper visit.
4. 12 Ways to Cut TTFB
- Move to NVMe + LiteSpeed hosting. Single biggest lever. Cuts TTFB from 1,000ms to <200ms on a typical WordPress site.
- Enable full-page caching. LSCache / WP Rocket / W3 Total Cache. Cached HTML bypasses PHP and MySQL entirely — TTFB drops to <100ms.
- Put Cloudflare in front. Cloudflare caches HTML at the edge (especially with APO), serving from a location near the user.
- Enable TLS 1.3 and session resumption. Cuts 1 round trip off handshake.
- Use HTTP/3 (QUIC). 0-RTT resumption on repeat visits — essentially zero handshake cost.
- Upgrade to PHP 8.3. 30–45% CPU reduction over PHP 7.4.
- Add object caching (Redis/Memcached). Slashes MySQL query time for logged-in users and uncached requests.
- Optimize MySQL queries. Use Query Monitor to find N+1 queries, missing indexes, slow meta lookups.
- Kill heavy plugins that run on every request. Related-posts plugins, real-time analytics.
- Put servers near your users. Cheap hosts often place your server wherever is cheapest. Pick a host with your primary traffic region.
- Use a persistent object cache. Redis object cache keeps WordPress options and transients out of MySQL.
- Enable Early Hints (HTTP 103). Lets the browser preload critical assets before the full HTML lands. Cloudflare supports on all plans.
5. When You Can't Improve TTFB Further
TTFB has a physical floor. From the US west coast to a server in Frankfurt, the round-trip time is ~160ms before you add any server processing. That's the speed of light plus network switching overhead — not fixable.
To get TTFB under 200ms globally, you need either:
- Multi-region hosting (most sites don't need this)
- A CDN that caches HTML at the edge (Cloudflare APO does this)
With Cloudflare APO serving cached HTML from the edge, even a single-region origin server can deliver sub-100ms TTFB everywhere. That's the sweet spot for most WordPress sites.
Frequently Asked Questions
Under 200ms at the 75th percentile is the target. Under 500ms is acceptable. Over 800ms is a clear host problem that no amount of front-end optimization can fix.
In order of impact: (1) move to NVMe + LiteSpeed hosting, (2) enable full-page caching, (3) put Cloudflare in front, (4) upgrade PHP to 8.3, (5) add object caching. The first three usually cut TTFB from 1s+ to under 200ms.
Yes, significantly, especially with Cloudflare APO for WordPress. APO caches HTML at the edge so most requests never reach your origin — TTFB drops to 50–100ms globally.
Indirectly. TTFB isn't a named ranking factor, but it's the floor for LCP, and LCP is a Core Web Vitals signal Google uses for ranking. A high TTFB caps your LCP score.
Almost always one of three things: (1) no full-page caching, (2) slow storage (HDD or old SATA SSD), (3) oversold CPU competing with hundreds of neighbour accounts. Quality NVMe + LiteSpeed shared solves all three at the $5–$10/mo range.
Modestly. HTTP/3 eliminates the TCP handshake on repeat visits (0-RTT) and uses QUIC instead of TCP. Most impact on high-latency connections (mobile, long distance).
Yes, with the right configuration. Cloudflare APO does this for WordPress, caching HTML at the edge with automatic purging on content updates. Other options: Fastly, AWS CloudFront with TTL, or Varnish in front of your origin.
Ready for hosting that just works?
NVMe + LiteSpeed hosting with free migration, crypto payments accepted, and a 30-day money-back guarantee.
See Hosting PlansRelated tools, articles & authoritative sources
Hand-picked internal pages and external references from sources Google itself considers authoritative on this topic.
Related free tools
- PageSpeed & Core Web Vitals Google Lighthouse scores: performance, SEO, accessibility, best practices.
- On-Page SEO Analyzer Full on-page audit: title, meta, headings, schema, OG tags.
- Site Validator (robots, sitemap, SSL, headers) Validate robots.txt, sitemap.xml, SSL certificate, and security headers.
Offshore & privacy hosting
- Offshore Hosting EU jurisdiction, privacy-first, from $3.99/mo
- Offshore WordPress Hosting LiteSpeed + NVMe + EU jurisdiction