[WordPress] 外掛分享: Defer CSS Addon for BWP Minify

首頁外掛目錄 › Defer CSS Addon for BWP Minify
WordPress 外掛 Defer CSS Addon for BWP Minify 的封面圖片
40+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
3853 天前
最後更新
問題解決
WordPress 3.3.2+ v1.0 上架:2015-04-14

內容簡介

BWP Minify 是一個強大的外掛,能夠將多個 CSS 檔案縮小為一個檔案。

如果生成的 CSS 檔案過大,您可以使用此外掛將其宣告移動到頁腳中以延遲載入此檔案,再透過非同步 javascript 和 DOM 操作將其放回。

這種技術建議與「above-the-fold CSS」實踐搭配使用,因為將早期的 CSS 放入頁面中能夠在主要的 CSS 檔案還在載入時顯示適當的樣式。

有一些選項可用於執行 above-the-fold 優化,我們也開發了CSS Above The Fold 外掛,它可以重複使用目前的主題樣式表,提取 CSS 代碼塊應用一個特殊的標記。

另一個實現相同效果但提供管理後台手動配置的外掛是Autoptimize,它允許獨立定義特定的 CSS 代碼樣式表。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Defer CSS Addon for BWP Minify」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

BWP Minify is a powerful plugin to minify and compact several CSS files into only one.
If the resulting CSS file is too big or large, this addon allows to defer the load of this generated CSS file moving their declaration from header to footer, and put it again using asynchronous javascript and DOM manipulation.
This technique is recommended to use in conjuntion with the “css-above-the-fold” practice, as well introducing early CSS in-page allows proper styling display while the main CSS file is still loading.
There are some options to do the above-the-fold optimization, also we have developed a CSS Above The Fold plugin that reuses the current theme stylesheet extracting chunks of CSS code applying a special markup.
Another plugin that does this solution but providing an administration area to configure it manually is Autoptimize, that allows to define a specific CSS code in a independent way of your theme CSS stylesheet.

延伸相關外掛

文章
Filter
Mastodon