Performance module Free feature

Heartbeat control

Lengthens the WordPress heartbeat interval and can switch the heartbeat off for site visitors, cutting background requests to admin-ajax.php.

What it does

Slows down a background request loop

Heartbeat control is a Vectro performance feature that sets the interval of the WordPress heartbeat API and can switch it off on the front end, cutting the admin-ajax requests it sends in the background.

The heartbeat API is how WordPress powers post locking, autosave notifications and live dashboard updates. It works by sending a request to admin-ajax.php on a timer – every fifteen seconds while the post editor is open, and every sixty seconds elsewhere in the admin.

This feature lets you change that. You can switch the heartbeat off on the front end entirely, and set the interval to anything from 15 to 300 seconds. Vectro applies that interval wherever the heartbeat runs, and it never switches the heartbeat off inside wp-admin.

Be aware of the trade-off before setting a long interval. Post locking – the warning that another user is already editing a post – depends on the heartbeat, and a long interval makes that warning slower to appear. On a multi-author site it is worth keeping the interval modest.

Why it matters

It is a request every fifteen seconds, per open editor

Each heartbeat is a full PHP request: WordPress bootstraps, loads plugins, runs the AJAX handler and responds. One editor left open for an hour generates 240 of them. On shared hosting, where admin-ajax.php requests are often the first thing to hit a resource limit, that is a meaningful and entirely avoidable load.

The cost scales with how many people have the editor open. On a site with several authors working simultaneously, heartbeat traffic can be a substantial share of total server requests – all of it background polling rather than anyone actually loading a page.

Lengthen the interval
Move the admin heartbeat from 60 seconds to 120 or longer to cut request volume directly.
Disable on the front end
The heartbeat rarely does anything useful on public pages, so switching it off there is low risk.
Relieves admin-ajax.php
On shared hosting this is often the endpoint that hits resource limits first.
Long intervals slow post locking
The warning that another user is editing the same post arrives later the longer the interval.

How to use it

Reduce first, disable only if you are sure

1
Open the Performance module
Go to Vectro > Performance in wp-admin.
2
Toggle Heartbeat Control on
It is on by default with a 60 second interval. The interval and front-end options sit just below it.
3
Disable the heartbeat on the front end
This is the safest change. The heartbeat rarely does anything useful on public pages.
4
Lengthen the interval if you need to
Heartbeat Interval accepts 15 to 300 seconds, and lower values are raised to 15. Moving from 60 to 120 halves the requests. On a multi-author site, keep it modest so post locking stays responsive.
5
Save Performance Settings and watch for autosave behaviour
If autosave or post locking stops behaving as expected, shorten the interval again.

Technical detail

What the heartbeat carries

The heartbeat posts to admin-ajax.php with the heartbeat action. WordPress and plugins hook that request to check whether a post is locked by another user, confirm the login session is still valid, and refresh dashboard widgets.

Vectro filters the heartbeat settings to change the interval, and unregisters the heartbeat script on front-end pages if you turn on Disable Heartbeat on Frontend. Plugins that rely on the heartbeat for their own live updates will be affected in proportion to how far you reduce it.

Default editor interval
15 seconds while the post editor is open.
Default admin interval
60 seconds elsewhere in wp-admin.
Endpoint
admin-ajax.php with the heartbeat action.
Front end
Can be disabled entirely, which is the lowest-risk change.
Admin
Interval set from 15 to 300 seconds, default 60. Vectro never switches the admin heartbeat off.
Depends on it
Post locking, autosave notifications and live dashboard widgets.

Compatibility

Vectro detects these and steps aside

WP Rocket
Vectro switches its own heartbeat control off while WP Rocket is active.
LiteSpeed Cache
Vectro steps aside so LiteSpeed keeps sole control of the heartbeat.
W3 Total Cache
Vectro switches its own heartbeat control off while W3 Total Cache is active.
Perfmatters
Vectro disables its own heartbeat control in favour of Perfmatters.

You can override any automatic deferral from the Compatibility panel in Vectro’s dashboard if you would rather Vectro handle it.

Questions

Frequently asked

What does the WordPress heartbeat API do?

The WordPress heartbeat API sends a request to admin-ajax.php on a timer to power post locking, autosave notifications and live dashboard updates. It fires every fifteen seconds while the post editor is open and every sixty seconds elsewhere in wp-admin.

Does Vectro heartbeat control work with WP Rocket?

No – if WP Rocket is active, Vectro detects it and disables its own heartbeat settings automatically. WP Rocket manages the heartbeat instead.

How do I reduce WordPress heartbeat requests in Vectro?

Go to Vectro > Performance in wp-admin, make sure Heartbeat Control is on, turn on Disable Heartbeat on Frontend and raise Heartbeat Interval from the default 60 seconds to 120. Keep the interval modest if more than one person edits posts.

Is Vectro heartbeat control free or Pro?

Yes, Vectro heartbeat control is free. It is included in the free Vectro plugin on WordPress.org with no account required.

Is it safe to disable the WordPress heartbeat completely?

Vectro only switches the heartbeat off on the front end, for site visitors, which is low risk. Inside wp-admin it lengthens the interval but never turns the heartbeat off, so post locking and autosave notices keep working, just less often.

Related features

Cut background server load

Vectro Pro adds a page load time monitor to track performance changes over time. See Pro plans

Download Vectro free on WordPress.org

27 features across Security, Performance and Maintenance. No account required, no expiry, unlimited sites.

Scroll to Top