Answer the question
In order to leave comments, you need to log in
What is the normal loading speed of a PHP script on wordpress?
Firework! Recently started working with WP and was not pleasantly surprised by the page loading speed. I googled and did not find answers to the question I asked in the topic. Actually, I would like to know:
1) If you know what is the average speed of a PHP script on the VI? It is the part with the processing of the PHP script that is interesting, what slows down on the client and works slowly is not so important now.
2) What are the indicators of your sites on the WP? What do you think, what 2-3 actions among those taken to accelerate were the most effective?
From myself: I
checked the speed of the script by changing the index.php code to this
echo '<br>';
$time = microtime(true);
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
echo (microtime(true) - $time).' сек.';
echo '<br>';
define('WP_USE_THEMES', false);
Answer the question
In order to leave comments, you need to log in
The script execution speed is about 0.03s, and 0.27s was the wait when working with the database. Now the script is on the same disk with the database, as a result, everything, together with the connection, is executed faster than in 0.1s. The basic template is loaded completely in the browser in about 1s.
Plugins... themes... they are universal... you have to pay for it... speed... zzz
I try to replace plugins with simple php in theme files.
And it's better to sketch your topic.
In general, sharpen everything for a specific site.
I would venture to guess that machine M1 is a Unix server, while initially you are testing on Open Server under Windows. Winda is a slow thing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question