TTFB — Server Response

Slow TTFB —
Shared Hosting Bottleneck

Your server is the problem. No front-end optimization will fix a slow origin.

Where to find it: PageSpeed Insights > Diagnostics > Reduce Initial Server Response Time (TTFB) > Field Data

What It Is

TTFB — Time to First Byte — measures how long the browser waits from requesting a page to receiving the server's first response byte. It's the starting line for everything else: no CSS, JavaScript, or images can load until TTFB completes. Google's target is under 800ms. On shared hosting, TTFB of 1.5–4 seconds is common because dozens or hundreds of websites share the same server resources. When another site on the same server has a traffic spike, your client's TTFB spikes too — with no warning and no control.

Why It Matters

TTFB is the one Core Web Vitals-related metric that cannot be fixed through front-end optimization. You can compress images, defer JavaScript, and inline critical CSS — but all of that work happens after TTFB completes. A page with a 3-second TTFB will have an LCP of at least 3 seconds no matter how well everything else is optimized. Fixing TTFB is an infrastructure decision, and agencies that can present this clearly — with data showing the hosting bottleneck — have a clear path to a hosting migration project.

Root Diagnostics

Common Causes

Understanding why this failure occurs is the first step to fixing it permanently.

01

Shared Hosting Resource Contention

Multiple websites on the same server competing for CPU, RAM, and database connections. When any site on the shared server gets traffic, all other sites on that server slow down.

02

No Server-Side Caching

Every page request triggers a full database query and PHP execution cycle. Without page caching, even low traffic generates significant server load and slow response times.

03

No CDN in Front of Origin

The origin server handles all requests directly. Without a CDN, every visitor — regardless of geography — connects to the same server, and there's no edge caching to serve cached responses quickly.

04

Slow Database Queries

Unoptimized database queries — particularly on WordPress sites with large post counts, many plugins, or unindexed tables — add seconds to server response time on every page load.

Interactive Standard Operating Procedure

The Fix Blueprint (Interactive SOP)

Check off each step to monitor your implementation progress live!

Implementation Progress: 0% Completed (0/7)

Tools

  • WebPageTest
    Free (webpagetest.org) | The best tool for measuring TTFB from multiple global locations with waterfall charts — essential for the hosting case
  • Pingdom Speed Test
    Free (tools.pingdom.com) | Simple TTFB measurement from multiple locations — good for before/after client reports
  • Cloudflare
    Free tier available | Adds CDN caching, edge delivery, and performance optimization in front of any origin server — deploy this first before migration

Time to Fix

1 hour
To measure TTFB and diagnose origin vs CDN issue
Hours to Days
Caching (hours) | CDN (hours) | Migration (days)

Pro Tip

Implement server-side caching first — it's free and often cuts TTFB by 80%.

Before recommending a hosting migration (which requires client budget approval and planning time), implement server-side page caching. On WordPress, WP Rocket's page cache can take a 3-second TTFB to under 400ms on the same shared hosting — for free. Present the cached TTFB to the client as the floor, then show what managed hosting would achieve on top of that. This sequence makes the migration ROI obvious.