WordPress Heartbeat API - Reduce Server Load Without Losing Autosave (2026)

The Heartbeat API keeps your browser and server in touch while you work in WordPress. It's useful, but with many open tabs or editors on modest hosting, those regular background requests can add real server load.

What the Heartbeat API Does

Introduced in WordPress 3.6, the Heartbeat API sends regular requests from your browser to the server through admin-ajax.php. It powers several features you probably rely on:

By default, it runs more often in the post editor, around every 15 seconds, and less often on other admin screens, around once a minute.

When Heartbeat Becomes a Problem

Illustration for When Heartbeat Becomes a Problem on the WordPress Heartbeat API page, showing a wrench diagram

Each heartbeat request runs PHP on your server and isn't cached. A single tab barely matters. Problems appear when requests multiply:

If your host's resource graphs show steady load from admin-ajax.php even when traffic is low, Heartbeat is a likely contributor.

Heartbeat Settings by Location

Recommended Heartbeat settings
LocationWhat It Does ThereOur Suggestion
Post editorAutosave, post locking, login checksReduce activity; don't disable
Dashboard and other admin screensLive updates, notificationsReduce activity
Front endUsed by some plugins for live featuresDisable if no front-end feature needs it

Disabling Heartbeat in the editor turns off autosave and post locking, which can cost you work or cause editors to overwrite each other. That's rarely worth the small saving.

How to Control Heartbeat With WP Rocket

WP Rocket includes Heartbeat control in its Backend section. With Control Heartbeat enabled, you can choose for each area, backend, post editor and front end, whether to reduce activity, disable it or leave it unlimited.

Reducing activity changes the interval from one request per minute to one every two minutes, according to WP Rocket's documentation. WP Rocket enables Reduce activity by default, so most sites are already covered.

  1. Open WP Rocket's settings

    Go to the Backend section and find Heartbeat.

  2. Enable Control Heartbeat

    Tick the checkbox.

  3. Choose per location

    Reduce activity for backend and post editor; disable on the front end if nothing needs it.

  4. Save and test

    Edit a post and confirm autosave still works; check any live features you rely on.

Other Ways to Control It

Illustration for Other Ways to Control It on the WordPress Heartbeat API page, showing a server diagram

If you don't use WP Rocket, other options include:

Front-End Heartbeat: When It's Needed

Most sites don't need Heartbeat on the front end. But some plugins use it for live features visitors see, such as:

Before disabling front-end Heartbeat, check your key features still work. If something stops updating live, re-enable it on the front end and reduce its frequency instead.

How to Tell If Heartbeat Is Hurting You

If these appear, reduce Heartbeat and also encourage editors to close admin tabs they're not using.

Heartbeat and Page Builders

Illustration for Heartbeat and Page Builders on the WordPress Heartbeat API page, showing a layout diagram

Page builders and some editors rely on Heartbeat to keep your login session alive and save work in the background. If you disable Heartbeat in the backend or editor, you may see session timeouts or lose unsaved changes in the builder.

That's another reason to reduce rather than disable it in the admin. If you do restrict it and notice builder problems, set the backend back to reduced activity and test again.

Heartbeat on Busy Multi-Author Sites

On sites with many editors, Heartbeat's post locking is valuable: it prevents two people from overwriting each other's changes. Keep it running in the editor, at a reduced frequency, so locks still work.

Encourage editors to close admin tabs when they're done. Each open tab keeps sending heartbeat requests, even in the background.

Typical Heartbeat setup by site type
Site TypeBackendPost EditorFront End
Single-author blogReduceReduceDisable
Multi-author publicationReduceReduce (keep running)Disable
WooCommerce storeReduceReduceCheck plugins before disabling
Membership or communityReduceReduceCheck live features before disabling

Heartbeat and Front-End Speed

Heartbeat rarely affects your public page speed or Core Web Vitals, because it mostly runs in the admin and only for logged-in users. Controlling it is about server load and admin responsiveness, not PageSpeed scores. For visitor-facing speed, focus on caching, CSS, JavaScript and images. See how to speed up WordPress.

WordPress Heartbeat API FAQ

What is the WordPress Heartbeat API?

A built-in feature that sends regular background requests from your browser to the server for autosave, post locking, login checks and live updates.

Should I disable the Heartbeat API?

Disable it only where nothing needs it, usually the front end. In the editor and dashboard, reducing activity is safer.

Does WP Rocket control Heartbeat?

Yes. It reduces Heartbeat activity by default and lets you set reduce, disable or no limit separately for backend, editor and front end.

Will controlling Heartbeat improve my PageSpeed score?

Usually not. It reduces server load and helps admin responsiveness, mainly on modest hosting.