[WordPress] 外掛分享: Heartbeat Control

首頁外掛目錄 › Heartbeat Control
WordPress 外掛 Heartbeat Control 的封面圖片
80,000+
安裝啟用
★★★★
4.2/5 分(68 則評價)
930 天前
最後更新
問題解決
WordPress 3.6+ PHP 5.3+ v2.0.1 上架:2014-11-15

內容簡介

Heartbeat Control by WP Rocket 可以讓您輕鬆管理 WordPress 心跳 API 的頻率。

WordPress 心跳 API 是一個很棒的功能,當您登入 WordPress 管理員面板時,可以提供伺服器和瀏覽器之間的即時通訊。它使用文件 /wp-admin/admin-ajax.php 從瀏覽器運行 AJAX 請求。預設情況下,當您在文章編輯頁面時,AJAX 請求每 15 秒發送一次,而在儀表板上則每 60 秒發送一次。

這確實很有幫助;但是,如果您通常會長時間保持 WordPress 管理員開啟(例如當您編寫或編輯文章時),API 的 AJAX 請求可能會累積並產生高 CPU 使用率,導致伺服器性能問題甚至帳戶暫停。

使用 Heartbeat Control by WP Rocket,您可以輕鬆選擇限制或完全停止 WordPress 心跳 API 的活動。您也可以為特定位置添加規則(儀表板、前端或文章編輯器)。

要了解更多 WordPress 效能優化並使您的網站更快,請加入我們的 WP Rocket Facebook 社群!

相關外掛

WP Rocket:最佳提高 WordPress 網站速度的緩存外掛。
Lazy Load by WP Rocket:最佳 Lazy Load 外掛,可以減少 HTTP 請求並改善網站的載入時間。
Imagify:最佳圖像優化工具,可通過更輕的圖像加快您的網站速度。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Heartbeat Control」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Heartbeat Control by WP Rocket allows you to manage the frequency of the WordPress heartbeat API in a few clicks.
The WordPress Heartbeat API is a great feature that provides real-time communication between the server and the browser when you are logged into your WordPress admin panel. It uses the file /wp-admin/admin-ajax.php to run AJAX calls from the browser. By default, AJAX requests are sent every 15 seconds on post edit pages, and every 60 seconds on the dashboard.
This is indeed helpful; but if you usually leave your WordPress admin open for long periods (for example when you write or edit posts), the AJAX requests from the API can pile up and generate high CPU usage, leading to server performance issues and even hosting account suspensions.
With Heartbeat Control by WP Rocket, you can easily choose to limit or completely stop the activity of the WordPress Heartbeat API. You can also add rules for specific locations only (Dashboard, Frontend or Post Editor).
To learn more about WordPress performance optimization and make your website faster, join our WP Rocket Facebook Community!
Related Plugins

WP Rocket: Best caching plugin to speed-up your WordPress website.
Lazy Load by WP Rocket: Best Lazy Load script to reduce the number of HTTP requests and improves the websites loading time.
Imagify: Best Image Optimizer to speed up your website with lighter images.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon