• Are there any effects of disabling the heartbeat API or what is the ideal configuration settings for heartbeat API in order to speed up the site?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The Heartbeat API allows your browser to communicate with the server using AJAX calls when you are logged in to the Admin page. This allows other authors to show that a post is being edited and for the plugin developers to show real-time notifications.

    Since this will slow down your server if you have too many requests you need to control it by installing “Heartbeat Control Plugin“. This will control your Heartbeat Locations and override Heartbeat frequency.

    Hope this helps!

    Better use this code than a plugin that has not been updated for years:

    /**
    * xxxxxx TOTALLY DISABLE HEARTBEAT
    */
    add_action( ‘init’, ‘stop_heartbeat’, 1 );
    function stop_heartbeat() {
    wp_deregister_script(‘heartbeat’);
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Effects of disabling the heartbeat API’ is closed to new replies.