Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

CLS 0.18 -> 0.01 by adding width/height

CLS 0.18 -> 0.01 by adding width/height
A recipe site rendered images without intrinsic dimensions; each one pushed content down as it loaded.
— 6 inline images, each a ~0.03 shift as they reserved space on load.
— Added explicit width and height so the browser reserved the aspect-ratio box before download.
p75 CLS: 0.18 | 0.01
Failing CLS URLs in CrUX: 71% | 4%
Takeaway: 0.17 of layout shift was six images missing two HTML attributes each.
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.
tech

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

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

start

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

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

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