| 开发者 |
nasruleam
celsiusanderson |
|---|---|
| 更新时间 | 2026年8月23日 08:57 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
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.
Two common causes:
wp_woocommerce_session_* cookie.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.
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.
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).
server/lumen-cache-proxy.php.Htaccess::deploy_proxy() to automatically configure localized ABSPATH definitions upon file deployment.advanced-cache.php is now completely self-contained with compiled configuration snapshot data.assets/css/admin.css to prevent connector lines from overlapping labels.lumen-cache-proxy.php with native PHP casts since the proxy runs pre-bootstrap.LUMENCACHE_PROXY_ABSPATH) for WordPress index.php and wp-config.php inclusion.$redis->auth() and $redis->select() in connect_phpredis().LUMENCACHE_DEBUG check for zero production overhead.advanced-cache.php with native PHP casts and isset checks.enable_wp_cache() string replacement logic for reliable WP_CACHE insertion into wp-config.php.Lifecycle::uninstall() now flushes all Redis keys before removing plugin files.ABSPATH check to all server drop-ins.$_SERVER inputs across pre-bootstrap request paths.Content-Type: text/html response headers.esc_url_raw().WP_CACHE states in wp-config.php and automated cleanup on deactivation.SCAN cursor handling in key_count() and delete_pattern().connect_phpredis() and refined Unix socket handling.advanced-cache.php drop-in deployment with zero server configuration requirements.