[WordPress] 外掛分享: WP Deferred JavaScripts

首頁外掛目錄 › WP Deferred JavaScripts
WordPress 外掛 WP Deferred JavaScripts 的封面圖片
900+
安裝啟用
★★★☆☆
3.2/5 分(35 則評價)
3486 天前
最後更新
問題解決
WordPress 3.0+ v2.0.5 上架:2013-01-26

內容簡介

此外掛使用LABJS推遲所有使用wp_enqueue_script()方法加入的 JavaScript 檔案載入時間以大幅提昇網站載入效能。

此外掛可以與所有 WordPress JavaScript 相關功能 (wp_localize_script()、頁首 JS、頁尾 JS…) 兼容使用,也與絕大部分 WordPress 外掛正常運作。

若您的網站某些外掛或佈景主題未正確使用檔案佇列功能,可能會導致網站出現錯誤。請參閱這個頁面:Function Reference/wp_enqueue_script on WordPress Codex。

LABjs('Loading And Blocking JavaScript')是一個得到 Getify Solutions 的支援並採用 MIT License 的開放原始碼專案。

我們進行了一系列的測試以評估此外掛帶來的載入時間優化程度,在 wabeo 範例中,使用 webwait 進行 150 次呼叫的測試中,此外掛可提升網站載入速度多達 25%!!
更多資訊請見截圖頁面。

您可以在作者的部落格上取得 更多 WP Deferred JavaScripts 相關資訊 或關於​​非同步 JS 技術的技術資訊。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Deferred JavaScripts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon