[wp-trac] [WordPress Trac] #46388: WP_User::get_data_by(): Cache non-existent users to prevent triggering multiple queries

WordPress Trac noreply at wordpress.org
Tue Jun 15 19:14:20 UTC 2021


#46388: WP_User::get_data_by(): Cache non-existent users to prevent triggering
multiple queries
-------------------------------------------+-----------------------------
 Reporter:  Asgaros                        |       Owner:  (none)
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  Future Release
Component:  Cache API                      |     Version:  5.2
 Severity:  normal                         |  Resolution:
 Keywords:  reporter-feedback needs-patch  |     Focuses:  performance
-------------------------------------------+-----------------------------
Changes (by azaozz):

 * keywords:  has-patch reporter-feedback => reporter-feedback needs-patch
 * milestone:  Awaiting Review => Future Release


Comment:

 Replying to [comment:1 andraganescu]:

 Right, this ticket is a good idea but will need the "full" cache handling
 including cache busting or resetting on creating new user, etc.

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


More information about the wp-trac mailing list