Quantcast
Channel: WordPress Ideas » Tag: javascript - Recent Posts
Viewing all articles
Browse latest Browse all 63

Paris Holley on "Non-blocking Asynchronous wp_enqueue_script"

$
0
0

Keep in mind that async/defered will not work if your JS files have dependencies (ie: a jquery plugin needs jquery to be loaded first). The plugin I wrote could use some modernization (ie: determine if it can run pure async without doing head.js).

Though nowadays, minimizing all of your scripts into a single file or even embedding directly into your page can be more performant than going async.


Viewing all articles
Browse latest Browse all 63

Trending Articles