How to configure the WordPress heartbeat

Spread the love

This article describes what the WordPress heartbeat is, how it can affect site performance, and how you can configure it.

Table of Contents
About the WordPress heartbeat
Configuring the WordPress heartbeat using a plugin
About the WordPress heartbeat
The “heartbeat” feature enables WordPress to monitor user actions and send periodic updates to the web server. The heartbeat is used to save drafts automatically, lock post edits, log out administrators after an idle period, and more.

However, in some scenarios the heartbeat may send an excessive amount of requests to the server. When this occurs, site performance can suffer. For example, CPU loads may increase, or you may receive “The Connection Has Been Reset” messages in your browser.

To see the WordPress heartbeat in action, examine the raw HTTP headers sent between the browser and web server. (To do this, use a browser plugin that displays the raw headers such as Live HTTP headers for Mozilla Firefox, or the Developer Tools feature in Google Chrome.) You will see periodic HTTP POST requests sent from the browser to the wp-admin/admin-ajax.php file.
By default, WordPress does not provide a way to disable or change the heartbeat settings. However, you can install a plugin to do this.

Configuring the WordPress heartbeat using a plugin
The easiest way to configure the WordPress heartbeat is to use a plugin. The LiteSpeed Cache for WordPress plugin enables you to quickly and easily do this.

If you have not already installed the LiteSpeed Cache for WordPress plugin on your WordPress site, please see this article for information about how to do so.
To configure the heartbeat using the LiteSpeed cache plugin, follow these steps:

Log in to your WordPress site as the administrator.
In the left-hand pane, click LiteSpeed Cache, and then click Toolbox:
WordPress – LiteSpeed Cache – sidebar – Toolbox

On the LiteSpeed Cache Toolbox page, click the Heartbeat tab:

WordPress – LiteSpeed cache – Toolbox – Heartbeat tab

A list of available settings appears. For detailed information about each of the options, please visit https://docs.litespeedtech.com/lscache/lscwp/toolbox/#heartbeat-tab.
Click Save Changes. The new heartbeat settings take effect immediately.

FAQs

Frequently Asked Questions

What is a Premium Domain Name?   A premium domain name is the digital equivalent of prime real estate. It’s a short, catchy, and highly desirable web address that can significantly boost your brand's impact. These exclusive domains are already owned but available for purchase, offering you a shortcut to a powerful online presence. Why Choose a Premium Domain? Instant Brand Boost: Premium domains are like instant credibility boosters. They command attention, inspire trust, and make your business look established from day one. Memorable and Magnetic: Short, sweet, and unforgettable - these domains stick in people's minds. This means more visitors, better recall, and ultimately, more business. Outshine the Competition: In a crowded digital world, a premium domain is your secret weapon. Stand out, get noticed, and leave a lasting impression. Smart Investment: Premium domains often appreciate in value, just like a well-chosen piece of property. Own a piece of the digital world that could pay dividends. What Sets Premium Domains Apart?   Unlike ordinary domain names, premium domains are carefully crafted to be exceptional. They are shorter, more memorable, and often include valuable keywords. Plus, they often come with a built-in advantage: established online presence and search engine visibility. How Much Does a Premium Domain Cost?   The price tag for a premium domain depends on its desirability. While they cost more than standard domains, the investment can be game-changing. Think of it as an upfront cost for a long-term return. BrandBucket offers transparent pricing, so you know exactly what you're getting. Premium Domains: Worth the Investment?   Absolutely! A premium domain is more than just a website address; it's a strategic asset. By choosing the right premium domain, you're investing in your brand's future and setting yourself up for long-term success. What Are the Costs Associated with a Premium Domain?   While the initial purchase price of a premium domain is typically higher than a standard domain, the annual renewal fees are usually the same. Additionally, you may incur transfer fees if you decide to sell or move the domain to a different registrar. Can I Negotiate the Price of a Premium Domain? In some cases, it may be possible to negotiate the price of a premium domain. However, the success of negotiations depends on factors such as the domain's demand, the seller's willingness to negotiate, and the overall market conditions. At BrandBucket, we offer transparent, upfront pricing, but if you see a name that you like and wish to discuss price, please reach out to our sales team. How Do I Transfer a Premium Domain?   Transferring a premium domain involves a few steps, including unlocking the domain, obtaining an authorization code from the current registrar, and initiating the transfer with the new registrar. Many domain name marketplaces, including BrandBucket, offer assistance with the transfer process.