#930: Zstandard Content-Encoding

Visit on Github.

Opened Feb 7, 2024

こんにちは TAG-さん!

I'm requesting a TAG review of Zstandard Content-Encoding.

Zstandard, or “zstd”, is a data compression mechanism described in RFC8878. It is a fast lossless compression algorithm, targeting real-time compression scenarios at zlib-level and better compression ratios. The "zstd" token was added as an IANA-registered Content-Encoding token as per https://datatracker.ietf.org/doc/html/rfc8878#name-content-encoding.

Adding browser support for "zstd" as a Content-Encoding will help load pages faster, use less bandwidth, and spend less time and CPU/power on compression on servers, resulting in reduced server costs.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines: Chromium is planning to ship support in M123 (branches on Feb 19, 2024).
  • The group where the work on this specification is currently being done: IETF HTTP working group
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): IETF HTTP working group
  • Major unresolved issues with or opposition to this specification: None
  • This work is being funded by: Meta, Google

You should also know that...

N/A

We'd prefer the TAG provide feedback as (please delete all but the desired option):

💬 leave review feedback as a comment in this issue and @-notify [github usernames]

Discussions

2024-02-12

Minutes

Martin: ...small increments can mean a lot for people who have to deal with bloated webpages. This is pretty straightforward. I'll check with Yves.

Natthew: seems like a really impressive algorithm, I wondered about this. What is coming next?

nice nerdy discussion about codecs

(mt) Propose the following:

<blockquote>

The TAG recognizes that small improvements in efficiency, both in compression ratio and CPU cost, do have real benefits for web users. There are costs to adding more code to the platform and having more choices available does increase the cost and complexity of negotiation. However, those costs only mean that the benefits need to be meaningful. zstd generally performs better than brotli, the current best of the (other) standardized options. Adding zstd would be welcome.

</blockquote>