
內容簡介
載入 JavaScript 資源時應該以非同步、非阻塞的方式進行,以使您的網頁載入時間不受影響 (而不會被渲染阻塞的 JavaScript 延遲)。但使用延遲載入或非同步載入 jQuery 可能會導致 jQuery 外掛程式的許多問題。此外掛可將預設的 WordPress JS 載入器取代為特殊的 jQuery 載入器 (jQl),因此不會有任何 jQuery 外掛程式的錯誤。
建議使用任何縮合程式外掛程式,例如 Fast Velocity Minify 或 WP Fastest Cache。請不要將 jQuery 加入忽略清單,因為此外掛程式可以修正控制台日誌中的 “undefined jQuery” 錯誤。此外,允許使用延遲或非同步解析 JS 檔案。
需要 WordPress 4.1 或更新版本。
提供英文和俄文版本。
外掛標籤
開發者團隊
② 後台搜尋「jQuery & Plugins Asynchronous Loader」→ 直接安裝(推薦)
原文外掛簡介
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.
