Skip to content
Sign in
LumenCache icon

LumenCache

RAM-first full-page caching that serves pages before WordPress loads, with automatic WooCommerce and LMS integration.

Not scanned yet WordPress plugin 10 installs

Install in

No install steps yet

Follow the steps on the source page.

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

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

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 .htaccess direct 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.

Written by Joobi from the project's own listing. See the source page

cachefull page cacheperformancesecuritywoocommerce
30 Nov 2026
Version 1.9.13 released. Not scanned yet.

1.9.13 (November 30, 2026)

  • HOSTINGER & SHARED HOSTING SAFETY GUARD (includes/class-admin.php, assets/css/admin.css):
    • Explicit Shared Hosting & Hostinger Warnings: Added clear incompatibility notices in Quick Setup, Server Setup, and the Hosting Guide explaining that shared hosting plans (including Hostinger shared Web Hosting / Unlimited on hPanel) may compile phpredis in PHP without running a local Redis daemon on 127.0.0.1:6379, and recommending LiteSpeed Cache on Hostinger shared plans instead of LumenCache.
    • Disconnected-Backend .htaccess Proxy Guard: Disabled .htaccess Rewrite Rules activation in the Server Setup UI and blocked lumencache_htaccess_write in PHP when Redis is unreachable, while keeping Remove Rules active and urging immediate removal if rules/drop-in are present without Redis.
    • Quick Setup Responsive Wrap: Lowered the Quick Setup tracker vertical-stacking breakpoint to 1180px so steps do not clip horizontally inside WordPress Admin viewports.

1.9.12 (November 29, 2026)

  • HOTFIX — CACHE POPULATION RECOVERY (includes/class-cache-engine.php): Scoped maybe_write_cache() response header gating strictly to sensitive session/auth/cart Set-Cookie: headers (wordpress_logged_in_, wordpress_sec_, wp-postpass_, comment_author_, PHPSESSID, sys_active_state=true, non-zero woocommerce_items_in_cart, non-empty woocommerce_cart_hash) and strict Cache-Control: no-store|private directives so benign cookies or soft no-cache headers no longer abort Redis cache writes and trigger origin PHP CPU stampedes after upgrades/purges.

1.9.11 (November 29, 2026)

  • HARDENING (includes/class-app-drivers.php, includes/class-server-config.php):
    • Scoped comment_post product and /reviews/ cache purges strictly to approved comments (comment_approved === 1), preventing unapproved/spam review submissions from churning cache.
    • Updated nginx_server_block() to bypass query strings and WooCommerce/LMS routes (/cart, /checkout, /my-account, /lccourse, /photographers-dashboard), and restricted nginx_config_active() transient writes away from unauthenticated REST/public headers.

1.9.10 (November 29, 2026)

  • SECURITY & DYNAMIC ROUTE ISOLATION (includes/class-drop-in.php, includes/class-cache-engine.php, includes/class-app-drivers.php, server/advanced-cache.php, server/lumen-cache-proxy.php):
    • Config Literal Injection Fix (Drop_In::write_config()): Replaced addslashes() + preg_replace() string interpolation with NUL-stripped var_export() literals and preg_replace_callback() closures (plus regex validation for custom bypass patterns), eliminating PHP literal breakout/code-injection and $N/\N backreference corruption in advanced-cache.php and lumen-cache-proxy.php.
    • Response-Header Cache Gate (Cache_Engine::maybe_write_cache()): Inspected outgoing headers_list() before writing to Redis and aborted caching whenever Set-Cookie: or Cache-Control: no-store|no-cache|private is present, preventing personalized/session-minting responses from being cached and served publicly.
    • Path-Normalized Bypass Matching: Normalized REQUEST_URI to path-only ($uri_path / $path_uri / $request_path) before applying (/?$|/) route-bypass regexes and updated #/lccourse(?:/|$)#i / #/my-courses(?:/|$)#i in App_Drivers, closing bypass gaps on unslashed URLs carrying tracking query parameters (e.g., /dashboard?utm_source=...).

1.9.9 (November 27, 2026)

  • EDGE & BROWSER CACHE HIT CONSOLIDATION (includes/class-cache-engine.php, server/advanced-cache.php, server/lumen-cache-proxy.php): Removed Cookie from the public Vary: Accept-Encoding, Cookie response header while preserving any existing Vary: Accept header (header('Vary: Accept-Encoding', false)), preventing visitor tracking cookies (_ga, _fbp, sbjs_*) from fragmenting browser and proxy caches while maintaining full image-negotiation compatibility.
  • STRICT LMS & SESSION BYPASS ISOLATION (server/advanced-cache.php, server/lumen-cache-proxy.php): Enforced no-cache, no-store, must-revalidate, max-age=0 anti-caching headers across LMS/membership URL bypasses and cookie guards (learndash_, llms_, tutor_, sensei_, bp-, bb_, wp-postpass_, comment_author_) alongside WooCommerce and logged-in bypasses.

