Tag Archives: WP-CLI

Disable default WP cron job for performance (and do it the right way)
21. Apr 2018 20:42 • Performance, WordPress • #, #, #, #, #

Disable default WP cron job for performance (and do it the right way)

TL;DR: WordPress’ built‑in cron (WP‑Cron) runs on page loads. On busy sites it can add overhead; on quiet sites it can miss schedules. The fix is simple: disable the default trigger in wp-config.php and run wp-cron.php from a real scheduler (Linux cron, Windows Task Scheduler, or a third‑party ping) every 5–10 minutes. Verify with WP‑CLI…Read More

Do Deactivated WordPress Plugins Slow Down Site?

Do Deactivated WordPress Plugins Slow Down Site?

TL;DR: Not on the front end in the way most people think. WordPress only loads active plugins during a request, so a deactivated plugin’s PHP code is not executed. What can slow your site are the leftovers: autoloaded options, orphaned cron jobs, and cluttered databases that some plugins leave behind. Clean those up and remove…Read More