[wp-trac] [WordPress Trac] #57548: Stop concatenating scripts and stylesheets in wp-admin and retire load-scripts.php and load-styles.php

WordPress Trac noreply at wordpress.org
Tue Sep 2 04:38:02 UTC 2025


#57548: Stop concatenating scripts and stylesheets in wp-admin and retire load-
scripts.php and load-styles.php
---------------------------+---------------------
 Reporter:  azaozz         |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  6.9
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+---------------------

Comment (by westonruter):

 @peterwilsoncc We should test this indeed.

 You're referring to transferring dictionaries, but Compression
 Dictionaries aren't implemented by `load-scripts.php`, right? Also, I
 don't see that there is even any compression at all (e.g. GZip). Maybe I'm
 not seeing something.

 The additional latency required to boot up PHP to  concatenate the scripts
 should be considered as well. Serving static files would be a much faster
 TTFB.

 We can get some additional benefits by preloading key scripts and styles
 used on in the editor when the user lands on the dashboard, for example.

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


More information about the wp-trac mailing list