[wp-trac] [WordPress Trac] #41358: Shutdown hooks can significantly slow down REST API responses

WordPress Trac noreply at wordpress.org
Mon Sep 4 11:19:42 UTC 2017


#41358: Shutdown hooks can significantly slow down REST API responses
-------------------------------------------------+-------------------------
 Reporter:  mikejolley                           |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  REST API                             |  Review
 Severity:  normal                               |     Version:
 Keywords:  has-patch dev-feedback needs-        |  Resolution:
  testing                                        |     Focuses:  rest-api,
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by mikejolley):

 @rmccue The difference in my eyes is that when the REST api sends the
 responses, thats it. Nothing else should be sent. Doing so would be
 invalid.

 So this improves performance without affecting other parts of core. I
 imagine it will take much longer to get approval for a WP-wide change...

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


More information about the wp-trac mailing list