Cache Catch
Cache Catch
@CacheCatch

<b>This week in caching: full-page cache vs the logged-in user</b>

<b>This week in caching: full-page cache vs the logged-in user</b>
Three on the hardest FPC problem: personalization.
— <b>ESI for the dynamic island</b> — Edge Side Includes cache the page but punch a hole for the cart/greeting; Varnish and Akamai support it, complexity is real.
— <b>cache the shell, hydrate with JS/AJAX</b> — serve one cached HTML to everyone, fetch the user bit client-side. Simpler than ESI for most.
— <b>bypass cookie discipline</b> — set a <code>logged_in</code> cookie and bypass FPC only for it; the classic bug is caching a logged-in page and serving it to the world.
<b>Bookmark:</b> the ESI vs client-hydration comparison — knowing when ESI's complexity actually pays off saves weeks.
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.
tech

Свежие посты в категории «Tech Infrastructure»

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

start

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

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

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