[wp-trac] [WordPress Trac] #56481: Short-circuit HEAD methods in Core controllers

WordPress Trac noreply at wordpress.org
Thu Dec 5 23:16:56 UTC 2024


#56481: Short-circuit HEAD methods in Core controllers
--------------------------------------+------------------------------------
 Reporter:  TimothyBlynJacobs         |       Owner:  TimothyBlynJacobs
     Type:  enhancement               |      Status:  accepted
 Priority:  normal                    |   Milestone:  6.8
Component:  REST API                  |     Version:  4.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api, performance
--------------------------------------+------------------------------------

Comment (by antonvlasenko):

 I'd like to share the performance improvement data I measured after
 submitting two additional PRs and applying them to the relevant
 controllers:

 - [https://github.com/WordPress/wordpress-develop/pull/7814 Users
 controller]: 199 ms improvement (100 users);
 - [https://github.com/WordPress/wordpress-develop/pull/7925 Taxonomies
 controller]: 0.45 ms improvement.

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


More information about the wp-trac mailing list