Wydajność

perf/field-data-p75

Claims about Core Web Vitals come from field data at the 75th percentile, not from a Lighthouse score.

drobnaręcznefe-lighthouse

Dlaczego

Lighthouse simulates one visit on one device and network; it cannot measure INP and does not see real caches, devices or user behaviour. A green score with failing field data, or the opposite, is common. Saying "the page passes Core Web Vitals" after a lab run misleads the team and the client of the site.

Poprawka

Report lab results as "Lighthouse (lab, mobile preset)" with the version and the median of several runs, and use them to find causes. Report vitals from the field: PageSpeed Insights' field section or CrUX for public pages with enough traffic, or your own web-vitals data, at the 75th percentile, mobile and desktop apart.

Przykłady

bad:  "Performance fixed: Lighthouse 98, Core Web Vitals passed."
good: "Lab (Lighthouse 13.6, mobile, median of 3): LCP 2.1 s, TBT 120 ms. Field (CrUX, 28 days, p75): LCP 2.4 s, INP 180 ms, CLS 0.04."

Źródła

Fakty

Identyfikator
perf/field-data-p75
Waga
drobna
Sprawdzanie
ręczne ocenia człowiek; raport podaje to jako listę kontrolną
Dotyczy plików
project
Uczy jej skill
fe-lighthouse Lighthouse and PageSpeed
Od wersji
0.1.0

Plik reguły na GitHubie

Przeczytaj w terminalu

npx github:dawidolko/frontend-skills explain perf/field-data-p75