How can I improve the Lighthouse results for Interaction to Next Paint (INP)?¶
FID has been replaced by INP
First Input Delay (FID) was removed from Google's Core Web Vitals in March 2024 and replaced by Interaction to Next Paint (INP). This page has been updated to reflect that change.
This section describes the INP metric used in the Lighthouse report and how to improve it.
What is Interaction to Next Paint?¶
Interaction to Next Paint (INP) is one of the factors that will be used to classify a website’s performance. Further information on INP can be found here.
INP Reference times
-
Good: 200 milliseconds or less
-
Needs Improvement: Up to 500 milliseconds
-
Poor: Longer than 500 milliseconds
Improving the INP results¶
-
Each additional script on your website will affect the performance. Please check whether you can remove any unwanted scripts. This may even result in a more lightweight CMP if you remove data processing services that are no longer needed.
-
Use a browser cache. Sources will only need to be loaded from their origin on the first impression. For returning visitors, you can reduce the loading time because the information needed will be taken directly from the browser’s cache.
-
Slim down your JavaScript execution time and size. The cleaner your code when it comes to requests and sources used, the faster your page. Some great ways to adjust your code can be found here.
Summary¶
Make sure to check your website’s source code regarding its scripts – each of them can be the reason for poor website performance.