Issue with zstd compression decompression in Firefox
Hello Mozilla Support Team,
I am writing to report a problem with the Mozilla Firefox browser. After the latest update, the browser appears to no longer decompress content that is compressed using the zstd (Zstandard) algorithm.
Previously, I could view web pages or resources compressed with zstd without issue, but now they fail to display correctly (or give errors). I have tested this on multiple websites and different systems, which suggests the change is not specific to one site or machine.
Could you please clarify the following:
Has support for zstd‐compressed content been removed or disabled in the recent Firefox version?
If so, are there plans to restore this support in a future release?
Is there a workaround or configuration setting that allows enabling zstd decompression in the meantime?
Thank you for your attention to this matter. I appreciate your help in ensuring this functionality is restored or clarified.
Best regards, Oleh Boiko Windiws 10, FF 144.0.2
Alle Antworten (4)
Hi, as far as I know, zstd compression should still be working, at least for HTTPS. Is this http or htttps website?
"zstd" appears in various places in the preferences editor, about:config. I'm not sure which is relevant to your issue. (Configuration Editor for Firefox)
(1) Network transmissions (since Fx126)
- network.http.accept-encoding = gzip, deflate
- network.http.accept-encoding.secure = gzip, deflate, br, zstd
(2) Content? (since Fx138)
- dom.compression_streams.zstd.enabled = false
(3) Certificates (since Fx143?)
- network.http.http3.enable_certificate_compression_zstd = true
website https Browser response:
Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. Please contact the website owners to inform them of this problem.
other browsers return the correct code Sorry, I don't want to post the link because it leads to the site administration page.
As a starting point, could you experiment with the setting:
(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.
More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.
(2) In the search box in the page, type or paste network.http.accept-encoding.secure and pause while the list is filtered
(3) If the preference value does NOT have "zstd" (it isn't is "gzip, deflate, br, zstd"), double-click and add zstd to the list. Does the page load?
(4) On the other hand, if the preference value HAS "zstd", double-click to shorten the value to "gzip, deflate, br" to roll back support. Does the page load? If so, perhaps the implementations of zstd between Firefox and the server do not match for some reason.