Published on
Dec 17, 2024
Updated on
08 Jan 2025
Share

Optimize Server Resource Consumption with WPMasterToolKit's Heartbeat Control Module

Visit WordPress Heartbeat API is a powerful feature that enables real-time communication between browser and server, particularly for tasks such as automatic backups or notifications. However, on high-traffic sites or resource-limited hostings, this API can generate a heavy load on the server. The Heartbeat Control WPMasterToolKit has been specially designed to give you total control over the behavior of this API.

Which plugins can this module replace?

The module Heartbeat Control can easily replace plugins such as Heartbeat Control by WP Rocket. As an integrated feature of WPMasterToolKit, it offers a lightweight, high-performance all-in-one solution.

Discover the module : Image download control

Main features of the Heartbeat Control module

  1. Heartbeat frequency modification : You can adjust the communication interval between the browser and the server, reducing the load on your CPU.
  2. Targeted deactivation : Heartbeat can be disabled on specific areas of your site:
    • Administration pages
    • Content creation and editing screens
    • Site frontend
  3. Customizable options : Choose between keeping the default behavior, adjusting the frequency or disabling Heartbeat altogether, depending on your needs.
  4. Intuitive interface : A dedicated page in WPMasterToolKit lets you easily configure these parameters.

Why use the Heartbeat Control module?

The Heartbeat API is often a major contributor to excessive consumption of server resources. With this module, you can :

  • Reduce CPU load on shared or low-performance servers.
  • Optimizing performance for high-traffic sites.
  • Extend the life of user sessions by minimizing unnecessary calls.
Discover the module : Limit connection attempts

How do I use the Heartbeat Control module?

  1. Activate the : From the WPMasterToolKit control panel, activate the module Heartbeat Control.
  2. Go to the dedicated menu : Once activated, a section entitled "Heartbeat Control" will be accessible from the settings menu.
  3. Set your preferences :
    • For administration pages, creation/editing screens and frontend, choose one of the following options:
      • Keep default behavior
      • Change frequency (15 seconds, 30 seconds, 1 minute, etc.)
      • Disable completely
  4. Save your settings : Click on "Save", and your settings will be applied immediately.
Heartbeat WordPress control settings displayed on screen.

Technical documentation: the hooks used

The module uses native WordPress hooks to modify or disable Heartbeat API behavior:

  1. Filter heartbeat_settings
    This filter allows you to modify the Heartbeat frequency based on the settings configured in administration.
    Example: add_filter( 'heartbeat_settings', array( $this, 'maybe_modify_heartbeat_frequency' ), 99 );
    • It adjusts the minimalInterval to set the interval between Heartbeat API pings.
  2. Action wp_enqueue_scripts and admin_enqueue_scripts
    These actions completely disable Heartbeat by deleting its native JS script.
    Example: wp_deregister_script( 'heartbeat' );

Our technical choices

  • Flexibility and compatibility : The module uses native WordPress filters and actions to modify or deactivate Heartbeat, ensuring optimum compatibility with other plugins.
  • Granular control : Separate configuration for administration pages, authoring/editing screens and frontend offers advanced customization according to the specific needs of each site.
  • Enhanced performance : By adjusting or deactivating Heartbeat, you can minimize server load while maintaining essential functionality.
Pro
from
2.50$
/Month
14
Days
Money-back guarantee
risk-free at 100 %!

Conclusion

The module Heartbeat Control from WPMasterToolKit is an ideal solution for WordPress administrators wishing to optimize server resource consumption. Thanks to simple, flexible settings, it offers advanced Heartbeat API management without the need for advanced technical knowledge. Try this module today to improve your site's performance and guarantee an optimal user experience!

Category
Contents & Media
Version
≤ 1.5.0
Type
Free
More than 18 reviews
+1000
Installations
104
Modules
Pro
from
30.00$
/Year