performance 2025-05-08 · 9 min read

Optimalkan Gambar untuk Core Web Vitals

Bagaimana optimasi gambar secara langsung memengaruhi LCP, CLS, dan INP. Teknik praktis untuk melewati ambang batas kinerja Google.

How Image Optimization Impacts Core Web Vitals

Google’s Core Web Vitals are three metrics that directly affect your search rankings. And images? They impact all three.

LCP (Largest Contentful Paint)

Target: < 2.5s

Your hero image is usually the LCP element. To optimize:

  1. Preload the LCP image: <link rel="preload" as="image">
  2. Use WebP — 30% smaller = 30% faster load
  3. Responsive images — don’t serve 2000px image to mobile
  4. Priority hintingfetchpriority="high" on hero images

INP (Interaction to Next Paint)

Target: < 200ms

Heavy image processing on the main thread blocks interactions:

  1. Lazy load below-fold images
  2. Decode asynchronouslydecoding="async"
  3. Use our browser tools — processing happens off-main-thread via Web Workers

CLS (Cumulative Layout Shift)

Target: < 0.1

Images without dimensions cause layout shifts:

  1. Always specify width/height — in HTML or CSS
  2. Use aspect-ratio boxes — reserve space before image loads
  3. Avoid content injections — don’t load images above existing content

Real-World Impact

Before optimization:

  • LCP: 4.2s ❌
  • CLS: 0.25 ❌
  • INP: 380ms ❌

After image optimization:

  • LCP: 1.8s ✅
  • CLS: 0.02 ✅
  • INP: 120ms ✅

The AmberPic Advantage

Our tools help you:

  • Compress images before upload (smaller LCP)
  • Convert to modern formats (faster decode)
  • Batch resize for responsive breakpoints (proper dimensions)

Optimize your images before they hit your CDN — try AmberPic.

#kinerja #core-web-vitals #seo #optimasi

Proses gambar gratis, tanpa unggahan

Coba alat kompresi, konversi, dan pengubahan ukuran kami.

Lihat alat