內容簡介
SuperHertz Cache Preloader 是一款強大的 LiteSpeed Cache 陪伴外掛,確保您的頁面、文章、產品及自定義文章類型始終預先加載到快取中,讓訪客不會遇到冷的未快取頁面。
【主要功能】
• 自動網站爬蟲:自動發現並加熱所有公共頁面和產品
• 平行處理引擎:多線程 cURL 引擎同時處理多個 URL
• 智能節流保護:當伺服器資源過載時自動減少並發數量
• TTFB 延遲追蹤:監控每個 URL 的首次位元組時間
• 設定並發數量:根據伺服器容量設定平行線程數量
• 手動一鍵加熱:隨時從控制台觸發完整快取加熱
外掛標籤
開發者團隊
原文外掛簡介
SuperHertz Cache Preloader is a powerful companion plugin for LiteSpeed Cache that ensures your pages, posts, products, and custom post types are always pre-warmed in the cache — so no visitor ever hits a cold, uncached page.
Why You Need a Cache Preloader
LiteSpeed Cache is incredibly fast, but it only caches pages after the first visitor requests them. That first visitor gets a slow, uncached response. This plugin solves that by proactively crawling every public URL on your site to build the cache before any real visitor arrives.
Key Features
Automatic Site Crawling — Discovers and warms all public pages, posts, products (WooCommerce), and custom post types automatically.
Parallel Processing Engine — Multi-threaded cURL engine processes multiple URLs simultaneously for faster warm-up times.
Sequential Mode — Optional single-threaded mode for shared hosting or resource-constrained environments.
Smart Throttle Guard — Automatically reduces concurrency when server RAM exceeds 85% or CPU load exceeds 5.0 to protect your server.
TTFB Latency Tracking — Monitors Time To First Byte per URL and flags slow pages (> 2.0s).
Server Load Monitoring — Real-time dashboard cards showing Memory Footprint, CPU Load, OpCache status, and Database Query metrics.
Configurable Concurrency — Set parallel thread count from 2x to 25x based on your server capacity.
Adjustable Rest Delay — Configure pause between requests (0ms to 500ms) to balance speed vs. server load.
Scheduled Cron Warming — Set automatic daily, twice-daily, or hourly cache warming with custom start times.
Manual One-Click Warming — Trigger a full cache warm-up from the admin dashboard at any time.
Per-URL Debug Logging — Detailed console showing HTTP status, TTFB, cache HIT/MISS status, and LiteSpeed headers for every URL.
Auto Log Clearing — Debug logs automatically clear on each new run for clean diagnostics.
Smart Cache Bypass — Automatically excludes cart, checkout, account, and dashboard pages from warming.
Admin Bar Protection — Prevents WordPress Admin Bar from being cached for non-admin users (vendors, customers, guests).
ESI-Aware Crawling — Sends proper ESI and cache-control headers during warm-up requests.
V8 Module Pre-Warming — Injects modulepreload hints for JavaScript bundles to eliminate client-side cold starts.
WP-CLI Support — Run cache warming from the command line with wp superhertz-cache-preloader warm.
Full-Width Admin Panel — Clean, modern dashboard UI that uses your full screen width.
How It Works
The crawler engine queries WordPress for all published pages, posts, products, and custom post types.
It builds a URL queue and sends HTTP requests (with LiteSpeed-compatible headers) to each URL.
LiteSpeed Cache intercepts these requests and stores the rendered pages in its cache.
When a real visitor arrives, they get the pre-cached version instantly.
Server Requirements
LiteSpeed Web Server (OpenLiteSpeed or LiteSpeed Enterprise)
LiteSpeed Cache plugin installed and activated
PHP 7.4 or higher
WordPress 5.8 or higher
