Web Vitals & Performance (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What is Interaction to Next Paint (INP) and how did it replace FID?
junior Levelweb-vitalsBasic
In Simple Words:
- FID (First Input Delay - Legacy): Measured only the very first user click on a page, and measured only the input delay (waiting for the main thread), ignoring how long the browser took to actually paint the resulting frame.
- INP (Interaction to Next Paint - Effective March 2024):
- Observes all click, tap, and keyboard interactions throughout the entire lifespan of the page visit.
- Represents the longest interaction latency (typically the 98th percentile).
- Measures the full end-to-end duration from user action until the next frame is physically painted on screen.
INP Thresholds:
- Good: $\le 200\text{ ms}$.
- Needs Improvement: $200\text{ms} - 500\text{ms}$.
- Poor: $> 500\text{ ms}$.