The Zstd accept-encoding header
Recently, you may have noticed a new value in theAccept-encoding
headers sent by Chrome browsers. Instead of the usual gzip, deflate, br
, you may have started to observe gzip, deflate, br, zstd
.What is the zstd encoding?
zstd
stand for Zstandard, which is a fast lossless compression algorithm. This new compression algorithm will help browsers to load pages faster and use less bandwidth. On the server-side, it also helps to use less computational resources (CPU/power) on compression, resulting in reduced server costs.Is it normal to see Chrome browsers sending zstd in the Accept-encoding header?
Yes, it is normal to see Chrome browser sending agzip, deflate, br, zstd
encoding value starting from Chrome 123 as this is when it was made available.Note that it's possible for older Google Chrome browser versions to have this value since you could activate it using the enable-zstd-content-encoding
flag.Will zstd compression be available in other browsers?
Both Firefox and Safari gave a positive feedback on the implementation of this new compression algorithm. However, they didn’t communicate about a release date.Other recommended articles
The Sec-CH-UA-Form-Factors client hint
This article presents the Sec-CH-UA-Form-Factors client hint, a new HTTP header that has been recently added to Google Chrome in version 124.
Published on: 21-04-2024
Everything you want to know about the user agent HTTP header
This article presents everything you need to know about the user agent HTTP header: its origin, how it can be used to infer the user OS/browser, as well as the limits of using the user agent for security purposes.
Published on: 16-04-2024
What are HTTP headers
This article provides an overview of the HTTP headers. We explain their role on the web and go through the main headers such as the user-agent, accept-encoding and referer to provide more details.
Published on: 27-03-2024