PILLAR · TOI-UU-HIEU-NANG

Tối ưu Core Web Vitals 2026 — LCP, CLS, INP về xanh

Không test trên MacBook M3 mạng cáp quang. Chúng tôi test thực tế Samsung A series + 4G slow ở Việt Nam. Đo bằng CrUX field data, không phải lab.

Tối ưu Core Web Vitals Audit hiệu năng website
LOẠI DỊCH VỤ // 02

Chọn loại phù hợp với bạn.

Mỗi loại có scope, quy trình, gói giá riêng — chọn đúng nhu cầu để báo giá chính xác.

Site chậm = mất khách + tụt SEO. Google Core Web Vitals chính thức là ranking factor từ 2021, INP thay FID từ 03/2024. Bài này định nghĩa 3 chỉ số bắt buộc 2026, 6 nguyên nhân CWV kém phổ biến VN, pipeline tối ưu 4 phase Web22, và bảng giá tham khảo.

Core Web Vitals 2026 — 3 chỉ số bắt buộc

Ba chỉ số Core Web Vitals 2026: LCP Largest Contentful Paint dưới 2.5 giây cho loading speed, CLS Cumulative Layout Shift dưới 0.1 cho visual stability, INP Interaction to Next Paint dưới 200ms cho responsiveness. INP thay thế FID từ tháng 3 năm 2024.
Core Web Vitals 2026

Google đo trải nghiệm người dùng qua 3 chỉ số chính, áp dụng cho mọi site mobile + desktop:

LCP (Largest Contentful Paint) — < 2.5s

Thời gian từ khi user click link đến khi element lớn nhất hiển thị (hero image, h1, video). Đo loading speed thực tế.

  • Tốt: < 2.5s
  • Cần cải thiện: 2.5s – 4s
  • Kém: > 4s

CLS (Cumulative Layout Shift) — < 0.1

Đo độ “nhảy” của layout trong quá trình load. Image không có width/height, font load chậm, ad inject sau load = CLS cao.

  • Tốt: < 0.1
  • Cần cải thiện: 0.1 – 0.25
  • Kém: > 0.25

INP (Interaction to Next Paint) — < 200ms

Mới — thay FID từ 03/2024. Đo độ responsive của UI khi user click/tap. JS heavy, event handler chậm = INP cao.

  • Tốt: < 200ms
  • Cần cải thiện: 200ms – 500ms
  • Kém: > 500ms

Đo qua PageSpeed Insights (CrUX field data 28 ngày, real users) — KHÔNG chỉ Lighthouse lab data (synthetic test).

6 nguyên nhân CWV kém phổ biến VN

Phân tích 6 nguyên nhân Core Web Vitals kém trên site Việt Nam 2026: image không optimize 35%, render-blocking JS 25%, third-party script 15%, hosting kém 10%, layout shift 10%, font không preload 5%
6 nguyên nhân CWV kém

Audit 100 site VN 2026, phân tích nguyên nhân:

1. Image không optimize (35% case)

  • Image > 500KB (PNG/JPG không nén)
  • Không dùng WebP/AVIF (giảm 30-60% size)
  • Không lazy load below-fold
  • Hero image không preload → LCP cao
  • Image không có width/height attr → CLS cao

Fix: convert WebP qua Imagify/ShortPixel, lazy load native, preload hero image với <link rel="preload">.

2. Render-blocking JS (25%)

  • Plugin chặn rendering (Jetpack, Elementor heavy)
  • jQuery + jQuery Migrate cũ
  • Script không có async/defer

Fix: defer non-critical JS, dequeue plugin không dùng, code splitting cho theme custom.

3. Third-party script (15%)

  • Google Analytics + Tag Manager + Facebook Pixel + LiveChat = 200-500KB JS
  • Mỗi script add 50-200ms LCP

Fix: load conditionally, defer, dùng Third Party Capital wrapper.

4. Hosting kém (10%)

  • Shared hosting siêu rẻ → TTFB > 1s
  • Server VN data center old
  • Không có HTTP/2 hoặc HTTP/3

Fix: VPS Vultr/DigitalOcean, Cloudflare APO, LiteSpeed/Nginx.

