The WordPress Heartbeat API lets the browser check in with your server at a regular interval while a page is open. WordPress uses it for autosave, post locking and login checks, and some plugins use it for live updates. Every check is a request to your server, so on busy sites or small hosting plans, slowing Heartbeat down or turning it off where you do not need it reduces server load.
Available in: Powered Cache (free)
Where to find it: Powered Cache → Integrations
How Heartbeat Control works #
Powered Cache decides which of three locations the current page belongs to, and applies the setting for that location:
- Editor: the post editor. See the caveat about editor detection.
- Dashboard: every other admin screen.
- Frontend: the public pages of your site. WordPress does not load Heartbeat there by default, so this setting matters only when your theme or a plugin uses it.
For each location you choose one of three options:
| Option | What happens |
|---|---|
| Enable | Heartbeat works as WordPress and your plugins set it up. Powered Cache changes nothing. |
| Disable | Powered Cache removes the Heartbeat script from that location. Scripts that need Heartbeat, such as autosave and the login expiration check, are not loaded either. |
| Modify | Heartbeat keeps working, but checks in at the interval you set. |
Set up Heartbeat Control #
- Go to Powered Cache → Integrations.
- Turn on Heartbeat Control (Manage Heartbeat activity).
- Choose Enable, Disable or Modify for the dashboard, the editor and the front end.
- For each location set to Modify, enter an interval in seconds.
- Click Save Settings.
A good starting point for most sites: Dashboard on Modify with 120 seconds, Editor on Enable, Frontend on Disable unless a plugin needs Heartbeat on public pages.
Settings #
Heartbeat Control #
Turns Heartbeat management on. Default: off. While it is off, Powered Cache does not touch Heartbeat, whatever the options below say.
Dashboard Heartbeat and Dashboard Interval #
How Heartbeat behaves on admin screens. Default: Enable. Dashboard Interval appears when you choose Modify. Default: 60 seconds, allowed range 15 to 120 seconds.
Modify with a longer interval is the safe choice. Avoid Disable here: in 4.1 the dashboard setting also applies when you edit existing posts (see below), so disabling it can turn off autosave and post locking.
Editor Heartbeat and Editor Interval #
How Heartbeat behaves in the post editor. Default: Enable. Editor Interval appears when you choose Modify. Default: 15 seconds, allowed range 15 to 120 seconds.
Keep the editor on Enable, or use Modify with a moderate interval. In the editor, Heartbeat saves your work in the background and warns other users when someone else is editing the same post.
Frontend Heartbeat and Frontend Interval #
How Heartbeat behaves on public pages. Default: Enable. Frontend Interval appears when you choose Modify. Default: 60 seconds, allowed range 15 to 120 seconds.
If no plugin on your site uses Heartbeat on public pages, this setting has no effect. If one does, for example a front-end editor or a live chat, test that feature after you choose Disable.
What can break when Heartbeat is disabled #
- Autosave: changes are no longer saved in the background while you write, so a closed tab or a lost connection can lose your work.
- Post locking: WordPress can no longer warn you that another user is editing the same post, so two people can overwrite each other’s changes.
- Login expiration notice: when your session expires, WordPress no longer shows the login window in place, and you notice only when you save.
- Plugin features: features that update live, such as notifications or order alerts, can stop updating.
A longer interval with Modify keeps all of these working, only less often. That is why Modify is the better choice for any screen where people write content.
Caveats #
Which screens count as the editor #
In Powered Cache 4.1, the Editor Heartbeat setting applies only to the Add New Post screen (wp-admin/post-new.php without extra parameters). When you edit an existing post or page, or add a new page or custom post type entry, the Dashboard Heartbeat setting applies instead. If WordPress is installed in a subdirectory, the dashboard setting applies to every editor screen. Choose your dashboard setting with this in mind.
Other Heartbeat plugins #
Use only one tool to manage Heartbeat. If another plugin or your host also changes Heartbeat, the result depends on which one runs last.