A prefix is a namespace, not an instance
The application ACL restricts ordinary keyed operations to the configured prefix. Full plugin flushes use FLUSHDB, which is not constrained by that prefix. INFO and SCAN can reveal metadata too. Use this recipe only for one dedicated site or trusted multisite cache boundary.
Protect application correctness
Keep orders, payments and inventory authoritative in MariaDB. Test products, pricing, coupons, cart, checkout, stock, refunds, callbacks, administration and scheduled jobs with warm, cold and unavailable cache states. Preserve the application's invalidation and documented non-persistent groups.
Object cache and public page cache have different jobs
Object caching shares application values between PHP requests. It does not create public HTML caching, enable HPOS or replace private-page cache exclusions. Queues, locks and durable sessions belong on a separately designed Redis instance with an appropriate persistence and eviction policy.
Use supported plugin options
The generated snippet includes ACL username and password authentication, transport, prefix, database, timeouts, optional persistent connections, igbinary and supported preferences. The plugin's unsupported WP_REDIS_GRACEFUL and WP_REDIS_SELECTIVE_FLUSH are left out. The emergency bypass stays available as WP_REDIS_DISABLED.
Plugin configuration reference (opens in a new tab), WooCommerce performance (opens in a new tab)