Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

Pick the right image format in 3 checks

Pick the right image format in 3 checks
AVIF vs WebP vs JPEG isn't religion; it's a per-image decision by content + savings.

— Step 1: Photographic + large: AVIF (~50% smaller than JPEG, ~20% under WebP) — worth the slower encode.
— Step 2: Already small / simple graphics: WebP; AVIF overhead can lose at tiny sizes.
— Step 3: Serve with + AVIF/WebP/JPEG sources so old browsers still work.
— Step 4: Set width/height (CLS) and sizes for srcset (right candidate).
— Step 5: Verify the byte saving in the Network tab, per breakpoint.

Example: a 240KB JPEG hero -> 96KB AVIF, LCP load 520ms -> 210ms.

Takeaway: target hero images under 100KB at the displayed resolution.
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.
tech

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

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

start

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

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

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