[wp-trac] [WordPress Trac] #58657: Add in missing caching to `get_item_schema` method to new endpoint

WordPress Trac noreply at wordpress.org
Wed Jun 28 15:51:38 UTC 2023


#58657: Add in missing caching to `get_item_schema` method to new endpoint
------------------------------+---------------------------
 Reporter:  spacedmonkey      |       Owner:  spacedmonkey
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.3
Component:  REST API          |     Version:  5.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+---------------------------
Changes (by kadamwhite):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56093" 56093]:
 {{{
 #!CommitTicketReference repository="" revision="56093"
 REST API: Cache schema in block pattern and menu item endpoints.

 Performance improvement to add schema caching to pattern and menu item
 REST endpoints, so identical schema object are not needlessly regenerated.

 Props spacedmonkey.
 Fixes #58657. See [45811].
 }}}

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


More information about the wp-trac mailing list