Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

fetchpriority vs preload for the LCP image

fetchpriority vs preload for the LCP image
Two ways to make the hero load first. Different mechanisms.

fetchpriority="high": one attribute on the img. Re-orders the existing request, zero extra markup. Cuts LCP ~10-20%.

preload: a separate head entry, fires before the img tag is parsed. Earlier, but easy to leave stale after a redesign.

Combined on the same asset: redundant, sometimes double-fetches.
For a hero in the initial HTML, fetchpriority alone is usually enough and cheaper to maintain.
Takeaway: one attribute often buys the same -300ms LCP as a preload.
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.
tech

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

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

start

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

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

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