The growing library of 300+ ready-to-use templates that work with all WordPress themes including Astra, Hello,...
Defer the loading of all JavaScripts added with wp_enqueue_script(), using LABJS (an asynchronous javascript library).
WP Deferred JavaScripts is a WordPress plugin designed to defer the loading of JavaScripts that are added via the wp_enqueue_script() function. It aims to improve site loading times by optimising how scripts are loaded, using the LABJS library.
This plugin is suitable for WordPress users who want to enhance their site's performance, particularly those familiar with script management and enqueuing. However, it may not work correctly with plugins or themes that do not properly enqueue their scripts.
Best for: This plugin suits WordPress users looking to optimise their site's loading speed.
What it does well
Where it falls short
WP Deferred JavaScripts offers a specific solution for improving loading times, but its effectiveness may vary depending on the quality of other themes and plugins in use.
Willy Bahuaud's own description of WP Deferred JavaScripts, lightly tidied.
This plugin defer the loading of all JavaScripts added by the way of wp_enqueue_script(), using LABJS. The result is a significant optimization of loading time.
It is compatible with all WordPress JavaScript functions (wp_localize_script(), js in header, in footer…) and works with all well coded plugins.
If a plugin or a theme is not properly enqueuing scripts, your site may not work. Check this page: Function Reference/wp_enqueue_script on WordPress Codex.
LABjs (Loading And Blocking JavaScript) is an open-source (MIT license) project supported by Getify Solutions.
We performed a range of tests to determine the potential benefit of loading time. On wabeo we executed webwait (150 calls by test). Result is this plugin could improve your loading time by 25%!!
More information in the Screenshots section.
You can find more information about WP Deferred JavaScripts and technical information about asynchronous scripts on authors blogs.
Other plugins for libraries and archives.
The growing library of 300+ ready-to-use templates that work with all WordPress themes including Astra, Hello,...
Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling...
Easily replace any attached image/file by simply uploading a new file in the Media Library edit view - a real...
HappyAddons packs Header Footer Builder, Megamenu, Single Post, Archive Page, & 500+ Ready Templates into...
CMB2 is a metabox, custom fields, and forms library for WordPress that will blow your mind.
The best WordPress templates, pattern, and layout library with 1,000+ designs built for the Gutenberg block ed...