5. Layout shift (10%)

  • Image không có width/height
  • Font web load chậm khiến text reflow
  • Banner/popup inject sau load

Fix: explicit width/height cho mọi image, font-display: swap + preload, reserve space cho dynamic content.

6. Font không preload (5%)

  • Google Fonts CSS render-blocking
  • Web font không có font-display
  • FOIT (Flash of Invisible Text)

Fix: self-host font, preload critical font file, font-display: swap.

Pipeline tối ưu CWV 4 phase

Pipeline tối ưu Core Web Vitals 4 phase Web22: Audit measure CrUX và Lighthouse 1 tuần, LCP fix critical path 1-2 tuần, CLS fix layout stable 1 tuần, INP fix JS optimize 1-2 tuần
CWV pipeline 4 phase

Phase 1 — Audit + Measure (~1 tuần)

  • CrUX field data 28 ngày qua PageSpeed Insights
  • Lighthouse audit lab data 5 page chính
  • Chrome DevTools performance trace
  • WebPageTest waterfall analysis
  • Output: report 84 điểm + priority fix list

Phase 2 — LCP fix (1-2 tuần)

  • Optimize hero image (WebP, dimension, preload)
  • Inline critical CSS < 14KB
  • Defer non-critical CSS
  • Server response (TTFB < 600ms)
  • Cloudflare APO hoặc edge caching

Phase 3 — CLS fix (~1 tuần)

  • Width/height attribute cho mọi image + iframe
  • aspect-ratio CSS cho responsive
  • Font preload + font-display: swap
  • Reserve space cho ad/widget dynamic

Phase 4 — INP fix (1-2 tuần)

  • Audit long task > 50ms
  • Code split JS chunk lớn
  • Debounce/throttle event handler
  • Web Worker cho heavy compute
  • Re-measure CrUX sau 14 ngày

Bảng giá tối ưu CWV 2026

Loại Giá Timeline
Audit one-time 5-15tr 1 tuần
CWV optimize quick win 10-25tr 1-2 tuần
CWV optimize full 30-80tr 4-6 tuần
Performance refactor (codebase rotten) 50-150tr 6-12 tuần

Dịch vụ tối ưu hiệu năng Web22

Dịch vụ liên quan

Câu hỏi thường gặp

CWV ảnh hưởng SEO bao nhiêu?

Là 1 trong ~200 ranking factor. Impact: ~10-15% tổng score, lớn hơn cho mobile + cạnh tranh keyword high-traffic. Site nào CWV xanh + content tốt + technical OK sẽ rank cao hơn site CWV đỏ.

Lighthouse score có quan trọng không?

Lighthouse là lab data — synthetic, không phản ánh user thật. CWV ranking dựa trên CrUX field data (28 ngày real users). Lighthouse 100 nhưng CrUX kém vẫn không rank. Đo CrUX là chính.

Web22 có cam kết LCP < 1s không?

Cam kết Lighthouse mobile 90+ và CWV xanh sau optimization. Không cam kết < 1s tuyệt đối — phụ thuộc nhiều biến (network user, device, hosting region).

Tự tối ưu được không?

Quick win (image optimize, lazy load) có thể tự làm với plugin. Deep optimize (critical CSS inline, JS code split, INP fix) cần dev hiểu performance. ~50% case SME tự fix 80% problem.

Plugin nào nên dùng?

WP Rocket, LiteSpeed Cache, WP Optimize, Imagify, Async JavaScript. Tránh plugin “speed all-in-one magic” — thường conflict.

Cloudflare đủ không?

Cloudflare free đủ cho 80% site. APO ($5/tháng) tốt cho WordPress. Pro ($20/tháng) cho site có ad/dynamic content. Tốt nhất kết hợp Cloudflare + LSCache plugin.

Mobile vs desktop, ưu tiên cái nào?

Mobile. Google index mobile-first 2026, ~60-80% traffic VN từ mobile. Tối ưu mobile trước. Desktop thường tự tốt theo nếu mobile đã tốt.

Sau optimize có phải maintain không?

Có. Mỗi update plugin/theme có thể introduce regression. Recommend re-audit 6 tháng/lần. Care plan Web22 include monthly CWV check.