Estimate compression level
1 个评分
)概述
A Chrome browser extension that estimates the HTTP compression level of the page.
Background Compression is a core feature of HTTP that improves transfer speed, cache bandwidth utilization and cache utilization. Lossless data compression algorithms development led to the LZW algorithm (1984), used by the compress application (1985), and then the PKZIP application (1991) with its DEFLATE algorithm which was then used in the gzip format (1992). The zlib library (1995) became a de facto standard compression library for gzip data. HTTP/1.1 in 1999 (RFC 2616) added support for gzip, compress and deflate compression as content encodings. gzip compression quickly became the default as it compressed better than compress, which used the patented LZW algorithm, and as Microsoft incorrectly implemented deflate as a broken raw deflate stream instead of the correct deflate stream inside a zlib format wrapper. Compression algorithms generally define a file format and how to decompress it. This allows the user to pick an appropriate compression level: either fast compression, which compresses quickly, but doesn't compress very small or instead best compression, which compresses slowly but generates a smaller output. With gzip and zlib these levels range from 1 (fast) to 9 (best), with a default of 6. When you browse to a page with this extension and the content is compressed with gzip, a little badge is shown with the estimated compression level. If the compression was achieved with a gzip compressor other than zlib, a fractional estimate of zlib compression level is shown. How does it work? The chrome extension notes the Content-Length of the page as it is loaded, then fetches the page again, tries to compress it with a variety of levels and then displays the result. This uses more network and CPU. Use sparingly. TODO Some websites use the newer Brotli compression algorithm instead of gzip. This extension does not support Brotli yet.
1 星(5 星制)1 个评分
详情
- 版本0.0.1
- 上次更新日期2022年3月17日
- 提供方Leon Brocard
- 大小520KiB
- 语言English
- 开发者Leon Brocard
22 Cathles Road London SW12 9LD GB邮箱
lbrocard@fastly.com电话
+44 7970 535870 - 交易者此开发者已根据欧盟的定义将自己标识为交易者,并承诺仅提供符合欧盟法律要求的产品或服务。
隐私权
该开发者已声明,您的数据:
- 不会因未获批准的用途出售给第三方
- 不会为实现与产品核心功能无关的目的而使用或转移
- 不会为确定信用度或放贷目的而使用或转移
支持
若有任何疑问、建议或问题,请在桌面浏览器中打开此页面