all posts
Performance
·
Nov 28, 2025
·
8 min read
Optimizing Core Web Vitals for 100/100 Lighthouse Scores
Yashvardhan Sharma
· Founder @ Pyrants & Gati Music
Share
Why Core Web Vitals Matter
Core Web Vitals measure real-world user experience across three metrics:
LCP (Largest Contentful Paint)
: loading performance, target under 2.5s.
INP (Interaction to Next Paint)
: page responsiveness, target under 200ms.
CLS (Cumulative Layout Shift)
: visual stability, target under 0.1.
Optimization Techniques Implemented
Pre-allocating Layout Dimensions
: explicit width and height on every dynamic image and skeleton loader, so nothing jumps when it loads.
Font Preloading
: variable fonts preloaded with
font-display: swap
.
CSS Tree-Shaking
: Tailwind's JIT compiler keeps the shipped CSS under 15KB.
#Performance
#React 19
#Web Vitals
#Tailwind CSS
← all posts
Contact Author →