Company
Date Published
Author
Salma Alam-Naylor
Word count
1566
Language
English
Hacker News points
None

Summary

Google is launching a new Core Web Vital metric, Interaction to Next Paint (INP), which will replace First Input Delay (FID) on March 12th, 2024. INP measures the time between user interactions and visual feedback, excluding eventual effects of an interaction. It aims to provide a more comprehensive view of page responsiveness. Developers can investigate INP using Chromium-based browsers' dev tools and identify blocking processes by cross-referencing interactions with main thread activity. To improve INP scores, developers should prioritize minimizing delays in visual feedback, providing timely visual feedback, removing unnecessary processes, debouncing function calls, and extracting tasks to web workers. The new metric encourages developers to make their pages feel fast and responsive to users.