1.9.8 (November 26, 2026)

  • GUEST-SKIP SKELETON HYDRATION GATE (assets/js/skeleton-hydration.js): Added hasActiveClientState() cookie inspection (sys_active_state=true, non-zero woocommerce_items_in_cart, non-empty woocommerce_cart_hash, [data-lumencache-always="1"], or explicit forceHydrate) so anonymous visitors without an active session or cart skip the uncached /wp-json/lumencache/v1/user-state REST PHP call on page load while programmatic lumenCacheHydrate(true) and lumencache:rehydrate remain unconditional.
  • UNUSED PRECONNECT CLEANUP (includes/class-speculation-rules.php): Removed unused https://cdnjs.cloudflare.com preconnect hint from Speculation_Rules::render_preconnect_links().

1.9.7 (November 25, 2026)

  • DROP-IN & PROXY CODEC FAIL-OPEN GUARD: Hardened server/advanced-cache.php and server/lumen-cache-proxy.php to inspect compression codec availability (zstd_decompress, gzdecode) and validate frame decompression before emitting 200 text/html and X-Cache-Status: HIT headers, falling through cleanly to WordPress on missing codecs or corrupt payloads.
  • PREDIS DROP-IN TELEMETRY PARITY: Upgraded telemetry counter recording in server/advanced-cache.php and server/lumen-cache-proxy.php to recognize \Predis\Client instances (__call() magic command routing), fixing silent zeroed HIT/304/XFetch/SWR/Zstd metrics when PHP runs Predis instead of ext-redis.
  • APACHE/LITESPEED PROXY ENVELOPE & ACCELERATION SYNC: Extended server/lumen-cache-proxy.php, Drop_In::write_config(), and plugin upgrade hooks in lumen-cache.php with full SWR envelope separation, Zstd/Gzip transcoding, HTTP 103 Early Hints header emission, and XFetch probabilistic refresh parity.
  • PLAIN-TEXT REST HYDRATION DECODING: Removed redundant esc_html() wrapping on member-greeting in REST_API::resolve_key(), preventing literal HTML entity display (e.g., O&#039;Connor) when skeleton-hydration.js populates elements via .textContent.

1.9.6 (November 9, 2026)

  • EARLY CART LIFECYCLE GUARDING: Gated direct cart session evaluation behind did_action('wp_loaded'), eliminating premature cart calls during early init bootstrap.
  • COOKIE-FIRST ACTIVE ROUTING: Prioritized browser-sent cart cookie verification (woocommerce_items_in_cart) as an O(1) in-memory check without database queries, preventing early cart object instantiation.
  • FASTCGI NOTICE ELIMINATION: Permanently resolved wc_doing_it_wrong developer notices in FastCGI stderr and Nginx/PHP-FPM error logs, stopping disk I/O churn during concurrent bot traffic and live search requests.
  • SPECULATION RULES CART GATING: Added did_action('wp_loaded') verification to speculative loading evaluation for safe headless and early template execution.
  • DUAL LIFECYCLE RECOVERY: Registered active state router across both init and wp_loaded hooks for complete auth and guest session coverage.

1.9.5 (November 9, 2026)

  • RESILIENT ENDPOINT PARAMETER SERIALIZATION: Enhanced skeleton-hydration.js to dynamically detect existing URL query strings and format REST requests cleanly (? vs &), guaranteeing uninterrupted client hydration across custom permalink structures and API proxy rewrites.
  • ZERO-DEPENDENCY LEGACY BROWSER RESILIENCE: Replaced native URLSearchParams instantiation with standard encoded URI parameter serialization, eliminating runtime exceptions on legacy mobile viewports and embedded WebViews.
  • DEEP PROGRESS BAR SLOTS & DYNAMIC WIDTH: Extended course progress bar hydration to query child progressbar elements and update inline style widths and ARIA values dynamically.
  • DROP-IN COMPILER FLOAT LITERAL FORMATTING: Standardized decimal float literal formatting in Drop_In::write_config(), ensuring deterministic configuration parity across all PHP runtimes.
  • ZERO-WRITE BENCHMARK VALIDATION: Re-verified sub-microsecond algorithmic cache execution (0.00003 ms) and 100% zero database write queries on visitor GET actions.

1.9.4 (November 8, 2026)

  • SPECULATIVE LOADING SAFETY HARDENING: Hardened W3C Speculation Rules engine to default to safe ‘prefetch’ mode and ‘conservative’ eagerness (initiating only on explicit user click/touch-start), eliminating un-cached background prerender storms on catalog links.
  • DYNAMIC QUERY-STRING SPECULATION EXCLUSION: Hard-excluded all query-string URLs (/*\?*, /*\?(.+), *&filter*, *&orderby*, pagination) from speculative preloading, ensuring dynamic sorting and filtered views never trigger un-cached backend origin requests.
  • CLOUDFLARE SPEED BRAIN HARMONIZATION: Automatically suppresses duplicate speculation rule script tags when edge-delivered Speculation-Rules headers are active, preventing competing browser execution directives.
  • DROP-IN v1.4.2 GLOBAL REVALIDATION CONCURRENCY LIMITER: Added a global revalidation semaphore to advanced-cache.php drop-in and Cache_Engine, allowing at most one background revalidation worker across the entire server at any instant to eliminate database stampedes during cache refresh.
  • QUERY-STRING ANTI-CACHE HEADERS: Automatically emits strict no-cache/no-store headers when query-string cache bypass is triggered, informing edge CDNs and browsers to prevent speculative request loops.

1.9.3 (November 8, 2026)

  • DYNAMIC SKELETON HYDRATION ARCHITECTURE: Enhanced skeleton-hydration.js to support data-lumencache-slot attributes natively during REST parameter collection, preventing omitted user-state hydration when elements use slot-based Declarative Shadow DOM bindings.
  • DECLARATIVE SHADOW DOM POLYFILL RESILIENCE: Added automatic runtime shadow root attachment fallback for browsers and custom elements lacking native declarative shadow root instantiation, preserving zero Cumulative Layout Shift (0.000 CLS).
  • E-LEARNING PROGRESS BAR TELEMETRY: Unified multi-course progress ID collection across both target and slot container attributes.
  • SCRIPT SYNTAX VERIFICATION: Clean syntax audit across frontend hydration workers (node -c).

1.9.2 (November 8, 2026)

  • DROP-IN v1.4.1 ENVELOPE STREAMING REFINEMENT: Updated advanced-cache.php drop-in response pipeline to stream clean payload bodies directly during uncompressed cache hits without envelope header duplication.
  • RESPONSIVE TELEMETRY GRID ARCHITECTURE: Enhanced administration dashboard stylesheets (admin.css) with responsive collapsing rules for telemetry and KPI counter grids across mobile and small-screen viewports (down to 320px).
  • ZERO-WRITE BENCHMARK VALIDATION: Re-verified sub-microsecond envelope parsing latency (0.13 microseconds) and strict zero database write queries on visitor GET requests.

1.9.1 (November 8, 2026)

  • DROP-IN v1.4.0 & PROTOCOL ACCELERATION INTEGRATION: Deployed advanced-cache.php v1.4.0 with pre-bootstrap HTTP 103 Early Hints link emission and high-throughput compression envelope parsing. Allows modern browser preloading of critical stylesheets, web fonts, and LCP media assets with zero origin latency.
  • EXTENSIBLE CACHE PAYLOAD FILTERS: Introduced lumencache_pre_redis_store filter and lumencache_after_cache_write lifecycle action in Cache_Engine, enabling advanced in-memory compression algorithms (Zstandard/Gzip) and critical asset extraction to hook cleanly into cache serialization.
  • PROTOCOL ACCELERATION DASHBOARD BRIDGE: Added dedicated administrative navigation tabs and render hooks for hardware and protocol acceleration controls across the dashboard shell.
  • ZERO-WRITE COMPLIANCE HARDENING: All protocol settings evaluations and drop-in compilation hooks are strictly read-only on public visitor GET requests.

1.9.0 (November 8, 2026)

  • XFETCH PROBABILISTIC EARLY EXPIRATION ALGORITHM: Integrated the lock-free XFetch probabilistic algorithm into server/advanced-cache.php and includes/class-cache-engine.php. Eliminates cache stampedes (dogpile collapse) on high-concurrency pages by dynamically electing an asynchronous background refresh worker before hard TTL expiration while continuing to serve instant warm cache to 100% of concurrent visitors.
  • RFC 5861 STALE-WHILE-REVALIDATE BACKGROUND REFRESH: Enhanced pre-bootstrap background revalidation with FastCGI connection detachment (fastcgi_finish_request()), ensuring visitors never experience cold-cache render latency.
  • ZERO-CLS DECLARATIVE SHADOW DOM DYNAMIC SLOTS: Upgraded assets/js/skeleton-hydration.js to support W3C Declarative Shadow DOM (<template shadowrootmode="open">) slots and encapsulated layout geometry, delivering 0.000 Cumulative Layout Shift during dynamic user-state and cart hydration.
  • DROP-IN CONFIG COMPILATION & SETTINGS EXPANSION: Added configurable XFetch sensitivity control (xfetch_beta, xfetch_enabled) across Settings, Drop_In::write_config(), and the admin settings dashboard, with automatic synchronization into wp-content/advanced-cache.php.

1.8.14 (November 1, 2026)

  • PRE-BOOTSTRAP LMS & COMMUNITY COOKIE PARITY: Integrated Tutor LMS (tutor_*), Sensei LMS (sensei_*), and BuddyPress/BuddyBoss (bp-*, bb_*) cookie bypass detection into advanced-cache.php. Guarantees active students and community members bypass the full-page cache in sub-millisecond time before WordPress loads.
  • VENDOR-NEUTRAL INTAKE PORTAL & SUBMISSION ROUTE DECOUPLING: Decoupled custom intake wizards, application portals, and submission endpoints into extensible compiled bypass patterns and generic route guards, maintaining strict public repository compliance.
  • EXTENSIBLE DROP-IN COMPILER HOOKS: Introduced the lumencache_dropin_compiled_bypass_patterns filter in Drop_In::write_config(), enabling application framework drivers and custom plugins to inject pre-bootstrap URL bypass regexes into compiled snapshot configurations automatically.
  • PROXY EXECUTION ORDER & CONFIGURATION HARMONIZATION: Restructured configuration and constant declaration in server/lumen-cache-proxy.php to guarantee compiled settings snapshots are fully defined before early bypass evaluations execute.
  • AUTOMATED DROP-IN UPGRADE & VERSION SYNCHRONIZATION: Added automated drop-in deployment and version tracking hooks for administrative and WP-CLI lifecycles (admin_init), ensuring wp-content/advanced-cache.php stays strictly in sync with plugin releases without manual reactivation. Gated behind admin/CLI contexts for 100% zero-write visitor GET compliance.

1.8.13 (November 1, 2026)

  • REST API USER-STATE SECURITY HARDENING: Added X-Content-Type-Options: nosniff header protection to /wp-json/lumencache/v1/user-state alongside strict no-store, no-cache, must-revalidate directives, preventing MIME sniffing attacks during dynamic DOM hydration.
  • EXTENDED LMS SKELETON HYDRATION: Added Tutor LMS completion percentage resolution to course-progress REST state, allowing course progress bars and learner widgets to hydrate accurately on cached course pages.
  • AUTOMATED HYDRATION SCRIPT SENSING: Enhanced REST_API::enqueue_hydration_script() to auto-detect Tutor LMS and Sensei LMS constants and dynamically enqueue frontend skeleton hydration scripts only when relevant e-learning platforms are active.
  • WP-CLI SOVEREIGN PROXY COMMAND SUITE: Introduced wp lumencache deploy-proxy subcommand, providing headless automation and DevOps pipelines with one-command deployment of lumen-cache-proxy.php to wp-content/uploads/.

1.8.12 (November 1, 2026)

  • NATIVE TUTOR LMS & SENSEI LMS INTEGRATION: Integrated dedicated auto-detection drivers for modern e-learning ecosystems (Tutor LMS and Sensei LMS). Automatically establishes sub-millisecond bypass rules for dynamic student dashboard and quiz routes (/courses/, /lessons/, /quizzes/, /tutor-dashboard/, /my-courses/) and cookie sessions (tutor_*, sensei_*), while binding course progression and completion hooks to instant cache invalidation.
  • REAL-TIME E-COMMERCE PRODUCT REVIEW INVALIDATION: Connected WooCommerce customer review lifecycles (comment_post, wp_set_comment_status, trash_comment, untrash_comment, deleted_comment) to parent product cache invalidation. Ensures customer review approvals, star ratings, and review counter increments immediately reflect on cached product pages.
  • EXTENSIBLE COMMERCE PRODUCT PURGE ACTIONS: Decoupled custom and third-party e-commerce product type purge routines via new action hook lumencache_purge_woocommerce_product, enabling specialized booking portals, catalog galleries, and digital course products to flush related overview hubs without hardcoded internal dependencies.
  • SITE-WIDE NAVIGATION MENU & SIDEBAR WIDGET CACHE FLUSHING: Hooked
22 Aug 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)