Skip to content
Diamond Sierra

PB-2808: Visitors waited before the site started working

Paul Bunyan code PB-2808 (Warning): Visitors waited before the site started working. What it means and what to do.

Updated · By Diamond Sierra

On this page

What it means

The visitor's browser waited a second or more for the first byte, beyond the time PHP spent building the page. That time goes on the network, setting up the connection, and waiting for a free PHP worker on the server.

What to do

If it happens on most pages, the host is the bottleneck: too few PHP workers for the traffic, or a server far from your visitors. Ask the host how many PHP workers the plan has, add a page cache so fewer visits need PHP at all, or use a CDN. If it is rare, it is usually one visitor's slow connection.

Common causes

  • Too few PHP workers for the traffic, so requests wait in a queue before PHP starts.
  • A server far from your visitors, adding network time to every request.
  • No page cache, so every visit needs PHP.
  • A slow connection on the visitor's side (when it is rare).

How to find and fix it

  1. If it happens on most pages, ask your host how many PHP workers your plan has and whether requests are queuing at busy times.
  2. Add a page cache so fewer visits need PHP at all.
  3. Use a CDN if visitors are far from the server.
  4. Check Overview → Requests running at the same time: many at once with wall time far above processor time means the server is short of capacity.

Details

CodeSeverityGroup
PB-2808WarningBrowser