rhubarbgroup / redis-cache

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
https://wordpress.org/plugins/redis-cache/
GNU General Public License v3.0
439 stars 150 forks source link

Add `wp_cache_flush_group()` implementation #396

Closed tillkruss closed 1 year ago

tillkruss commented 2 years ago

We already do it via WP_REDIS_SELECTIVE_FLUSH, just needs a dedicated method.

https://github.com/rhubarbgroup/redis-cache/blob/c50c1cf4e89c0b140f00664aaadc7cd7c31aceac/includes/object-cache.php#L1555-L1579