[wp-trac] [WordPress Trac] #60787: get_registered_meta_keys() should allow for late registration to improve performance

WordPress Trac noreply at wordpress.org
Mon Mar 18 17:09:50 UTC 2024


#60787: get_registered_meta_keys() should allow for late registration to improve
performance
--------------------------------+------------------------------
 Reporter:  sc0ttkclark         |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  performance
--------------------------------+------------------------------

Comment (by jorbin):

 Are there any tests showing the performance impact of this proposed
 change?

 >  EVERY PAGE LOAD: Multiple DB requests to fetch configs, maybe saved to
 transient/cache for next page load

 This feels like a good reason not to store configs in the DB but in code
 where they can also be version-controlled.

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


More information about the wp-trac mailing list