WP Manifestindependent plugin directory
manifest / performance / async-css-js

Async CSS & JS

Adds required tags for Async CSS & deferred JS automatically to all enqueued WordPress scripts & styles.

★ 3stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/omacranger/async-css-js/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Async CSS & JS for WordPress This plugin was developed to enable Async CSS, and deferred JS for for any site using WordPress. On simple sites, it will work out of the box without any additional configuration. Any additional plugins that utilizes inlined JS techniques improperly (such as inlining jQuery options instead of using something like wplocalizescript) might experience errors. Notice: It is highly recommended to use something like Grunt Critical on a site when utilizing this plugin. Otherwise, there can be a flash of unstyled text / content while the rest of the assets asynchronously load. It utilizes the loadCSS library as a fallback for browsers that don't support the preload attribute. Plugins where issues might arise Any plugin relying on inlined JS can be affected by installing this plugin. Some plugins with known issues I'll list out below, and try to offer some resources (or snippets) on how to fix. Gravity Forms - Pretty good fix here