Edge of Glory
Edge of Glory
@EdgeOfGloryCDN

<b>The Magento store whose every asset carried a session</b>

<b>The Magento store whose every asset carried a session</b>

A Magento store set a session cookie on the root path. Because of that <code>Path=/</code>, the cookie rode along on every CSS, JS, and image request — and the CDN, seeing cookies on those responses, refused to cache them, treating them as personalized. A store with thousands of static files was running them all through origin.

We configured the edge to strip cookies from requests matching static asset paths before caching, and to drop <code>Set-Cookie</code> on those responses. Suddenly the static files were cacheable again.

Static-asset cache-hit ratio went from 12% to 98%. Origin requests dropped from 4.1M to 240k a day. The product page's static-asset load time in Madrid fell from 1.9s to 0.4s now that images came off the local edge.

The number that mattered: static cache-hit 12% to 98%.
Этот пост опубликован в Telegram-канале Edge of Glory. Подписаться можно по ссылке: @EdgeOfGloryCDN.
growth

Свежие посты в категории «Growth & Funnel»

Все каналы категории →

start

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

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

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