Compression Streams

Provides a means of performing gzip and deflate compression from JavaScript using streams. This covers two interfaces: CompressionStream and DecompressionStream.

It is possible to compress stream data without this feature, but common libraries like zlib are complex to use. CompressionStream makes it easy for developers to do this, and avoids the need to bundle a compressor with their application.

Demo

Documentation

Specification

Public discussion

Status in Chromium

Blink>Network>StreamsAPI


Enabled by default (tracking bug) in:

  • Chrome for desktop release 80
  • Chrome for Android release 80
  • Android WebView release 80

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Intent to Prototype url

Intent to Prototype thread

Last updated on 2019-12-05