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

WordPress Trac noreply at wordpress.org
Mon Aug 21 04:40:58 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 rmccue):

 I'm not sure that this is really REST API-specific. Generally speaking,
 `shutdown` hooks will delay any response (and that might be desired
 behaviour too).

 I'd rather have the REST API match regular WordPress behaviour, so I think
 any solution should be consistent across all of core.

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


More information about the wp-trac mailing list