The mistake: a page with too many elements
Sometimes a page is slow to respond not because of one big script, but because it has thousands of HTML elements. Every interaction makes the browser re-check that huge structure, which drags down INP — Interaction to Next Paint, the gap between a click and the screen reacting.
Think of it like searching a closet with 5,000 hangers every time you want one shirt.
How to fix it:
— In PageSpeed Insights, check Avoid an excessive DOM size — it counts your elements.
— Aim well under 1,500 elements where you can.
— For long lists or feeds, load items in batches instead of all at once.
— Remove wrapper <div>s that exist only out of habit.
Try this: if your DOM count is over 3,000, paginate your longest list or feed. Fewer elements, snappier clicks.
Vitals 101
@CoreVitals101
The mistake: a page with too many elements
Этот пост опубликован в Telegram-канале Vitals 101. Подписаться можно по ссылке: @CoreVitals101.