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

WordPress Trac noreply at wordpress.org
Tue Jun 9 19:45:42 UTC 2020


#20875: Introduce wp_cache_get_multi()
-------------------------------------------------+-------------------------
 Reporter:  nacin                                |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.5
Component:  Cache API                            |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests 2nd-        |     Focuses:
  opinion early                                  |  performance
-------------------------------------------------+-------------------------
Changes (by whyisjake):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47938" 47938]:
 {{{
 #!CommitTicketReference repository="" revision="47938"
 Cache API: Introduce `wp_cache_get_multi()`.

 Many caching backend have support for multiple gets in a single request.
 This brings that support to core, with a compatability fallback that will
 loop over requests if needed.

 Fixes: #20875.
 Props: nacin, tollmanz, wonderboymusic, ryan, jeremyfelt, spacedmonkey,
 boonebgorges, dd32, rmccue, ocean90, jipmoors, johnjamesjacoby,
 tillkruess, donmhico, davidbaumwald, SergeyBiryukov, whyisjake.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/20875#comment:52>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list