內容簡介
這個外掛實現 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/
外掛標籤
開發者團隊
原文外掛簡介
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/
