[wp-trac] [WordPress Trac] #55620: Prime caches linked objects in menu item REST API

WordPress Trac noreply at wordpress.org
Tue Apr 26 13:23:47 UTC 2022


#55620: Prime caches linked objects in menu item REST API
----------------------------------------+----------------------------------
 Reporter:  spacedmonkey                |       Owner:  spacedmonkey
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  REST API                    |     Version:  5.9
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  rest-api,
                                        |  performance
----------------------------------------+----------------------------------

Comment (by spacedmonkey):

 I have put together a very simple patch, that needs to work results are
 promising. See the before and after screenshots. Before 31 queries vs
 after 19.

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


More information about the wp-trac mailing list