The web server is also a significant factor. Which PHP version do you use with which web server?
Also note that the plugins used have a significant impact on response times. WooCommerce also has its share. Deactivate all plugins as a test to get “real” values. Then you can reactivate plugins to find out which ones have the biggest impact on the loading time.
I tested my site with / without Woocmmerce, with / without plugins, new installation, default wp themes, woo storefront theme and so on. Building websites on top of wp since 2006 now, and this is the first time i was not able to solve the slow response with any optimization like cdn and so on further till i read this topic
https://wordpress.org/support/topic/wordpress-very-slow-slow-server-response/#post-16628788
and just tried and find out…
-
This reply was modified 2 years ago by
evalast.
I would be happy to get an answer to my question above.
Which PHP version do you use with which web server?
Furthermore:
Please take a look under Tools > Site Health to see whether messages are mentioned there depending on the PHP version.
This surprises me a bit, as my experience tends to be the other way around: the performance is even better with every PHP version. And that is very many different hostings. Therefore, I still suspect some property in your hosting is responsible for this. It is also possible that there are missing libraries in the PHP installations, so it would be useful to take a look at Site Health.
Another factor is the database system used. Is it always the same in your tests? Or are they different as well? With the Query Monitor plugin you can easily see what the queries look like against the database.
For what it’s worth, WordPress’s support for PHP 8.2 is still in beta: https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
Plus, we simply cannot guarentee that your theme and plugins will be compatible.
If you want to run on PHP 8 with no surprises, I recommend sticking with PHP 8.1.x for now.
-
This reply was modified 2 years ago by
James Huff. Reason: added note about theme and plugin compatibility
Looks like its a PHP 8.2 problem instead of a WP Problem. I just switched to 8.1 and it works fine – it uses ~150MB of memory. Memory of PHP 8.2 in my case brings my test server almost to hold because of high memory usage – at least twice of 8.1. Looks like thats the problem. Some say its a memory leak…