LCP 3.0s -> 1.7s by re-encoding one image
A real-estate listing page LCP was a 1.4MB hero JPEG served at 2400px into a 720px slot.
— Resized to 2x display width (1440px), encoded AVIF: 1,400KB -> 96KB.
— Added srcset so mobile pulled the 740px variant (38KB).
LCP element download: 1,180ms | 140ms
p75 LCP mobile: 3.0s | 1.7s
Data transfer per pageview: -1.3MB
Takeaway: 93% fewer bytes on the LCP image dropped p75 LCP by 1,300ms.
Millisecond Mafia
@MillisecondMafia
LCP 3.0s -> 1.7s by re-encoding one image
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.