PerfDelta
Feedback

Reduce Initial Server Response Time

Everything else on this list is about what happens after the browser has the HTML document. This audit is about how long it takes to get that document in the first place: Time to First Byte (TTFB), the gap between the request being sent and the first byte of the response arriving.

What it means

Lighthouse flags this audit when the main document's TTFB is roughly 600ms or higher. That number covers DNS lookup, connection setup, server-side processing (database queries, template rendering, any backend logic), and the network round trip. All of it happens before the browser has a single byte to parse.

Why it matters

TTFB is the floor under every other metric on the page: nothing else can start, not CSS, not JavaScript, not the LCP image, until the HTML document itself starts arriving. A slow TTFB doesn't just cost its own time; it pushes back FCP and LCP by the same amount, and it compounds with every other issue on this list rather than replacing them. TTFB is also, on its own, one of the underlying field metrics that CrUX collects, so it directly affects real-user data too.

How to fix it

; php.ini
opcache.enable=1
opcache.validate_timestamps=0 ; on production, with a deploy step that clears the cache

How to verify

Re-run the test and check the TTFB figure directly in the report's timing breakdown. For field confirmation, TTFB is also tracked by Chrome UX Report, so a real improvement should show up there over the following weeks, not just in the lab test.

Test your site

Run a free scan to see whether this audit applies to your pages, on mobile and desktop, with lab and field data side by side.

Run a free test

Related audits