Heartbeat Control by WP Rocket allows you to manage the frequency of the WordPress heartbeat API in a few clicks.
The WordPress Heartbeat API is a great feature that provides real-time communication between the server and the browser when you are logged into your WordPress admin panel. It uses the file /wp-admin/admin-ajax.php to run AJAX calls from the browser. By default, AJAX requests are sent every 15 seconds on post edit pages, and every 60 seconds on the dashboard.
This is indeed helpful; but if you usually leave your WordPress admin open for long periods (for example when you write or edit posts), the AJAX requests from the API can pile up and generate high CPU usage, leading to server performance issues and even hosting account suspensions.
With Heartbeat Control by WP Rocket, you can easily choose to limit or completely stop the activity of the WordPress Heartbeat API. You can also add rules for specific locations only (Dashboard, Frontend or Post Editor).
To learn more about WordPress performance optimization and make your website faster, join our WP Rocket Facebook Community!
- WP Rocket: Best caching plugin to speed-up your WordPress website.
- Lazy Load by WP Rocket: Best Lazy Load script to reduce the number of HTTP requests and improves the websites loading time.
- Imagify: Best Image Optimizer to speed up your website with lighter images.