Deployment Presets
Redis 7 Object Cache Isolation Across Multi-Tenant Sites
Prevent WordPress object cache cross-contamination using dedicated Redis logical DB numbers or ACL prefixes and allkeys-lru eviction.
256-1024 MB maxmemory · 45% Fewer SQL Queries · Zero Key Clash
Disabling RDB Snapshots for Pure Object Caching
When Redis serves purely as an ephemeral WordPress/WooCommerce object cache, disabling disk save "" snapshots eliminates fork() copy-on-write RAM spikes during heavy admin edits.
Enforcing Unique WP_REDIS_PREFIX Constants
Even when using separate Redis database indices (0 through 15), always define a unique WP_REDIS_PREFIX in each site wp-config.php if you host more than 16 sites on a single Redis instance.
Measured Parameters & CloudPanel Stack Directives
| Parameter / Setting | Recommended Value | Operational Reason |
|---|---|---|
| Eviction Policy | maxmemory-policy allkeys-lru | Evicts coldest cache keys cleanly instead of throwing Redis OOM errors |
| Tenant Separation | WP_REDIS_PREFIX + distinct DB id | Guarantees flushing Site A cache never wipes Site B transients |
| Transport | Unix socket /run/redis/redis-server.sock | Cuts loopback TCP latency for high-volume wp_options reads |
| Persistence | save "" (cache-only mode) | Avoids RDB background fork memory spikes on multi-site VPS |