[wp-trac] [WordPress Trac] #4476: Delete Cache by Group

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 18 09:26:26 UTC 2012


#4476: Delete Cache by Group
------------------------------------+------------------------------
 Reporter:  filosofo                |       Owner:  anonymous
     Type:  enhancement             |      Status:  reopened
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Cache                   |     Version:  2.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by scribu):

 The reason this is not part of the API is that most persistent caching
 backend such as memcache don't support deleting an entire group.

 What's done instead is increment the group prefix and let memcache's
 garbage collector remove the items from the old group, which are never
 accessed anymore.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/4476#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list