Moderator
t-p
(@t-p)
Slowness/high CPU usage could be due to (but not limited to):
– A poor or memory intensive theme. Switch to the WordPress default theme and test loading time and see if you see a difference. If you do, may be your theme can be re-written to be more efficient.
– Poor or memory intensive plugins. One by one disable plugins and test loading time and see if you see a difference. If you do, may be that plugin can be re-written to be more efficient.
– your server is slow (e.g., “process hang”, overload, you get a lot of visitors, other problems, etc.); generally, every inexpensive host out there is slow.
– I don’t know if you use CloudFlare or not but if you do I would suggest deactivating it and seeing if it helps. Also sometimes a good purge of the cache on CloudFlare can help.
– Lots of images can cause slowness. Also images loaded without compression.
– Lots of external content (facebook/ gravatar/ google adds, etc.) and redirects in general tends to slow sites down.
– It could be due to brute fore attack .
Tools for Site analysis:
https://www.wpbeginner.com/beginners-guide/how-to-properly-run-a-website-speed-test-best-tools/
Here’s a couple of links that might give you some ideas on how to better deal with this:
* https://docs.woocommerce.com/document/troubleshooting-a-slow-site/
* https://woocommerce.com/2016/03/woocommerce-speed-first-steps/
* https://wpengine.com/blog/site-speed-make-wordpress-lightning-fast/
Some ideas:
– optimize the databases
– add a caching plugin
– delete unused or replace inefficient plugins
– optimize the theme
– and, of course, upgrade to a plan with more memory if needed
Use plugins to optmize/speed up sites. For example:
– https://ww.wp.xz.cn/plugins/search/Optimize+the+Database/
– Autoptimize
– WP Super Cache , etc.
Use Jetpack’s Photon option to speed up image delivery.
Also see this help guide: http://www.wpbeginner.com/beginners-guide/speed-wordpress-save-images-optimized-web/
Also review these help guides with some useful optimization tips:
Optimization
https://www.wpbeginner.com/wordpress-performance-speed/