Deferring 3 scripts improved LCP by 0.9s
When a script sits in the <head> without instructions, the browser stops building the page to download and run it. Think of it like a delivery driver blocking your driveway while they sort the whole truck. Nothing else moves.
A site had three tracking scripts in the head. Each one paused page-building, delaying when the main content appeared, pushing LCP to 3.5s.
The fix was one word per script:
— Added the defer attribute to each script tag.
— defer tells the browser: keep building the page, run these after.
Result: content appeared 0.9s sooner, LCP dropped to 2.6s, and the scripts still ran fine.
Try this: look at scripts in your <head>. If they don't need to run immediately, add defer. It's one of the safest wins out there.
Vitals 101
@CoreVitals101
Deferring 3 scripts improved LCP by 0.9s
Этот пост опубликован в Telegram-канале Vitals 101. Подписаться можно по ссылке: @CoreVitals101.