Descrição
Loading of JavaScript resources should be done asynchronously, in a non-blocking manner, so the load time of your webpage will not be affected (it would not be delayed by render-blocking JavaScript). But using of deferring or async loading of jQuery causes lots of problems with jQuery plugins. This plugin replaces default WordPress’s JS loader with a special jQuery loader (jQl), that’s why there are no any errors with jQuery plugins.
It’s highly recommended to use any concatenate plugin, e.g., Fast Velocity Minify or WP Fastest Cache. Please, do not add jQuery to the ignore list, because this plugin fixes “undefined jQuery” errors on the console log. Also, it is allowed to use defer or async parsing of JS files.
It requires WordPress 4.1 and newer.
It is available in English and Russian.
Capturas de tela
Instalação
- Install the plugin using FTP or WordPress Dashboard.
- Activate it.
- Optionally you can disable jQuery CDN replacing on Settings → jQuery Async Loader page.
It’s highly recommended to use any concatenate plugin, e.g., Fast Velocity Minify or WP Fastest Cache. Please, do not add jQuery to the ignore list, because this plugin fixes “undefined jQuery” errors on the console log. Also, it is allowed to use defer or async parsing of JS files.
Perguntas frequentes
- How it works?
-
- The plugin loads small JavaScript code in the header. This is jQl developed by Cédric Morin (jQuery async loader);
- Then it loads minified jQuery from Google CDN (optional, you can disable it on settings page);
- And finally, it replaces all tags with a special function.
- I see scripts loaded through tag, is it OK?
-
Yes, that’s okay for Google Analytics, Facebook pixel, Twitter tag and many other external scripts.
But please make sure that all your theme and plugins scripts are included correctly through wp_enqueue_script or similar functions
Avaliações
Não há avaliações para este plugin.
Colaboradores e desenvolvedores
“jQuery & Plugins Asynchronous Loader” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.
ColaboradoresTraduzir “jQuery & Plugins Asynchronous Loader” para seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.
Registro de alterações
1.1
- Added admin pages processing option
- Russian translation
1.0
- Initial release