When using Page Speed Insights, you may see an indication that "Please speed up the first server response time".
What exactly does this mean? I will tell you the method that leads to explanation and solution.
What is written on this page
Anyway, for those who want to know the meaning roughly and respond immediately
First, I will briefly summarize for those who want to take immediate action.
- The instruction is "Because the response time of the server is slow, please speed it up."
- The easiest way is to upgrade the plan of the server you are using.
- Other than that, reduce unused plugins or eliminate waste anyway.
- "Autoptimize"or"WP Fastest CacheCan also be supported by cache plugins such as
For those who want to understand firmly
Here, I will also touch on the meaning of the instructions and detailed words.
Please see here if you want to respond politely ▼
What is the faster initial server response time?
In WordPressPHPIs used to generate HTML every time the server side is accessed. In other words, the amount of processing on the server side increases because PHP must be executed on the server side each time.
This is the number one reason why WordPress response time is long.
The server response, which is the time to create HTML, is inseparable from the display speed. In particular, it can be said that this is a problem that must be addressed when improving LCP.
It's also true that server response speed is important and difficult to fix. The process cannot be seen from the outside, and the cause cannot be understood only by Page Speed Insight, or even if it is known, the process is difficult and does not work.
Workaround 1. Update PHP
In general, the newer the version of PHP, the better the performance.
It may not be limited to PHP, but check the site of the server company you are using and try updating PHP.
Basically, you can update your PHP version no matter which plan you use.
Countermeasure 2. Attempt to introduce CDN
CDN is an abbreviation of "content delivery network", and in simple terms, it is an image of using a relay point between a server and a client.
It is a service that allows you to deliver quickly even if access is concentrated or the amount of content is large.
recently,"Cloudflare, And other useful CDN services are now available for free.
However, keep in mind that there are pros and cons to deploying each.
What are the benefits of a CDN?
- It is possible to reduce the load on the server and network
- Opportunity to improve server response
What are the disadvantages of a CDN?
- Access log may not be obtained
- File updates may be delayed
- There is also a risk of cash accidents
I feel said.
Since it is a service that depends on cache for good or bad, it is necessary to correctly select the target of the content to be cached and to set the period to be cached in the CDN correctly.
Talking about CDNs in detail can be lengthy, so I'll write about them later.
If you are interested, please check it out.
Countermeasure 3. Delete / compress unnecessary files
It's common to use WordPress to accumulate plugins that you've used in the past but aren't currently using, or plugins that you've installed and haven't "enabled" in the hope that you'll use them someday. is.
You should remove unnecessary plugins and keep them to the minimum necessary.
If you talk about compression in detail, you can write one article by itself, so I will leave it here.
Countermeasure 4. Use premium DNS.
DNS is also an influential factor.
Using Cloudflare or Amazon's premium DNS, which I mentioned earlier, will significantly reduce the response time of your domain compared to free DNS.
If you are interested, please check this out as well.
How to deal with 5. Let's change the server at the end
Eventually, there is also a pattern that settles down here.
There are limits to what you can do on your own, so if you're having trouble in the first place, upgrading your server plan may be the fastest.
recently,"Kinsta] And other high-speed servers are also becoming a hot topic.
Even major server companies have many plans that claim to speed up, so let's check what kind of upward compatibility is available for the server you are using.
After all, changing the server is the fastest and easiest. However, I am also happy when I repeat detailed work myself and lead to good results.
Please study the work behind the scenes while making a backup.
I hope this article will be of some help to you.
If you have any questions after reading the article, feel free to Twitter (@kaznak_com) Etc., please ask.