When you interact with the page for the first time and take a period of time to respond, there is an embarrassment The name of the moment. This is called the first input delay (FID), which is an indicator that allows you to understand how good it is.
Low FID tells you that the website has been optimized correctly. This means that even if the page looks like the rendering has been completed, the visitor’s browser will not be stuck in the loading element and script. If you can make your FID scores as low as possible, it will make user access more pleasant.
In this article, we will discuss the meaning of the first input delay and why it is so important. We will then introduce four methods to reduce FID scores in WordPress. let’s start!
Directory:
- What is the first input delay?
- How to measure the first input delay of your website
- The method of reducing the first input delay score in WordPress
Click
Every time you visit the website, many things happen in the background. Before you see a page, your browser needs to query its server, send and process requests, load elements, and so on. For modern websites, you may need a browser to complete dozens of requests before you can see the pages that can be fully presented with it.
In some cases, the page seems to be ready
Your browser is still processing the request and loading the script in the background. When you try to interact with the page, you may find a slight delay between execution operation and receiving response.
For example, if you click a link, your browser may not handle the request immediately. If you press the next button, at first glance, it may not do anything. Basically, any interaction elements on your website may happen. Your goal is to reduce the first input delay as much as possible.
Ideally, the first input delay of your website should be less than 100 milliseconds. This is the standard that Google believes the website can accept:

[123 ] Maximum content drawing (LCP): The time required to load the maximum element on the indicator.
- Cumulative layout shift (CLS): This can measure the visually \”move\” of the page when loading. If the element moves too much when loading, your CLS score will be poor. We have a guide to repair WordPress accumulated layout.
- There are two key reasons why the core web vitals. The first is that they provide indicators to measure your website optimization. If your website scores high, it means that it has fast loading and stable visual effects. Users do not need to wait too long to interact with it. The second reason for the important reason for the core web vitals is that they will affect the search engine optimization (SEO) of your website. Google uses these indicators as a small signal when determining the ranking. In fact, this search engine giant is very clear that the core Web Vitals is important in SEO, although it is different from content and reverse links.
How to measure the first input delay of your website The first input delay may be difficult to measure, because you need to collect data based on the real visitors of the website, which is different from other performance indicators. You can only use a computer to run analog testing.
The easiest way to measure the first input delay for your website is to use PageSpeed \u200b\u200bInsights. However, if your website has enough traffic in the Chrome user experience report, PageSpeed \u200b\u200bInsights only shows the first input delay time.
Let’s talk about the working principle of PageSpeed \u200b\u200bInsights, and then we will share some alternativesOption, if PageSpeed \u200b\u200bInsights does not provide the first input delay indicator for your website, you can try:
To use PageSpeed \u200b\u200bInsights, please continue to enter you The URL of the page to be tested. PageSpeed \u200b\u200bInsights will spend some time to analyze it, and then it will return a report as shown below:
In general, the website does not have the best Core Web Vital score. However, you can see that it performs very well in the FIRST INPUT Delay indicator, with an average time of less than 100 milliseconds.
However, as we mentioned above, not all websites will see this indicator. If your website traffic is low, you may see the following:
In this case, you have two options: [ 123]
- Simple : You can use the total blocking time of in the laboratory data as the rough agent for your first input delay time Essence This is not a perfect representation, but the total blocking time indicator is very similar to the first input delay. Usually, if you improve the total blocking time, you will also see similar improvements to the first input delay time.
- Advanced : You can use real user performance monitoring tools such as Request Metrics. With these tools, you need to add tracking scripts to your site to collect real user data.
下面,您可以看到在PageSpeed \u200b\u200bInsights 中在哪里可以找到总阻塞时间指标:
[ 123]
Since you know how to measure FID and other Core Web Vitals, let’s talk about how to improve them.
In this section, we will focusEssence Some of these optimizations will also have a positive impact on other Core Web Vitals, which makes them more useful.
1. Delete unnecessary scripts from your website
The main reason for loading the WordPress website for too long is that it needs a large number of scripts. Scripts refer to JavaScript and CSS and other possible options. If you use the \”complex\” WordPress theme or a large number of plug -ins, then you may have too many scripts running in the background.
figure out which scripts are useful and which are not a challenge, but this is the place of martial arts of PageSpeed \u200b\u200bInsights. If you test any page on the website, PageSpeed \u200b\u200bInsights Report will also include
Opportunities:
In many cases, these scripts come from the plug -in. This means that you need to check your plug -in list carefully and find the tools you do not really need. Excluding plug -in is a good way to keep the website loading as fast as possible.
2. Delayed non -critical code during the loading period
If these scripts are not \”critical\”, you can simply tell your browser to keep them to the end so that they will not slow down the speed of others. This is what we call \”delayed non -critical code\”.
When determining which script can be delayed, your first stop should be PageSpeed \u200b\u200bInsights. After generating a report on the page, PageSpeed \u200b\u200bInsights will include suggestions on how to improve its scores.
In these suggestions, you will find an option, that is \”. If you click it, it will display the script list you can postpone:
You can handle the rendering blocking script in WordPress in two ways. The first method involves the use of
async
To set it on WordPress, you can use free Async Javascript plugins. Alternatively, many WordPress performance plug -in contains the function of delayed code. If you are willing to pay for advanced plug -ins, WP Rocket has the function of automatic delay non -critical CSS and JavaScript.
3. Use CSS and JavaScript narrowing tools Although we all support deleting unused CSS and JavaScript, there are still some scripts that you don’t want to delete. For example, you don’t want to cancel the CSS style table of any page, unless you want a website that feels like it is torn off last century. The best way to reduce them for those that cannot be deleted. This means deleting spaces and unnecessary characters from the code to reduce the size of each script. There are several tools that can automatically reduce scripts in WordPress, such as AutopTimize and Fast Velocity Minify:
In general, most WordPress optimization optimization The cache plug -in also includes script reduction tools. However, some of them require a lot of configuration work, so we recommend that you insist on using options such as AutoPTimize.
] Use CDN is a good way to improve the performance of the website. Using CDN, you can access the data center network around the world. These data centers can cache the content of your website. When the visitor tries to visit your website, the CDN will process the request and provide its cache version. In most cases, using CDN will improve the loading time and FID score of your website. WordPresThe integration of S and CDN is very simple. The biggest challenge may be to determine which service is used.
Cloudflare:
This is the most popular CDN in the market in the market one. It is easy to integrate with WordPress and provide free plans.
Jetpack:
Jetpack plug -in provides a feature called
site accessor
- , which uses the static element on your website with the WordPress.com server to cache your website. Although JetPack needs WordPress.com account, you can also use it on the self -custody WordPress website.
- However, in order to obtain the best performance, you may need to consider using advanced CDNs, such as KeyCDN, Stackpath or Bunny CDN.
immediately reduce the first input delay of your website
FID is one of the three core Web Vitals indicators, which aims to measure the user experience on your website.
The complete guide to the first input delay score on the #WordPress website
]
Measurement such abstract things may be complicated. This is why each core element pays attention to a specific situation that may have a negative impact on the visitor experience. All Core Web Vitals are essential, but especially FID, if the delay is too high, it may lead to a great sense of frustration.
Delayed non -critical CSS and JavaScript during the loading period.
Use CSS and JavaScript minimum tools, such as Autooptimize and Fast Velocity Minify.
Use CDN, such as CLOUdflare or jetpack.
- Do you have any questions about how to reduce the FID score in WordPress?
- Let’s discuss them in the comments part below!
Free Guide Five basic techniques to speed up speed Your WordPress website will shorten the loading time by 50-80% Just follow simple prompts. free guide