All metrics
Important
TTFB
Time to First Byte
Time from the request being sent to receiving the first byte of the response.
Good: ≤ 800ms
Needs improvement: ≤ 1800ms
Poor: > 1800ms
TTFB visualised
Client Server Request First Byte TTFB: 2100ms

What is TTFB?

Time to First Byte (TTFB) measures the time from the browser sending an HTTP request to receiving the first byte of the server response. It includes DNS lookup, TCP connection, TLS handshake, and server processing time.

What problem does it solve?

TTFB is a leading indicator for all other metrics. A slow TTFB delays everything — LCP, FCP, every subsequent resource. Fixing TTFB is high-leverage because it shifts all other timings earlier.

What is a good TTFB score?

Score thresholds
GOOD
NI
POOR
0 800ms 1800ms 5000ms
0 ms
GOOD

How to improve TTFB

The key is to tackle issues related to each contributing phase.

01

DNS resolution

Every new hostname requires a DNS lookup to resolve the IP address. A slow DNS provider or lack of DNS caching adds latency before any connection is made.

Use a fast DNS provider. Add dns-prefetch for critical third-party origins: <link rel="dns-prefetch" href="//fonts.googleapis.com">. Most CDNs handle DNS close to users automatically.

02

Connection & TLS handshake

A new TCP connection requires a round-trip handshake. TLS adds 1–2 more round trips. For distant servers, each round trip adds significant latency.

Enable HTTP/2 or HTTP/3 (QUIC reduces handshake overhead to near-zero). Use a CDN to terminate TLS close to the user. Enable keep-alive to reuse existing connections.

03

Server processing

The time the server spends generating the response — PHP execution, database queries, template rendering. For WordPress, this includes every active plugin being bootstrapped.

Full-page caching (WP Rocket, W3 Total Cache) bypasses PHP entirely for cached pages. Object caching (Redis) stores expensive database results in memory. Deactivate unused plugins.

Need help fixing your TTFB?

Root cause analysis, not plugin guessing. Baseline from field data or lab — wherever you are.