{"id":13384,"date":"2026-06-18T06:47:56","date_gmt":"2026-06-18T06:47:56","guid":{"rendered":"https:\/\/www.webystrata.com\/blog\/?p=13384"},"modified":"2026-06-18T06:47:56","modified_gmt":"2026-06-18T06:47:56","slug":"frequency-of-wordpress-heartbeat","status":"publish","type":"post","link":"https:\/\/www.webystrata.com\/blog\/frequency-of-wordpress-heartbeat\/","title":{"rendered":"How To Set Frequency Of WordPress Heartbeat And Limit Executions"},"content":{"rendered":"<h1>How To Set Frequency Of WordPress Heartbeat And Limit Executions<\/h1>\n<p>The WordPress Heartbeat API is a built-in feature that enables real-time communication between your browser and the WordPress server. It performs several important tasks behind the scenes, such as autosaving posts, managing user sessions, displaying plugin notifications, and preventing content conflicts when multiple users edit the same post.<\/p>\n<p>While these functions are useful, the Heartbeat API can also generate a large number of AJAX requests. On websites with multiple administrators, editors, or authors, these requests may increase server load and consume valuable hosting resources. Fortunately, WordPress allows you to control the Heartbeat API using plugins, making it easy to reduce unnecessary server activity without editing code.<\/p>\n<p>In this guide, you&#8217;ll learn how to set the frequency of WordPress Heartbeat and limit its executions using a plugin.<\/p>\n<h2>What Is the WordPress Heartbeat API?<\/h2>\n<p>The Heartbeat API uses AJAX calls to communicate with the server at regular intervals. By default, WordPress sends Heartbeat requests every 15 to 60 seconds depending on the area of the website and the actions being performed.<\/p>\n<p>The Heartbeat API is responsible for:<\/p>\n<ul>\n<li>Autosaving posts and pages while editing<\/li>\n<li>Maintaining active user sessions<\/li>\n<li>Displaying real-time dashboard notifications<\/li>\n<li>Preventing multiple users from editing the same content simultaneously<\/li>\n<li>Supporting various plugin functionalities<\/li>\n<\/ul>\n<p>Although these features improve the user experience, excessive Heartbeat requests can lead to higher CPU usage and slower website performance.<\/p>\n<h2>Why Limit WordPress Heartbeat Executions?<\/h2>\n<p>Optimizing the WordPress Heartbeat API can provide several benefits:<\/p>\n<p>1. Reduces Server Load<\/p>\n<p>2. Improves Website Performance<\/p>\n<p>3. Prevents Hosting Resource Issues<\/p>\n<p>4. No Coding Required<\/p>\n<p>5. Preserves Important Features<\/p>\n<h2>\u00a0Adjust Heartbeat Frequency Using a Plugin<\/h2>\n<p>This is the easiest and safest method for most WordPress users.<\/p>\n<h3>Step 1: Log in to Your WordPress Dashboard<\/h3>\n<p>Begin by accessing your WordPress administration area.<\/p>\n<p>Open your web browser and visit:<\/p>\n<p><code><a href=\"https:\/\/yourdomain.com\/wp-admin\" target=\"_blank\" rel=\"noopener\">https:\/\/yourdomain.com\/wp-admin<\/a><\/code><\/p>\n<p>Enter your administrator username and password, then click <strong>Log In<\/strong>.<\/p>\n<p>Once logged in, you will be redirected to the WordPress Dashboard.<\/p>\n<p>&nbsp;<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-13391\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/wp-dashboard-18.webp\" alt=\"how-to-set-frequency-of-wordpress-heartbeat-and-limit-executions\u00a0\" width=\"1918\" height=\"916\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/wp-dashboard-18.webp 1918w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/wp-dashboard-18-300x143.webp 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/wp-dashboard-18-1024x489.webp 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/wp-dashboard-18-768x367.webp 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/wp-dashboard-18-1536x734.webp 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/wp-dashboard-18-18x9.webp 18w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Step 2: Install a Heartbeat Control Plugin<\/h3>\n<ul>\n<li><span style=\"color: #000000;\">Select<strong data-start=\"2973\" data-end=\"3016\">\u00a0 \u00a0Plugins\u00a0\u00a0\u2192\u00a0 Add Plugin<\/strong><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-13392\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/add-plug-4.webp\" alt=\"how-to-set-frequency-of-wordpress-heartbeat-and-limit-executions\" width=\"1917\" height=\"911\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/add-plug-4.webp 1917w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/add-plug-4-300x143.webp 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/add-plug-4-1024x487.webp 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/add-plug-4-768x365.webp 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/add-plug-4-1536x730.webp 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/add-plug-4-18x9.webp 18w\" sizes=\"(max-width: 1917px) 100vw, 1917px\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Search For Plugin<\/li>\n<\/ul>\n<p>Several plugins can help you manage Heartbeat settings effectively.<\/p>\n<h4>Heartbeat Control<\/h4>\n<h4>Perfmatters<\/h4>\n<h4>WP Rocket<\/h4>\n<p>Choose the plugin that best suits your needs and install it from the WordPress Plugin Directory or upload it manually if you have a premium version.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-13393\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/search-2.webp\" alt=\"how-to-set-frequency-of-wordpress-heartbeat-and-limit-executions\" width=\"1917\" height=\"912\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/search-2.webp 1917w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/search-2-300x143.webp 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/search-2-1024x487.webp 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/search-2-768x365.webp 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/search-2-1536x731.webp 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/search-2-18x9.webp 18w\" sizes=\"(max-width: 1917px) 100vw, 1917px\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Click on <strong>Install now<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13394\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/install-2.webp\" alt=\"how-to-set-frequency-of-wordpress-heartbeat-and-limit-executions\" width=\"1915\" height=\"912\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/install-2.webp 1915w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/install-2-300x143.webp 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/install-2-1024x488.webp 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/install-2-768x366.webp 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/install-2-1536x732.webp 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/install-2-18x9.webp 18w\" sizes=\"(max-width: 1915px) 100vw, 1915px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Step 2: Activate the Plugin<\/h3>\n<p>After installation:<\/p>\n<ul>\n<li>Click <strong>Activate<\/strong>.<\/li>\n<\/ul>\n<p>Once activated, the plugin settings will become available in the dashboard.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13395\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/activate-4.webp\" alt=\"how-to-set-frequency-of-wordpress-heartbeat-and-limit-executions\" width=\"1918\" height=\"898\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/activate-4.webp 1918w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/activate-4-300x140.webp 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/activate-4-1024x479.webp 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/activate-4-768x360.webp 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/activate-4-1536x719.webp 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/activate-4-18x8.webp 18w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Step 3: Configure Heartbeat Settings<\/h3>\n<ul>\n<li><span style=\"color: #000000;\">Go to Settings Select <strong>HeartBeat Control<\/strong><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13397\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/set-beat.webp\" alt=\"how-to-set-frequency-of-wordpress-heartbeat-and-limit-executions\" width=\"1915\" height=\"910\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/set-beat.webp 1915w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/set-beat-300x143.webp 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/set-beat-1024x487.webp 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/set-beat-768x365.webp 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/set-beat-1536x730.webp 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/set-beat-18x9.webp 18w\" sizes=\"(max-width: 1915px) 100vw, 1915px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Most Heartbeat control plugins provide options to:<\/p>\n<ul>\n<li>Reduce Heartbeat frequency<\/li>\n<li>Limit Dashboard activity<\/li>\n<li>Limit Post Editor activity<\/li>\n<li>Disable Heartbeat on frontend pages<\/li>\n<li>Customize intervals for different sections<\/li>\n<\/ul>\n<h3>Recommended Settings<\/h3>\n<table>\n<thead>\n<tr>\n<th>Area<\/th>\n<th>Recommended Interval<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Dashboard<\/td>\n<td>60 Seconds<\/td>\n<\/tr>\n<tr>\n<td>Post Editor<\/td>\n<td>60\u2013120 Seconds<\/td>\n<\/tr>\n<tr>\n<td>Frontend<\/td>\n<td>Disable if not required<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>These settings offer a good balance between functionality and performance.<\/p>\n<ul>\n<li>Dashboard<\/li>\n<li>Post Editor<\/li>\n<li>Frontend<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13398\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/details-4.webp\" alt=\"how-to-set-frequency-of-wordpress-heartbeat-and-limit-executions\" width=\"1918\" height=\"908\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/details-4.webp 1918w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/details-4-300x142.webp 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/details-4-1024x485.webp 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/details-4-768x364.webp 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/details-4-1536x727.webp 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/details-4-18x9.webp 18w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Step 4: Save Changes<\/h3>\n<p>After configuring your preferred settings:<\/p>\n<ol>\n<li>Click <strong>Save Changes<\/strong>.<\/li>\n<li>Clear any website cache if applicable.<\/li>\n<li>Continue using the website normally.<\/li>\n<\/ol>\n<p>Monitor server performance over the next few days. Most users notice reduced CPU usage and fewer AJAX requests shortly after implementing Heartbeat optimization.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13399\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/save-11.webp\" alt=\"how-to-set-frequency-of-wordpress-heartbeat-and-limit-executions\" width=\"1918\" height=\"911\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/save-11.webp 1918w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/save-11-300x142.webp 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/save-11-1024x486.webp 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/save-11-768x365.webp 768w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/save-11-1536x730.webp 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2026\/06\/save-11-18x9.webp 18w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>How to Verify Heartbeat Optimization<\/h2>\n<p>You can confirm that your settings are working by checking AJAX activity.<\/p>\n<h3>Using Browser Developer Tools<\/h3>\n<ol>\n<li>Open your WordPress dashboard.<\/li>\n<li>Press <strong>F12<\/strong> on your keyboard.<\/li>\n<li>Select the <strong>Network<\/strong> tab.<\/li>\n<li>Filter requests by <strong>XHR<\/strong>.<\/li>\n<li>Look for requests to <strong>admin-ajax.php<\/strong>.<\/li>\n<\/ol>\n<p>After adjusting the Heartbeat settings, you should see fewer requests being generated.<\/p>\n<h2>Best Practices<\/h2>\n<p>To get the best results:<\/p>\n<ul>\n<li>Keep Heartbeat enabled in the Post Editor.<\/li>\n<li>Avoid setting intervals that are too long.<\/li>\n<li>Disable Heartbeat on the frontend if it is not required.<\/li>\n<li>Regularly monitor server resource usage.<\/li>\n<li>Combine Heartbeat optimization with caching plugins and database maintenance.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>The WordPress Heartbeat API is an important feature that powers autosave, user sessions, and real-time updates. However, excessive Heartbeat activity can increase server load and impact website performance. By using a Heartbeat control plugin, you can easily set the frequency of WordPress Heartbeat and limit unnecessary executions without modifying any code.<\/p>\n<p>For most websites, setting the Dashboard interval to 60 seconds, using a 60\u2013120 second interval in the Post Editor, and disabling Heartbeat on the frontend provides an excellent balance between functionality and performance. This simple optimization can help reduce server resource usage, improve dashboard responsiveness, and create a smoother experience for both administrators and visitors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How To Set Frequency Of WordPress Heartbeat And Limit Executions The WordPress Heartbeat API is a built-in feature that enables real-time communication between your browser and the WordPress server. It performs several important tasks behind the scenes, such as autosaving posts, managing user sessions, displaying plugin notifications, and preventing content conflicts when multiple users edit [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":13401,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10],"tags":[],"class_list":["post-13384","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-latest-updates","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/13384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/comments?post=13384"}],"version-history":[{"count":0,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/13384\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media\/13401"}],"wp:attachment":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media?parent=13384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/categories?post=13384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/tags?post=13384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}