[wp-trac] [WordPress Trac] #20875: Introduce wp_cache_get_multi()
WordPress Trac
noreply at wordpress.org
Mon Jun 6 04:54:30 UTC 2016
#20875: Introduce wp_cache_get_multi()
--------------------------------------------------+-----------------------
Reporter: nacin | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.6
Component: Cache API | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd-opinion | Focuses:
--------------------------------------------------+-----------------------
Comment (by rmccue):
I'd like to get feedback from @tollmanz and @tellyworth on this one, as it
affects a lot of caches and affects WP.com too. We may need to introduce
this without using it for alloptions in #31245 if performance of
alloptions is going to be a large concern.
Definitely agreed that alloptions/multi-get shouldn't block each other.
alloptions is a very specific use case for multi-get that doesn't
necessarily fit the typical use case for it; for most uses, an iterated
single get (i.e. the fallback) isn't hugely different.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20875#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list