STEP 6 OF 10 · SERVER WORK
The server builds the page, and waits on a query
The app code parses the request, checks the session and renders a template in about 30 ms. To fill in the product details it runs a SQL query.
That query filters on a column with no index, so the database scans far more rows than it returns. It takes about 400 ms, longer than any single network leg.
This is the delay no CDN or connection trick can remove for a personalised page. It needs an index, a cheaper query, or a cached result.
Why it matters. Server time is often hiding inside "the network is slow". One slow query can cost more than a trip across the ocean.