內容簡介
如果您已設置任何緩存解決方案,請瀏覽您的 WordPress 網站以熱門(建立)緩存。
設置
配置緩存熱身頁面和深度;
選擇將所有公共站點文章(任何類型)添加為入口點的選項;
選擇將入口點站點地圖添加為入口點的選項;
選擇要加載的資產類型,包括四個核取方塊:腳本、樣式、圖像、字體;
設置自訂 URL 參數(?foo=bar);
設置自訂使用者代理;
設置自訂 cookies;
設置連線超時;
設置速度限制(每分鐘訪問的頁面數);
間隔時間:運行熱身每 N 分鐘;
將 URL 重寫為 HTTPS;
沒有自訂 URL 參數(如果已設置)的情況下第二次訪問頁面;
用戶發布和編輯時的文章熱身(可以在日誌中查看->觸發):
設置自訂文章熱身間隔。
在可用時使用物件緩存進行樹存儲。
附加
將頁面載入時間的圖表添加到儀表板,顯示每天熱身前後的頁面載入時間(2 條線)。
外部服務
從外部全球伺服器連接到付費服務進行熱身。
錯誤報告/問題/建議
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Visits website pages to warm (create) the cache if you have any caching solutions configured.
Settings
Configure cache warming entry points and the depth of the warming;
Add all public site posts as entry points;
Add entry point sites sitemaps as entry points;
Select which types of assets to load, with 4 checkboxes: scripts, styles, images, fonts;
Set custom URL params (?foo=bar);
Set custom user agent;
Set custom request headers;
Set custom cookies;
Set connection timeout;
Set speed limit (pages to visit per minute);
Autorun Interval: to run the warming each N minutes;
Exclude pages (by substring or regex);
Rewrite URLs to HTTPS;
Visit pages second time without custom URL params (if they are set);
Warm-up posts (on their publication and edit (Can be seen in Logs -> Triggered)):
Set custom posts warming interval.
Use object cache for tree storage, when it’s available.
Additional
Adds a graph to your dashboard with page load time before and after the warming (2 lines) per day.
Cleans up Action Scheduler log after itself (older than 30 days for failed actions, and older than 2 days for completed actions).
External services
Connect to paid service for warming from external global servers.
Run from code
Start: \Cache_Warmer\AJAX::start_warm_up( false );
Stop: \Cache_Warmer\AJAX::stop_warm_up( false );
Run from WP CLI
Start: wp cache-warmer start
Stop: wp cache-warmer stop
Required PHP extensions
json
simplexml (optional)
Bug reports / Questions / Suggestions
[email protected]
