How To Configure Heartbeat Control For WordPress
When it comes to optimizing WordPress, sometimes you need to attack an issue that doesn't directly make your website faster. The Heartbeat API is a piece of JavaScript that allows WordPress to ping your browser to see if it is still active. This is used for monitoring for features like autosave.
However, if you are on a slower server or you're simply trying to optimize the website to use fewer resources on your server, the Heartbeat API can be a major source of stress for the server. Therefore, it's typically recommended to optimize the usage of this API and if you're new to WordPress you will want to use a plugin.
How to Configure the Heartbeat Control Plugin
The first thing you will want to do is install the Heartbeat Control plugin from the WordPress.org repository.
After the plugin is installed, we recommend configuring the plugin with the following settings.
[Disable] Frontend Option: We recommend disabling this feature altogether. This is the ideal setting for most websites; unless you have a dynamic front-end feature that requires Ajax or auto-saving. Disabling this should not cause any problems.
For the post editor screen, you can keep on the allow OR select modify and increase the option to 60.
[Disable] WordPress Dashboard Option: Should be set to either disable (which is likely to cause issues on more complex websites) OR modify heartbeat and increase the time to 300.
Closing Thoughts
After decreasing the Heartbeat API tick speed and optimizing its usage on your homepage, your website should be faster. It should also use less resources, thus making the backend a little snappier.
If you have any questions regarding the video tutorial or Heartbeat Control in general, feel free to ask below.
Scott Hartley
Founder & CEO, Sert Media
Founder and CEO of Sert Media, a Nashville-based digital marketing agency. Scott has spent over 15 years helping businesses grow through SEO, web performance optimization, and strategic digital marketing. His deep expertise in WordPress development, site speed, and technical SEO has guided hundreds of brands toward measurable results. When he's not auditing Core Web Vitals or refining campaign strategies, he's writing about the tools, techniques, and trends shaping the modern web.
Related Articles
How to Add Security Headers to WordPress Using Cloudflare Transform Rules
If you've ever run your WordPress site through securityheaders.com and gotten a D or F…
Use This Cloudflare Rule To Reduce Plugin Hack Attempts
Cloudflare Firewall Rules give you a lot of flexibility in further protecting your website. Here…
Set Up Cloudflare's Automatic Platform Optimization Feature
Automatic Platform Optimization (APO) is a new feature from Cloudflare that allows you to cache…