[wp-trac] [WordPress Trac] #40613: Add query cache to WP_User_Query class

WordPress Trac noreply at wordpress.org
Tue Oct 23 21:08:44 UTC 2018

#40613: Add query cache to WP_User_Query class
 Reporter:  johnjamesjacoby          |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Users                    |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  performance

Comment (by spacedmonkey):

 As caching requirements will be different for different projects, it may
 be best to keep this caching as a plugin. To that end, I have created a
 plugin that will do the caching. You can find the code
 [https://github.com/spacedmonkey/wp-user-query-cache here]. This plugin
 requires a number of new filters to added in core.

 I would love feedback on this plugin.

Ticket URL: <https://core.trac.wordpress.org/ticket/40613#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list