[wp-trac] [WordPress Trac] #63793: Parser-blocking scripts should render last in all cases to speed up page load

WordPress Trac noreply at wordpress.org
Mon Aug 11 09:03:31 UTC 2025


#63793: Parser-blocking scripts should render last in all cases to speed up page
load
---------------------------+--------------------------------------
 Reporter:  kkmuffme       |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Script Loader  |     Version:  2.1
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  javascript, performance
---------------------------+--------------------------------------

Comment (by kkmuffme):

 Thanks. Didn't read all your benchmarks, but:

 >Priority 1: Async scripts - Render first (non-blocking, parallel
 download)
 >Priority 2: Defer scripts - Render second (non-blocking, ordered
 execution)

 Swapping them around should actually be faster (as outlined in my OP),
 since an async script will execute as soon as it's downloaded blocking the
 thread.
 Since "defer" only executes at the end and isn't parser or render blocking
 up to that point.

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


More information about the wp-trac mailing list