Loading...
HTTP/1.1 200 OK
Content-Type: text/html
Content-Encoding: zstdHTTP/1.1 200 OK
Content-Type: text/html
Content-Encoding: zstd
Vary: Accept-EncodingVary tells caches the body depends on Accept-Encoding, so a zstd response is not served to clients that cannot decode it.
Accept-Encoding, with Brotli or Gzip as fallback.Vary: Accept-Encoding so caches do not mix encodings.Brotli usually gives slightly smaller static files. Zstd compresses much faster at similar ratios, which helps dynamic responses.
It does not list 'zstd' in Accept-Encoding, and the server should fall back to 'br' or 'gzip'.
Yes. Compress at build time with a high level, for example zstd -19, and serve the file when the client accepts 'zstd'.