WordPress: Heartbeat Control
What is Heartbeat?
The Heartbeat API included in WordPress version 3.6 and later is designed to provide fluid updates between your browser and the server to allow for autosaving, post locking, login expiration warnings, and much more. It works in the background to send a regular "pulse" between the browser and the server that is repeated at regular intervals and can be used to keep them in sync.
However, the downside of Heartbeat is that it can cause high CPU usage on the server. (In fact, even if you were to simply login to your WordPress Dashboard and minimize your browser while you worked on other tasks, the API would by default still be updated at regular intervals in the background.)
If you have experienced heavy CPU loads and are using a version of WordPress with Heartbeat included, you can follow the steps below to disable or manage the WordPress Heartbeat API to reduce your server load.
How to Install the Heartbeat Control Plugin
The Heartbeat Control plugin allows you to manage and control the WordPress Heartbeat API easily. You can disable it altogether or customize the settings. This article outlines the basic steps for configuring the plugin. For more comprehensive details, visit this article.
1) Log in to your WordPress Dashboard.
2) Go to Plugins in your WordPress navigation bar on the left side.
3) Click on Add New.
4) Search for the Heartbeat Control plugin.
5) Activate the plugin.
6) Go to Settings and Heartbeat Control Settings.
7) Configure the settings as you wish.
8) For more comprehensive configuration details, visit this article.