LumenCache
RAM-first full-page caching that serves pages before WordPress loads, with automatic WooCommerce and LMS integration.
Will this break my store?
What the WordPress.org registry says about keeping LumenCache running.
Tested to 7.1.4
Tested against the WordPress branch in use today.3 days ago
8.1
Your host must be running at least this version.6.0
2
Maintenance & trust
Scored on how LumenCache is looked after — not on how many stores run it.
Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
Not enough dataListing transparency
6 / 10Ratings
No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.
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: Professor Nasrul Eam — Dean, Light & Composition University.
Ten-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_statecookie 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-stateserves
personalised fragments for skeleton-hydration clients. - Skeleton Hydration DOM Worker —
skeleton-hydration.jsreplaces cached
placeholders with live content on load. - WP-CLI Management Interface —
flush,flush-url,statuscommands.
Architectural Resilience Against Runtime Exploits (Case Study: php2shell / CVE-2026-109618 & CVE-2026-109619)
The recent critical vulnerabilities (such as the October 2026 php2shell flaws, CVE-2026-109618 and CVE-2026-109619) exploit internal memory management, request lifecycles, and Out-Of-Memory (OOM) error handling inside the C-level PHP engine itself. Whenever runtime vulnerabilities emerge, automated exploit scanners flood millions of WordPress websites searching for unauthenticated vulnerable endpoints.
LumenCache provides immediate defense-in-depth mitigation through its zero-worker server proxy architecture:
- Bypassing PHP Completely (Nginx / Apache / LiteSpeed Proxy Mode): When server-level proxy rules are enabled (Nginx FastCGI cache,
redis_pass, or LiteSpeed.htaccessdirect RAM rewrites), cache HIT requests never touch PHP-FPM or the PHP interpreter at all. - Automated Exploit & Scanner Deflection: Malicious crawlers or automated exploit scanners scanning public cached URLs are intercepted at the web server layer and served raw static HTML directly from RAM. Because PHP is never invoked, the vulnerability cannot be triggered on those requests.
- Worker & Memory Starvation Defense: Protects against Out-Of-Memory (OOM) denial-of-service by keeping PHP-FPM worker pools 100% isolated for authentic logged-in users and checkout actions.
(Note: A caching plugin does not replace updating your server binaries; hosting administrators must still update PHP to patched point releases. LumenCache acts as an architectural first-line attack surface reducer).
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<h3>Privacy</h3>
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.
How does LumenCache mitigate exposure to the recent critical vulnerabilities (such as the October 2026 php2shell flaws, CVE-2026-109618 and CVE-2026-109619)?
The recent critical vulnerabilities (such as the October 2026 php2shell flaws, CVE-2026-109618 and CVE-2026-109619) exploit internal C-level PHP engine memory lifecycles via HTTP request floods.
While LumenCache is a caching engine and cannot patch the underlying PHP binary (which your hosting provider or sysadmin must update to patched point releases), LumenCache provides an immediate Attack Surface Reducer:
- Never Spawns PHP on Cache Hits: In server proxy mode, Nginx, Apache, or LiteSpeed serves cached pages directly from Redis/RAM in <1ms without starting a PHP worker or invoking the PHP interpreter.
- Deflects Automated Exploit Probing: Exploit scanners scanning your public pages hit static RAM storage, preventing malicious payloads from reaching PHP memory or triggering OOM crashes.
- Eliminates Worker Pool Starvation: Keeps your site fast and accessible during vulnerability disclosure waves by preventing botnet floods from exhausting PHP-FPM processes.
Getting a 502 Bad Gateway on Nginx after activating or during WooCommerce use?
Nginx has a default fastcgi_buffer_size of only 4KB–8KB. When combining rich caching headers with WooCommerce session cookies, the upstream response header exceeds this limit. Nginx immediately terminates the connection with:
upstream sent too big header while reading response header from upstream, resulting in an instant 502 Bad Gateway error.
To resolve this, add the following FastCGI and proxy buffer directives to your Nginx configuration (within the http {}, server {}, or PHP location block):
fastcgi_buffer_size 32k;
fastcgi_buffers 16 16k;
fastcgi_busy_buffers_size 32k;
proxy_buffer_size 32k;
proxy_buffers 16 16k;
proxy_busy_buffers_size 32k;
After adding these directives, test and reload Nginx:
nginx -t && systemctl reload nginx
Why are 0 pages cached?
Two common causes:
1. Nginx config not applied — visit Server Setup and paste the config blocks.
2. WooCommerce session cookie — fixed in v1.1.0. Previous versions bypassed
the cache for all visitors on WooCommerce sites due to the always-present
wp_woocommerce_session_* cookie.
Why can key salting affect server-level caching?
When LUMENCACHE_CACHE_SALT is set, PHP stores keys as SHA-256 hashes. A
server-level configuration must use the same key strategy or it will produce
cache misses. Disable the salt for a plain-key configuration, or use the
compatible hashed-key server template.
Does LumenCache work with LiteSpeed?
Yes. LiteSpeed supports Apache-compatible .htaccess rewrites. LumenCache uses
the Apache proxy mode on LiteSpeed. For better performance, ask your host
which in-memory cache acceleration options are available.
Can I still use wp-config.php constants?
Yes — constants always take precedence over admin settings. If you define a
constant, the corresponding field in the Settings tab is shown locked (read-only).
Categories
Plugin details
Tags on WordPress.org
