# The server is slow to respond

Rule `PERF_TTFB_001` · Performance · medium severity · high effort
By Leakly · Published 2026-09-25 · Updated 2026-09-27 · https://leakly.ai/library/PERF_TTFB_001

## The problem

Time to first byte is high enough to delay everything that follows it.

Server latency is a floor under every other performance improvement. Nothing on the page can render before it is paid.

## How Leakly detects it

- **deterministic**: A structural fact counted in the rendered page, or a measurement against a threshold.

## What counts as proof

- A measured number, with its unit and the threshold it crosses.

Without this evidence the candidate is dropped before it reaches a report — never softened into advice.

## How to fix it

Shorten the server's response time.

1. Cache the page or its slowest query at the edge.
2. Profile the request path: the delay is usually one call, not the whole stack.

---

Source: https://leakly.ai/library/PERF_TTFB_001
