Heartbeat Control


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).

如需進一步了解 WordPress 效能最佳化及網站加速的方式,請加入 WP Rocket Facebook 社團


  • WP Rocket:最優秀的快取外掛,它能為任何 WordPress 提供加速功能。
  • Lazy Load by WP Rocket:最優秀的延遲載入外掛,它能降低 HTTP 要求次數,並改善網站載入時間。
  • Imagify:最優秀的圖片最佳化外掛,能讓圖片以最佳畫質及檔案大小加速網站。


  • Heartbeat API 設定
  • 精確修改 Heartbeat API 使用頻率


  1. 將由外掛壓縮檔解壓縮所得的 heartbeat-control 資料夾及其所包含的全部檔案上傳至 /wp-content/plugins/ 目錄。
  2. 在 [外掛] 頁面啟用 Heartbeat Control 外掛。
  3. 在 [外掛]→[控管 Heartbeat API] 能變更外掛全部設定。



前往 [外掛]→[控管 Heartbeat API] 便能變更外掛全部設定。

Why would I want to change the default heartbeat intervals?

If you commonly leave your WordPress admin up for long periods of time, especially while writing or editing a post, the repeated POST requests can cause high resource usage. To avoid this, the heartbeat can be modified or even disabled to lower your server resource usage.

Where do I report security bugs found in this plugin?

You can report any security bugs found in the source code of the site-reviews plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.


2023 年 7 月 13 日
Much appreciate this plugin which allows me to have more control over optimizing my site - and for free.
2023 年 1 月 5 日
Ancient plugin, untested, produce errors as soon as you activate it: The plugin generated 630 characters of unexpected output during activation Also has errors on it's dashboard menu, trying to ping wordpress.org resulting in 404 error. Old bad, dangerous. Remove it from your site and WP repository.
2022 年 11 月 9 日
All the three options in "General settings" are not displayed. When I deactivate EverlightBox, everything goes back to normal. I have WP v. 6.1 and the free version of Event Star theme (with Gutentor - Gutenberg Blocks and SiteOrigin page builders). Cheers 🙂
閱讀全部 67 則使用者評論


以下人員參與了開源軟體〈Heartbeat Control〉的開發相關工作。


〈Heartbeat Control〉外掛目前已有 10 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Heartbeat Control〉外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Fix PHP warnings & deprecated notices

2.0 – 2019/11/04

  • Revamp the settings page.


  • Fixed issue caused by previous version deployment.
  • Added hbc_disable_notice hook to force dismissal of update notices.
  • Additional documentation added.
  • Minor standards adjustments.


  • Updated CMB2 to 2.4.2.
  • Bumpted “tested up to” version.
  • Fixed a bug that occurred if no locations were selected.
  • Minor standards adjustments.


  • Added composer.json and composer.lock that were missing.
  • Updated CMB2 to 2.3
  • Translation files generated.
  • Language path and text domain added to plugin header.
  • Bumped compatible WP version.


  • Minor bugfixes.


  • Fixed issue that would cause some users to not see the modification slider.


  • Added conditional logic.
  • Multiple actions can now be performed.
  • Scripts are bundled and minified.
  • Changes to settings structure.
  • Miscellaneous bugfixes.


  • Readme updates.


  • Bugfixes.
  • Resolves potential fatal error mistakenly pushed to 1.1.


  • Bugfixes.


  • Rewritten from the ground up for future extensibility.
  • Performance enhancements.
  • Improved UI.
  • Better handling for late calls to the Heartbeat API.
  • New condition settings for filtering on the frontend.


  • Bumped tested version
  • Added donation button


  • Initial release.