WordPress Heartbeat API: How to Tame admin-ajax.php CPU Spikes on a VPS

wordpress heartbeat api

If your WordPress site runs on a small VPS and CPU climbs every time someone opens the editor, the WordPress Heartbeat API is a likely suspect. It polls admin-ajax.php on a short timer, and on a 1 or 2 GB server that steady background traffic adds up fast. You can slow it down, limit where … Baca Selengkapnya

WordPress Cron vs Real Cron: Why wp-cron.php Slows Your VPS

wordpress cron vs real cron

Every WordPress site on a VPS runs scheduled jobs in the background: publishing queued posts, checking for plugin updates, sending email, clearing expired transients. On a default install, those jobs run through wp-cron.php, which only fires when someone visits your site. The wordpress cron vs real cron question comes down to who triggers the work: … Baca Selengkapnya

WordPress Transients Explained: When They Help and When They Bloat Your Database

wordpress transients explained

A WordPress site that feels slow for no obvious reason often has a quiet culprit hiding in its database: transients. WordPress transients explained in one sentence: they are temporary values WordPress and its plugins store in the database so the site does not have to repeat expensive work on every page load. Used well, they … Baca Selengkapnya