
Time to First Byte (TTFB) is the time between a browser (or monitoring tool) sending an HTTP request and receiving the first byte of the response from the server. It's one of the most fundamental web performance metrics — and it's directly connected to uptime monitoring.
TTFB captures the full round-trip of a request:
The sum of these is TTFB. A low TTFB means the server responded quickly. A high TTFB means something in that chain is slow.
General benchmarks:
| TTFB | Rating |
|---|---|
| < 200ms | Excellent |
| 200–500ms | Good |
| 500ms–1s | Needs improvement |
| 1–2s | Poor |
| > 2s | Very poor |
Google's Core Web Vitals guidelines recommend targeting TTFB under 800ms. For the TTFB check specifically used in Largest Contentful Paint (LCP) calculations, under 200ms is ideal.
TTFB is just the first byte. Total page load time includes:
TTFB is the starting gun — if it's slow, everything that follows is also delayed. Improving TTFB has a multiplicative effect on overall page load time.
The most common cause of high TTFB is slow server-side processing — often due to:
Every uptime monitoring check measures response time alongside availability status. When your TTFB spikes, it shows up in your monitoring data as:
This means TTFB is directly related to uptime monitoring results. A server that's overwhelmed and taking 25 seconds to respond will show as "down" to your monitoring tool — even though technically it's responding.
Good monitoring tools let you set response time thresholds that trigger warnings:
These catch performance degradation before it becomes outright failure — giving you time to investigate and fix the issue before TTFB climbs high enough to cause actual timeouts.
The single highest-impact TTFB improvement for most sites is aggressive caching:
Slow queries are a common TTFB killer. Tools like EXPLAIN ANALYZE in PostgreSQL and MySQL's slow query log help identify problematic queries. Adding indexes to frequently-filtered columns can reduce query time from seconds to milliseconds.
HTTP/2 multiplexing reduces connection overhead. TLS 1.3 reduces handshake round trips from 2 to 1. Both contribute to lower TTFB, especially for users on higher-latency connections.
If your users are in Europe and your server is in the US, you're adding ~100ms of baseline latency to every TTFB. A CDN with edge caching, or a server in the same region as your primary users, makes a significant difference.
Track TTFB trends in your monitoring dashboard. Gradual increases over weeks often indicate:
Catching these trends early prevents performance degradation from reaching the point of actual downtime.
Domain Monitor records response times for every uptime check, giving you a historical view of your TTFB trends alongside availability data.
Track response times alongside uptime at Domain Monitor.
A subdomain takeover lets an attacker claim your subdomain by exploiting dangling DNS records. Learn how it happens, real-world examples, and how DNS monitoring detects it.
Read moreMean time to detect (MTTD) measures how long it takes to discover an incident after it starts. Reducing MTTD is one of the highest-leverage improvements in reliability engineering.
Read moreBlack box monitoring tests your systems from the outside, the way users experience them — without access to internal code or infrastructure. Learn how it works and when to use it.
Read moreLooking to monitor your website and domains? Join our platform and start today.