Replace WP-Cron (wp-cron.php) with Server Side Cron for Faster Performance
-
WP’s built-in cron system is impacting the site performance if the website is large, has high traffic, and if it’s multisite. (and it can even not run the cron if the website has little to no traffic at certain times)
Disabling the built-in cron, and instead, having the cron set up on the server-side, would solve the issue.
A quick way to achieve this is first to put
define('DISABLE_WP_CRON', true);
in the wp-config.php and then manually define the cron the admin panel (like DA, cPanel and… ) or use the 3rd party cron services. (and in multisite, there will be some extra steps to make sure the crons for subsites will run just fine. Read this and this articles for more info)It would be very useful if Litespeed would have an option to simply switch it on or off to take care of these whole steps and move from wp cron system to server-side cron (we are using Litespeed server and Litespeed plugin and the website is also multisite)
Thanks
- The topic ‘Replace WP-Cron (wp-cron.php) with Server Side Cron for Faster Performance’ is closed to new replies.