WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12009, comment 39


Ignore:
Timestamp:
03/05/2018 03:09:24 PM (3 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12009, comment 39

    initial v1  
    1111As far as I see the only thing we can do is add `defer` to the script tag that loads the concatenated scripts in the footer. We probably can add `defer` when outputting single script tags for scripts that are enqueued for the footer. Not sure if either of these will make any significant difference :)
    1212
    13 Also thinking we should have another look at script-loader. Modern JavaScript is about modules and building (pre-concatenating). The current script-loader's dependency model and JIT concatenating may not be necessary.
     13Also thinking we should have another look at script-loader. Modern JavaScript is about modules and building (pre-concatenating). The current script-loader's dependency model and JIT concatenation may not be the best for it.