Performance Metrics

What is Time to First Byte (TTFB)?

A performance metric that measures the time between the request for a resource and when the first byte of a response begins to arrive.

Time to First Byte (TTFB) measures how long it takes for the server to start sending data back to the browser after a request is made. It includes DNS lookup, TCP connection, SSL negotiation, and server processing time.

TTFB thresholds

  • Good: 800 milliseconds or less
  • Needs Improvement: Between 800 and 1800 milliseconds
  • Poor: More than 1800 milliseconds

What affects TTFB

  • Server processing time
  • Network latency
  • DNS resolution time
  • SSL/TLS negotiation
  • CDN configuration

Improving TTFB

  1. Use a CDN to serve content closer to users
  2. Optimize server-side code
  3. Use efficient database queries
  4. Implement caching strategies
  5. Upgrade hosting infrastructure

How VitalSentinel tracks TTFB

VitalSentinel's RUM monitoring measures TTFB from real visitor sessions across geographies and devices, exposing slow origins, bad CDN cache hit rates, and database regressions that synthetic tests miss. When server response times degrade, you find out in hours, not weeks - before slow TTFB cascades into poor LCP and lost rankings.

Monitor your website performance

VitalSentinel tracks Core Web Vitals and performance metrics to help you stay ahead of issues.