Edge of Glory
Edge of Glory
@EdgeOfGloryCDN

The blog cached six times over for no reason

A travel blog had a respectable 70% cache-hit ratio but a strangely huge edge storage footprint. The culprit was a Vary: User-Agent header their CMS emitted by default. Every browser-version string created a separate cached copy — the same article stored hundreds of times across phones, tablets, and desktop variants.

The content didn't actually change by user-agent; it was responsive CSS doing all the work. We dropped Vary: User-Agent and varied only on Accept-Encoding, which genuinely matters.

The number of edge objects collapsed by roughly 200x. Cache-hit ratio jumped from 70% to 95% because new visitors now landed on an already-warm copy instead of a user-agent-specific cold one. Edge storage and origin fetches both dropped sharply.

The number that mattered: ~200 cached copies per article down to 1.
This post was published in the Telegram channel Edge of Glory (@EdgeOfGloryCDN). All its posts are on the channel page.
Open on Telegram

Latest posts in “Tools and infrastructure”

All channels in this category →

реклама в сети

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.