Answer the question
In order to leave comments, you need to log in
How to reduce server load time on a WP site?
I have a fairly strong VPS engine. And the site is on WP, but the download speed of the site is very slow due to the fact that about 5-6 seconds there is a connection to the server. Although on the same html server sites are loaded quickly. That is, it's not about the server, but apparently with WP. What are the necessary steps to take to speed up the connection process?
Answer the question
In order to leave comments, you need to log in
To speed up WP 10 times you need to make a server: nginx + php7 + opcache
At the same time remove all caching plugins in WP itself!
Speed up by 10 times is real, provided that you have apache + php5.6, real measurements on real projects (without code optimization, the server response is reduced from 2 seconds to 250ms, the main thing is that you have up-to-date versions of WP and plugins with php7 support)
UPD: If we are talking about the site that you have in your signature, then you need to update php to 7.1 or 7.2 and enable opcache, the server response will decrease every 5 times for sure! you already have nginx, you can only update it and enable http2 for multi-threaded css / js / img transfer - this will affect the overall page loading speed. Just as I wrote above, try disabling the caching plugin in WP (after all the updates that I wrote above), if you have a final server response of 300-400 mls, then you won’t need it, and now it also creates a load on the server without it the first page load could be faster than it is now.
a similar question was considered not so given, once again briefly:
- try to localize the problem in simple ways - turn off plugins, change the theme, and so on.
Perhaps not even just disabling, but completely removing some kind of plugin will give a result. *;
- if there is no effect - profiling, as already written;
- mysql logging;
- if your qualifications are not enough, do not be shy about it and hire a specialist.
I achieved 100 points for WP in PageSpeed Insights. If you know Linux, then this note will come in handy for you.
lamer350 Thanks for the recommendation. I updated CGI to version 7 of php, installed OPcache and http2, disabled the caching plugin, but I wouldn't say that anything has changed. I will update the topic itself, I will write about the results. But while the process of acceleration is going on hard.
Tin, your page is generated in 4 seconds + loading the generated content to the client.
It is very similar to a "rotten" plugin that loads something wrong by mistake (for example, instead of the last 10 articles, it selects all articles, and displays only 10). You can't do without a profiler here.
In order to immediately cut off the option of an inefficient server - test pure WP on the same server, it should render the page in a maximum of 500ms.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question