[wp-trac] [WordPress Trac] #47871: Cache item schema in REST controllers

WordPress Trac noreply at wordpress.org
Tue Aug 13 20:17:40 UTC 2019


#47871: Cache item schema in REST controllers
-------------------------+---------------------
 Reporter:  joehoyle     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.3
Component:  REST API     |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+---------------------

Comment (by kadamwhite):

 Following up to the above, I ran a few more post counts then dumped my
 tests into a spreadsheet and confirmed that the time taken up by calling
 `get_item_schema` grows linearly the more posts are requested.

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


More information about the wp-trac mailing list