[wp-trac] [WordPress Trac] #41847: Add caching to WP_User_query

WordPress Trac noreply at wordpress.org
Sun Sep 10 13:56:01 UTC 2017


#41847: Add caching to WP_User_query
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:  3.1
 Severity:  normal        |   Keywords:  has-patch
  Focuses:  performance   |
--------------------------+-----------------------------
 Calls to WP_User_Query can be very expensive, as sites with public
 registration can have many users. The WP_Comment_Query, WP_Site_Query and
 WP_Network_Query classes all have caching enabled. All these classes, have
 a list of object ids and number of found items in cache. This caching
 should be added to user queries.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41847>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list