Disclosure: This post contains affiliate links; we may earn a commission at no extra cost to you.
Time to first byte, abbreviated TTFB, measures how long it takes from beginning a request until the first byte of the response arrives. It matters because a browser cannot process the document or discover its page resources until the response starts.
TTFB is not purely “server speed.” Depending on the measurement, it includes DNS, connection, TLS, network distance, CDN or proxy work, cache lookup, application processing, and response preparation.
A simple example
Imagine ordering food:
- DNS finds the restaurant
- The connection is the trip there
- TLS is the identity and secure-entry check
- Server processing is the kitchen preparing the order
- The first byte is the first item handed over
- Full page load is receiving and arranging the entire meal
TTFB ends when the first response byte arrives. It does not measure how long the browser takes to download images, run JavaScript, or render the page.
The TTFB timeline
A first navigation can involve:
- DNS resolution
- TCP or QUIC connection
- TLS negotiation
- Travel to CDN edge or origin
- Security and routing
- Page-cache lookup
- PHP execution and database queries after a miss
- Response headers and first body byte
Repeat visits may reuse DNS or connections. Cached responses may skip PHP and database work. State the condition when comparing numbers.
What is a good TTFB?
Google provides a rough field guide:
- 0.8 seconds or less: good
- Over 0.8 to 1.8 seconds: needs improvement
- Over 1.8 seconds: poor
These are diagnostic guidelines, not hosting guarantees. Assess field experience at the 75th percentile and segment important regions and templates.
TTFB is not one of the Core Web Vitals. LCP, INP, and CLS are the current Core Web Vitals, but TTFB can delay LCP and other loading milestones.
Why hosting affects TTFB
Hosting determines origin geography, network connectivity, server resources, PHP and database environment, caching, resource limits, and often CDN integration.
On an uncached WordPress request, the server executes PHP, loads plugins and theme logic, queries the database, contacts external services, and builds HTML. Limited resources or slow code increases waiting.
On a cache hit, the platform may serve stored HTML without rebuilding WordPress. That is why warm public pages can have much lower TTFB than search, admin, cart, or checkout.
Why geography matters
Signals cannot travel instantly. A visitor far from the origin adds network round trips for connection and TLS. Routing quality and congestion also matter.
A CDN places cached assets and sometimes HTML closer to visitors. If a page is not cacheable, smart routing may help, but origin processing remains.
Choose an origin near the main audience and test from actual markets. A US lab result cannot represent every Asian or European visitor.
DNS and TLS
Slow DNS resolution adds delay before connecting. Use a reliable authoritative DNS provider and avoid unnecessary delegation complexity.
TLS protects HTTPS traffic. Modern connection reuse and protocols reduce overhead, but first visits still perform security negotiation. Certificate problems can create failure rather than merely delay.
Do not disable HTTPS to improve a benchmark; that is not a valid production configuration.
WordPress causes
Common origin-processing causes include:
- Too many or inefficient plugins
- Slow database queries
- Large autoloaded options
- Remote API calls
- Uncached search
- Background jobs
- PHP version or worker limits
- Object-cache misses
- File and storage pressure
- Security scans or backup work
Use application monitoring, Query Monitor on staging, slow-query logs, and hosting resource graphs to identify causes.
TTFB versus LCP
TTFB is the start of document delivery. LCP measures when the largest visible element renders.
If TTFB is poor, LCP has an early handicap. If TTFB is good but LCP is poor, investigate the LCP image, CSS, fonts, JavaScript, discovery order, and browser main-thread work.
Optimizing one does not guarantee the other.
TTFB versus server response time
Tools sometimes use “server response time” for the waiting phase after connection, while others report end-to-end TTFB. Lighthouse’s diagnostic and curl’s time_starttransfer are not necessarily identical measurements.
Always state the tool, location, cache, connection reuse, redirects, and URL. Avoid comparing unlabeled values.
How to measure
Use command-line timing for repeated samples, WebPageTest for waterfall context, browser developer tools for local diagnosis, and PageSpeed Insights or Search Console for field data.
Collect 30 or more lab timing samples per condition. Report median, p75, p95, failures, and sample count.
Test cold and warm public pages, static files, search, login, and transactional routes separately.
Caching
Page cache can transform repeated public-request TTFB by serving stored HTML. Verify hits through response headers. “Plugin active” does not prove caching works.
Do not cache personalized output publicly. Cart, checkout, account, logged-in sessions, and private content require appropriate bypass rules.
Object cache stores database query results and application objects. It helps different workloads from full-page cache and does not replace it.
CDN
A CDN can serve static files and, depending on configuration, cached HTML at edge locations. Measure edge hits, edge misses, and origin responses separately.
CDN can make global public pages fast while WordPress admin remains origin-bound. That is expected, not contradictory.
Under load
Single-user TTFB may look excellent until concurrent dynamic requests queue. Use authorized staging load tests to measure p95, p99, errors, and resource pressure.
Cached readership and simultaneous checkout are different workloads. State endpoint and cache state.
Improving TTFB
- Remove unnecessary redirects
- Choose a nearby origin
- Use reliable DNS
- Enable correct page cache
- Configure CDN when useful
- Update PHP safely
- Profile plugins and queries
- Reduce external API calls
- Control background jobs
- Upgrade resources after proving capacity is limiting
Change one variable and retest.
Bluehost and TTFB
Bluehost offers WordPress onboarding, caching, CDN capabilities, SSL, and plan-specific resources. Measure the exact plan and site rather than relying on a universal claim.
Our top beginner pick: Bluehost
WordPress.org-recommended — free domain for year one, 1-click install, 24/7 support.
A lightweight cached site may deliver quickly on an entry plan; a dynamic store needs separate testing.
Common misconceptions
Fast TTFB does not guarantee a fast complete page, good Core Web Vitals, uptime, or application correctness. Slow TTFB does not always mean weak hosting; DNS, geography, cache misses, and site code may be responsible.
Do not compare the fastest cached CDN result with an uncached origin or use one run as a permanent ranking.
Final verdict
TTFB is a valuable early-response diagnostic for hosting, networking, caching, and WordPress processing. It matters because every later document milestone waits for the response to begin.
Measure it by component, region, page type, and cache state. Use percentiles and field data, then fix the layer evidence identifies.
Frequently asked questions
Is TTFB a Core Web Vital?
No, though slow TTFB can delay LCP and other milestones.
Does a low TTFB mean hosting is fast?
It shows that response started quickly under that condition, not that every page or workload is fast.
Why does TTFB vary?
Network, connection reuse, cache state, server load, application work, and third parties vary.
Can a CDN reduce TTFB?
Yes for edge hits; origin-dependent requests still include backend processing.