[wp-trac] [WordPress Trac] #20875: Introduce wp_cache_get_multi()

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 7 13:56:29 UTC 2012


#20875: Introduce wp_cache_get_multi()
-------------------------+-----------------------------
 Reporter:  nacin        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Cache        |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Both options (see #10274) and themes (see #20103) could benefit from a
 cache backend that implements get_multi(). For options, this means we can
 use individual keys. For both themes and options, we'd be able to make
 fast multiple gets.

 Both APC and Memcached (but not Memcache) implement multiple-get. A
 fallback would be looping over get().

 Separately, as this would be a new function we use in core, we probably
 need to start doing some kind of versioning for drop-ins like db.php and
 object-cache.php.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20875>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list