Public BetaVitalSentinel is now live! Read the announcement
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

Monitor your website performance

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