How to reduce WordPress resource usage
How to reduce WordPress resource usage
1) Disable wp-cron:
To disable WP-Cron, add the following to your wp-config.php file, just before the line that says “That’s all, stop editing! Happy blogging.” Note: This disables it from running on page load, not when you call it directly via wp-cron.php.
define('DISABLE_WP_CRON', true);
Once done, you can create real cron from task scheduler using this command:
wget -q -O - https://domain.com/wp-cron.php?doing_wp_cron >/dev/null 2&...