[wp-trac] [WordPress Trac] #43308: Alter behavior load-scripts.php and load-styles.php to reduce potentially adverse scenarios

WordPress Trac noreply at wordpress.org
Sun Mar 25 19:04:44 UTC 2018


#43308: Alter behavior load-scripts.php and load-styles.php to reduce potentially
adverse scenarios
---------------------------+--------------------
 Reporter:  youngcp        |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  5.0
Component:  Script Loader  |     Version:  4.9.4
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+--------------------

Comment (by soulseekah):

 Some tests with the PoC publically available:

 {{{
 load-scripts.php 181 scripts no caching, no compression: cpu 0.021 sec
     load-scripts.php 181 scripts no caching, compressed: cpu 0.084 sec
                                    index.php no caching: cpu 0.157 sec
 }}}

 Requesting the frontend consumes twice the resources of load-scripts.php
 on PHP 7.2. The PoC would have gotten better results requesting just the
 frontend. This doesn't really seem to be an issue at all.

 Am I missing something?

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


More information about the wp-trac mailing list