[WordPress] 外掛分享: LumenCache

首頁外掛目錄 › LumenCache
WordPress 外掛 LumenCache 的封面圖片
10+
安裝啟用
尚無評分
8 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.1+ v1.6.24 上架:2026-08-21

內容簡介

LumenCache 是一款以 RAM 為優先的全頁快取外掛,能在快取命中時快速回傳完整 HTML,顯著提升 WordPress 網站的效能,並保持網站穩定性,即使快取儲存層無法使用也不會導致網站下線。

【主要功能】
• RAM 優先全頁快取引擎
• Nginx / Apache 代理橋接
• 選擇性繞過 Cookie 路由
• 精準快取失效管理
• REST API 狀態端點
• WP-CLI 管理介面

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.6.24) 或搜尋安裝

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

原文外掛簡介

LumenCache implements a RAM-first full-page cache with a WordPress
advanced-cache.php drop-in. On a cache HIT, the drop-in serves complete HTML
before the normal WordPress bootstrap and database queries. This early-response
path reduces application-layer work and keeps repeat page requests fast across
Nginx, Apache, and LiteSpeed.
The cache is designed to fail open when its storage layer is unavailable, so a
cache connection problem does not take the WordPress site offline.
Research Foundation
Academic Reference:
“Dynamic Resource Mapping in Zero-Reload Server Architectures: Eliminating
Application-Layer Latency and Extension Dependency in High-Concurrency CMS
personalised requests continue through the full WordPress stack.
This architecture is intended to reduce repeated bootstrap work, database
queries, and extension overhead while preserving WordPress compatibility. It
also provides a practical bridge between academic performance research and
everyday publishing workloads, including content-heavy sites, WooCommerce
catalogues, and membership-driven pages.
Research author: Dean Nasrul Eam — Light & Composition University.
Eight-Subsystem Architecture

RAM-First Full-Page Cache Engine — PHP stores complete HTML at
shutdown and resolves repeat requests from the in-memory cache layer.
Nginx / Apache Proxy Bridge — Static or dynamic server config bypasses
PHP entirely for cache hits.
Selective Bypass Cookie Router — sys_active_state cookie routes
logged-in users and cart-active visitors to live PHP.
Application Driver Profile Engine — Auto-detects WooCommerce,
LearnDash, LifterLMS, MemberPress, BuddyBoss and registers tailored bypass
rules and invalidation hooks.
Surgical Cache Invalidation — Post save / nav menu / widget / theme
switch events trigger precise per-URL or full purges.
REST API State Endpoint — /wp-json/lumencache/v1/user-state serves
personalised fragments for skeleton-hydration clients.
Skeleton Hydration DOM Worker — skeleton-hydration.js replaces cached
placeholders with live content on load.
WP-CLI Management Interface — flush, flush-url, status commands.

Configuration (optional)
All settings are configurable from LumenCache → Settings in the WordPress
admin. Optionally override any setting via wp-config.php — constants always win:
define( 'LUMENCACHE_REDIS_HOST', '127.0.0.1' );
define( 'LUMENCACHE_REDIS_PORT', 6379 );
define( 'LUMENCACHE_REDIS_SOCKET', '' );
define( 'LUMENCACHE_REDIS_PASSWORD', '' );
define( 'LUMENCACHE_REDIS_DATABASE', 0 );
define( 'LUMENCACHE_REDIS_TIMEOUT', 1.0 );
define( 'LUMENCACHE_REDIS_PREFIX', 'cache:' );
define( 'LUMENCACHE_CACHE_TTL', 86400 );
define( 'LUMENCACHE_CACHE_SALT', '' );
define( 'LUMENCACHE_CACHE_QUERY_STRINGS', false );
define( 'LUMENCACHE_PROXY_PASSWORD', '' );

WP-CLI
wp lumencache flush
wp lumencache flush-url https://example.com/page/
wp lumencache status

Privacy

LumenCache stores rendered page HTML and cache metadata in the in-memory cache
service configured by the site administrator. It does not send cache contents,
visitor data, or analytics data to a third-party LumenCache service. The
optional user-state endpoint returns only the requested dynamic values to the
requesting browser; sites should review those values and their own privacy
policy before enabling personalized hydration.

延伸相關外掛

文章
Filter
Mastodon