In October, a dive shop on Koh Phi Phi moved to a new website. Same pages, same photos, better built. It also did something the old site never had: every image got proper alt text.
Real visitors’ pages got slower. Largest Contentful Paint at the 75th percentile went from 1.3 seconds on the old site to 3.2 seconds on the new one.
The people it hurt most were in Thailand. The customers nearest the shop, the ones most likely to be standing on the island deciding where to dive tomorrow, got the slowest site of anyone.
This is how I found out why. It took three rounds, two red herrings and one chart I nearly misread. The culprit was the alt text.
Round one: the obvious suspects
The site runs on Cloudflare Workers. Every photo is stored once in Cloudflare Images, and the site resizes it for each screen size when someone asks for it.
On 27 October I timed every page and every hero image from London, five times each. Nothing was cached. Every request for a hero image resized the original again, and on the dive shop’s site that took 1.3 to 1.5 seconds. On its sister site, a second dive shop on the same codebase, pages took 1.55 seconds before the first byte arrived.
Part of that page time was alt text. For each image without alt written into the page, the site asked Cloudflare for the image’s details and read the alt text from its metadata. One small request per image, on every page view.
So the first fix cached both. Resized images were kept at the edge, and alt text was remembered once fetched. Hero images dropped to between 0.12 and 0.2 seconds, and pages to about half a second. A day later the alt text was shared through the edge cache as well, and pages from London came in at 0.19 to 0.25 seconds.
From London, it looked done.
Round two: faster site, worse score
Then PageSpeed Insights said the opposite. Mobile LCP in Google’s lab test went up, not down: 5.9 to 9.4 seconds on the Koh Phi Phi site, and 9.2 to 13.1 seconds on its sister. The server was quicker on every measure I had.
The cause was the spam check on the contact form. The form sits in the footer of every page, so Cloudflare Turnstile’s 631KB challenge loaded on every page too. While the HTML was slow, the page painted before the challenge arrived. Once the HTML was fast, the challenge got there first and held the first paint for about 1.5 seconds. Lighthouse’s slow-phone simulation then charged everything before that paint to LCP.
I ran it locally to be sure. With Turnstile blocked, the Koh Phi Phi site passed in 3 runs out of 3. With it loaded, it was a coin toss, and PageSpeed’s machines lost the toss every time.
Loading Turnstile only when someone reaches the form took that site’s lab LCP from 9.4 to 4.5 seconds. The sister site also had a 630KB heading font. Cutting it down to Latin characters, 287KB, took its lab LCP from 8.2 to 6.0 seconds.
The textbook next move was holding Google Tag Manager back until after the first paint. Real visitors’ timings said they waited 53 to 65 milliseconds before the hero image was even requested. There was nothing there to win, so it’s parked.
Round three: ask the server
Real-user LCP improved after all that, but the Koh Phi Phi site was still sitting at 2.5 seconds, right on Google’s limit. And the server response part of it was still 1.5 seconds at the 75th percentile, when London said 0.25.
London was the problem. It’s a busy data centre, so whatever the site cached there stayed warm. Cloudflare caches per data centre, and a visitor in Thailand is served from Bangkok.
So for a week from 6 November, both sites logged how long each page took to build, and where. One line per request, with the data centre, whether the cache hit, and how long each step took.
The page build before any HTML is sent, 75th percentile:
Data centre
Time
Amsterdam
85ms
Singapore
319ms
London
427ms
Bangkok
1,308ms
Most of Bangkok’s time was alt text. About one lookup in five missed the cache and went to Cloudflare Images, and those took 724ms at the 75th percentile. The cache held alt text for a day per data centre. A quiet one like Bangkok doesn’t see each page often enough to keep it, so its visitors kept paying for the lookup. On the sister site, Buenos Aires took 14 seconds on a small sample.
The images were the same story. Across the week, 2,377 image requests missed the cache and 2,381 hit. In Bangkok a miss took 1.6 seconds.
The chart I nearly misread: my first query asked for the 75th percentile of the image fetch time alongside the count. Cache hits don’t fetch anything, so they have no fetch time, and the query quietly dropped them. Every image looked like a miss. Count on its own told the real story. Check what your query leaves out before you believe what it puts in.
The fix: stop asking
Alt text doesn’t change between page views. It changes when someone edits it. So there was no reason to look it up while a visitor waited.
Cloudflare stays the place alt text is written. A sync script copies it into the site’s code, and the site ships with it. No lookup, no cache to go cold. A test fails if any image has no alt text, naming each one. An empty value counts as a deliberate choice for a decorative image. A missing one counts as a mistake.
The test earned its keep straight away. It found 8 images on the Koh Phi Phi site with no alt text at all: the ones shown when a page is shared on social media. Nobody had noticed, because nothing displayed them on the page.
It went live on both sites on 16 November. From London, the Koh Phi Phi site’s pages went from 251 to 191 milliseconds. London was never the problem, though. Bangkok is the test.
Did it work?
Yes. Real visitors’ Largest Contentful Paint at the 75th percentile, the week before against the week after:
Koh Phi Phi before
Koh Phi Phi after
Sister before
Sister after
LCP, 75th percentile
2,528ms
1,600ms
2,432ms
1,432ms
Waiting for the server
1,482ms
433ms
1,331ms
536ms
Visits with a good LCP
74%
90%
76%
89%
Visits with a good INP
96%
99%
97%
96%
Visits with a good CLS
98%
99%
100%
100%
Before is 30 October to 6 November, after is 16 to 23 November. The biggest move is the wait for the server, down by about two thirds on both sites. That was the part the fix was aimed at. Nearly nine visits in ten now get a good LCP.
Both sites back under the 2.5 second line
Real visitors’ LCP, 75th percentile, rolling seven days
Until 17 November Cloudflare sampled one page load in ten, so the early line rests on few visits.
Cloudflare real-user monitoring, both sites, 1 October to 24 November 2026
The line shows each change landing. The Koh Phi Phi site got slower when its new site went live on 24 October, and the caching fixes only took back part of that. The alt text release took back the rest. On its sister, the caching did most of the work, then the line crept back up until 16 November. Caching, the Turnstile fix and the font cut went live within about 28 hours of each other, on 27 and 28 October, so real-user data can’t tell those three apart.
The logs show why. On the Koh Phi Phi site, Bangkok’s page build went from 1,308ms across 144 requests to zero across 89, from 18 to 23 November. Not small: zero. Bangkok was zero on the sister site too, and so was Buenos Aires. A Worker’s clock only moves while it waits on the network, so zero means building the page no longer waits on anything.
Both sites now pass all three Core Web Vitals, with room to spare. Images are now the biggest part of what’s left, and the cache misses are still there. They can wait.
What I took from it
Test from where the customers are. Every check I ran from London said the site was fixed. The customers who matter most to a dive shop on Koh Phi Phi are on Koh Phi Phi. A busy data centre flatters you.
The lab finds causes. Real users give the verdict. Google’s lab score got worse as the site got faster, and it was right to: it found the Turnstile problem. But I’d have chased the wrong thing if I’d taken the score as the result.
Don’t fetch at request time what only changes when someone edits it. Caching a lookup is a fix for the busy places. Not doing the lookup is a fix everywhere.
Accessibility didn’t cost the speed. The way it was built did. The old site had no alt text at all, so it never had to look any up. Taking the alt text out was never the answer.
Google’s field data was there. I was looking in the wrong place, and it’s slow. PageSpeed said “Not applicable” for both sites, and I took that to mean Google had no data. It has plenty for the www addresses; the bare domains have none. Even then it’s 28 days of Chrome users, so the figure to 23 November is still mostly the slow weeks. Cloudflare showed the change within days. Google will take a month to catch up.
Decide when you’ll stop. The rule was simple: if both sites are inside Google’s limits, the speed work stops. They are, so it has. The image cache misses are still there, and they’d be next. But only if the numbers say they’re needed.
Figures and sources
All times are the 75th percentile unless marked as a median.
Measure
Before
After
Source
Koh Phi Phi site, real-user LCP
1,276ms (old site), 3,216ms (new site, small sample)
2,528ms, 30 Oct to 6 Nov; 1,600ms, 16 to 23 Nov
Cloudflare real-user monitoring
Sister site, real-user LCP
4,029ms, 20 to 27 Oct
2,432ms, 30 Oct to 6 Nov; 1,432ms, 16 to 23 Nov
Cloudflare real-user monitoring
Hero image from London, median
1.03 to 1.50s
0.12 to 0.20s
Probe, 5 requests per URL, 27 Oct
Pages from London, median
0.94 to 1.55s
0.19 to 0.25s
Probe, 27 and 28 Oct
Koh Phi Phi site, mobile lab LCP
9.4s
4.5s
PageSpeed, median of 3, Turnstile loaded on demand
Not changed: 2,241 misses, 1,835 hits, 17 to 23 Nov (sampled)
Workers logs, 6 to 13 Nov
Koh Phi Phi site, Google field data LCP
1,389ms, 28 days to 24 Oct (old site)
2,155ms, 28 days to 23 Nov (20 of 28 days before the fix)
CrUX, www origin, all devices, Chrome only
Sister site, Google field data LCP
3,982ms, 28 days to 24 Oct
1,994ms, 28 days to 23 Nov (20 of 28 days before the fix)
CrUX, www origin, all devices, Chrome only
ACC
Andy Clear CMgr FCMI
SEO and AI search consultant. Judge, UK and Global Search Awards. More about me
Analytics cookies
If you agree, Google Analytics 4 records which pages you visit, roughly where you are, your device and how you arrived. It doesn't tell me who you are. If you say no, it doesn't load. Privacy notice