Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

Preload the LCP image correctly

Preload the LCP image correctly
A late-discovered hero image is the most common LCP killer. Preloading helps only if you do all 4 parts.

— Step 1: Confirm the image is the LCP element (DevTools, not assumption).
— Step 2: Add in .
— Step 3: For responsive heroes, add imagesrcset + imagesizes to the preload so the right candidate loads.
— Step 4: Remove loading=lazy from the LCP image — lazy on the hero adds 200-600ms.
— Step 5: Verify load delay in the LCP breakdown dropped.

Before | After: LCP load delay 740ms -> 90ms, LCP 3.1s -> 2.0s.

Takeaway: the LCP image's discovery should cost under 100ms of load delay.
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.
tech

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

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

start

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

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

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