Homepage weight
1.35 MB
from 3.7 MB
Database
26 MB
from 183
Origin response, uncached → cached
18 ms
from 420
01 · The problem

A cache that had never worked.

One unset flag meant every page except the front page was re-rendered on every request while its cache file sat unused on disk; spot-checking the homepage made the cache look healthy for months. Two plugins wrote competing Cache-Control headers, so the CDN stored nothing. And the database was six times larger than its content.

Where the database rows were693,000 metadata rows · before
Copies written onto 2,520 post revisions
~645,000
Everything else
~48,000
02 · What I changed

Infrastructure, database, front end, then security.

Mid-project the site was compromised through an unrelated route; both environments were rebuilt from clean sources within a day and the work continued on the rebuilt platform. The bars show roughly how much of the uncached homepage render time was left after each step.

1Page cache fixed and moved to serve pages itself; one owner for every cache headeredge stores responses at last2Edge tuned per path: short-lived HTML with stale-while-revalidate, hashed assets a year, admin neverorigin 420 ms → 18 ms cached3Revisions and 28 orphan tables purged: 693,000 → 47,500 metadata rowsdatabase 183 → 26 MB4One image-plugin lookup that re-ran on every call cached: 1,538 → 749 object-cache trips per loadrender 420 → 175 ms5Rebuilt after the intrusion: origin locked to the CDN, login moved, firewall and two-factor, new region closer to the clientsworker memory −36%
03 · The result

Served from the edge in 56 milliseconds.

From Madrid or from the US, the homepage comes from the nearest edge in about 50 ms with no origin round trip, paints in 136 ms and is fully loaded in 450 ms. The database is 26 MB instead of 183, the deploy pipeline works again, and a monitor reports cache health on a schedule.

Before3.7 MBAfter1.35 MBHomepage weight · warm edge cache · median of three runs

The service behind the result.

Fixed scope, fixed price, and a measurable target before you pay.

All services
Your site next

How many seconds is your site losing?

The free scan measures your pages on a real phone in a few minutes. If it’s slow, you get a fixed price to make it fast, with a target agreed upfront.

All cases