Estimate compression level by Leon Brocard
ExperimentalExperimental
A Firefox browser extension that estimates the HTTP compression level of the page.
You'll need Firefox to use this extension
Extension Metadata
Screenshots
About this extension
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.
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.
Rate your experience
PermissionsLearn more
This add-on needs to:
- Access browser activity during navigation
- Access your data for all websites
More information
- Add-on Links
- Version
- 0.0.2
- Size
- 103.79 KB
- Last updated
- 3 years ago (Mar 18, 2022)
- Related Categories
- License
- MIT License
- Version History
Add to collection
More extensions by Leon Brocard
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet