I built a wordpress website and found that the speed was too slow. The mainstream optimization is just to reduce plug-ins, optimize static resources, staticize website pages, etc. But for a website without plug-ins and using the default theme, the request for the PHP file itself takes 1 second. (excluding resource file loading), is this normal?
Is this pot for WP or PHP?
I haven’t looked at the WordPress code in detail (because I’m not very familiar with PHP), but I looked at the WP database and found that there are only a few tables. Then I was thinking about so many websites based on WP extensions. What are the custom attributes? Isn't it implemented through post_meta? If this is the case, will each get_post_meta
trigger a query? In that case, a page will be very slow. I don’t know if this is the case?
Disable all plug-ins and change to the default theme, as shown in the picture above. It feels that the database query time is not very long. Why is the TTFB so big?
I built a wordpress website and found that the speed was too slow. The mainstream optimization is just to reduce plug-ins, optimize static resources, staticize website pages, etc. But for a website without plug-ins and using the default theme, the request for the PHP file itself takes 1 second. (excluding resource file loading), is this normal?
Is this pot for WP or PHP?
I haven’t looked at the WordPress code in detail (because I’m not very familiar with PHP), but I looked at the WP database and found that there are only a few tables. Then I was thinking about so many websites based on WP extensions. What are the custom attributes? Isn't it implemented through post_meta? If this is the case, will each get_post_meta
trigger a query? In that case, a page will be very slow. I don’t know if this is the case?
Disable all plug-ins and change to the default theme, as shown in the picture above. It feels that the database query time is not very long. Why is the TTFB so big?
Normal, WordPress is just so slow...
php 5.6 can consider using xcache to cache the database
php 7 can use opcache to cache php
redis can be used to cache the database later
Normal. Abandon wordpress and go to ghost or hexo