A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Glossary/Interaction_to_next_paint below:

Interaction to Next Paint (INP) - MDN Web Docs Glossary: Definitions of Web-related terms

Interaction to Next Paint (INP)

Interaction to Next Paint (INP) measures the responsiveness of a website to user interactions (for example, when they click a link, tap on a button, or use a custom, JavaScript-powered control).

INP was designed by Google as one of the Core Web Vital metrics, replacing First Input Delay (FID) in May 2024. There are two key differences between FID and INP that make INP a more reliable measure of a page's responsiveness:

INP measures the worst length of time (minus some outliers), in milliseconds, between the user interaction on a web page and the next frame presentation after that interaction is processed. Scrolling and zooming are not included in this metric. INP is calculated using the Event Timing API. Asynchronous operations such as network fetches or file reads usually do not delay INP as painting can occur while such operations are handled.

All eligible interactions throughout the page lifetime are considered. For highly interactive pages of 50 or more interactions, the 98th percentile is used to exclude some extreme outliers that are not reflective of overall page responsiveness.

The longer the delay, the worse the user experience. The Long Animation Frames API can help identify causes of high INP.

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3