[WordPress] 外掛分享: LH HTTP/2 Server Push

首頁外掛目錄 › LH HTTP/2 Server Push
WordPress 外掛 LH HTTP/2 Server Push 的封面圖片
10+
安裝啟用
尚無評分
3219 天前
最後更新
問題解決
WordPress 3.0+ v1.02 上架:2017-05-22

內容簡介

如果使用得當,伺服器推送功能可以大幅提升網站效能。然而,其他處理伺服器推送的 WordPress 外掛可能會因為粗暴地將檔案推送至瀏覽器而拖慢網站速度。

許多外掛會推送所有 WordPress 排隊的檔案至瀏覽器並使用輸出緩衝來實現。

然而,這個外掛會透過正確的方式來運作,只會推送瀏覽器在初次互動時所需的儲存在文件標頭的腳本和 CSS 等資訊。

注意:使用此外掛需要支援 HTTP/2 的網頁伺服器。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「LH HTTP/2 Server Push」→ 直接安裝(推薦)

原文外掛簡介

Server Push provides significant performance gains if used judiciously. However other WordPress plugins that handle server push can actually slow your site as they push files indiscrimentally.
Most push all files enqueued by wordpress to the broswer and use output buffering to achieve this.
However this plugin does it properly by only pushing the the assets that the browser requires for the initial user interaction. Namely the scripts and css in the head of the document.
Note : It requires a web server that supports HTTP/2.

延伸相關外掛

文章
Filter
Mastodon