[WordPress] 外掛分享: Force gzip

首頁外掛目錄 › Force gzip
200+
安裝啟用
★★★★
4/5 分(1 則評價)
5721 天前
最後更新
問題解決
WordPress 2.0+ v1.0.1 上架:2010-07-19

內容簡介

這個外掛實現 gzip 輸出壓縮,以加快加載時間。

此外,這個外掛還會檢查瀏覽器是否錯誤地聲明他們不支援 GZIP,而實際上他們是支援的。這可以加快大部分使用者的加載時間。

對於缺少或錯誤的 Accept-Encoding 首部的請求,檢查 User-Agent 以識別應該支援 gzip 的瀏覽器。
* 測試他們解壓縮 gzip 的能力。
* 如果成功,則發送 gzip 壓縮的內容!

參見:

http://www.stevesouders.com/blog/2010/07/12/velocity-forcing-gzip-compression/
http://en.oreilly.com/velocity2010/public/schedule/detail/14334
http://wpdevel.wordpress.com/2010/07/13/forcing-gzip-httpwww-stevesouders-co/

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Force gzip」→ 直接安裝(推薦)

原文外掛簡介

This plugin implements gzip output compression to speed up load times.
The plugin also does a check to see if browsers are incorrectly saying that they do not support GZIP when they actually do. This can speed up load times for a significant portion of users.
For requests with missing or mangled Accept-Encoding headers, inspect the User-Agent to identify browsers that should understand gzip.
* Test their ability to decompress gzip.
* If successful, send them gzipped content!

See:

http://www.stevesouders.com/blog/2010/07/12/velocity-forcing-gzip-compression/
http://en.oreilly.com/velocity2010/public/schedule/detail/14334
http://wpdevel.wordpress.com/2010/07/13/forcing-gzip-httpwww-stevesouders-co/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon