Answer the question
In order to leave comments, you need to log in
What can slow down Wordpress (more precisely, require wp-load), while pure PHP flies, and the same site flies on LOWER hardware?
I continue the epic transition from hosting to DS (see previous question ).
This time I have a DS with Intel i7, and according to the results of this test, this time everything is fine:
<?php
$starttime = microtime(true);
for ($i = 0; $i < 500000000; $i++) {
}
$endtime = microtime(true);
$timediff = $endtime - $starttime;
echo $timediff
?>
Answer the question
In order to leave comments, you need to log in
Damn, you are annealing at the expense of the muscle
, if it is relatively far away and not in the same DC, then everything will be very, very slow
You can evaluate what exactly is slowing you down using some profiler .
And of course, with each request to the database, add the time for the network.
There is a version that this is due to the fact that external access to MySQL is used (with which WP works extremely actively when loaded) - I did not transfer it and left it on the hosting. Is it possible?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question