When using Page Speed Insights,Faster initial server response time] May appear.
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 content is "The response time of the server is slow, so make it faster."
- The easiest isLevel up your server planmatter
- aside from 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.
However, it is also a fact that it is difficult to correct because the server response speed is important. The process cannot be seen from the outside, and the cause cannot be understood from the page speed insight alone, 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, butCheck the site of your server company and update PHPLet's try.
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.
It is a service that depends on the cache, for better or for worse, so you can select the target of the content to be cached correctly.It is necessary to correctly set the period to be cached in the CDNthere is.
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 WordPressPlugins that have been used in the past but are not currently usedor,Plugins that have not been "enabled" as they are installed, thinking that they may be used somedayIs to accumulate.
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.
EarlierCloudflare and Amazon's premium DNS significantly reduce domain response times compared to free DNSWill be done.
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 is a limit to how you can handle it yourself, so if you have trouble in the first placeThe fastest way to upgrade your server planmaybe.
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.
In the case of the X server, there is also a hand called XPageSpeed function
On August 29, 2022, the X server released a function that can improve display speed on the server side.
▼ Click here for details
After all, changing the server is the fastest and easiest response.
However, I am also happy when I repeat the detailed work myself and lead to good results.
Let's study and work on the back side 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.