| 开发者 | sonofgod80 |
|---|---|
| 更新时间 | 2026年6月23日 16:31 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
admin-ajax.php requests?
By default, the native WordPress Heartbeat API constantly pulses in the background (every 15 to 60 seconds) to handle autosaves and notifications. On high-traffic sites, multi-author blogs, or busy WooCommerce stores, this silent stream of background requests can completely saturate your server resources, slowing down your site for both visitors and administrators.
Heartbeat Manager is the ultimate lightweight performance solution designed to put an end to server resource waste. It gives you total control over background polling frequencies, allowing you to save hosting costs, boost backend speed, and eliminate server crashes.
Unlike aggressive optimization methods that completely disable the heartbeat and break essential features, this plugin allows you to granularly optimize your site's heartbeat frequency zone by zone.
Key Benefits & Features:
levelnetwork-heartbeat-manager folder to the /wp-content/plugins/ directory, or install it directly via the WordPress Plugins dashboard.No, it will not break your site's core layout or design. However, completely disabling it on the frontend might affect real-time updates from specific third-party layout widgets that rely on it (e.g., live notification badges or certain real-time dynamic bidding plugins). If you notice any frontend sync issues, simply change the setting from "Disabled" to 60 or 120 seconds.
For maximum performance under high traffic, we highly recommend setting the Backend interval to 60 or 120 seconds, the Editor frequency to 30 or 60 seconds, and setting the Frontend to "Disabled". This setup drastically reduces the number of background AJAX requests hitting your server while keeping your cart functions stable.
This is completely normal and actually a fantastic sign! WordPress does not load the Heartbeat script on the public frontend by default. If you see this error, it means neither your theme nor any active plugins are running background loops on your public pages. Your frontend is already naturally optimized and completely free of background AJAX hits.
No, it won't cause any lag. However, if you increase the interval to the maximum (e.g., 300 seconds), your automatic layout backups (autosaves) will only happen every 5 minutes. If you are actively designing with heavy page builders like Elementor or Divi, we recommend keeping the Editor frequency at 30 or 60 seconds. This gives you the perfect balance between server CPU relief and content safety.
lnhm_ across all constants, options, classes, and variables to ensure 100% compliance with WordPress.org guidelines.esc_attr, esc_html) and proper sanitization (intval) for better security.