pantheon-systems / wp-redis

WordPress Object Cache using Redis.
https://wordpress.org/plugins/wp-redis/
GNU General Public License v2.0
226 stars 68 forks source link

Implement `wp_cache_flush_group` #366

Closed spacedmonkey closed 1 year ago

spacedmonkey commented 1 year ago

Per https://core.trac.wordpress.org/ticket/4476

This would require adding an additional flush group on a per-cache-group basis.

Falling back to wp_cache_flush() would cause issues if a plugin on the main site attempted to flush a specific cache group, as it'd rotate every cache.

spacedmonkey commented 1 year ago

context https://github.com/rhubarbgroup/redis-cache/pull/399

jspellman814 commented 1 year ago

This has been implemented in the 1.4.0 release. Please test that out and reopen this if you are still experiencing any issues. Thanks!