-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Standard dictionary for web usage #3100
Comments
Hi @tuxayo, We've discussed this a bunch internally, and we've had related conversations on various issues (#1669, #315, #2853, mozilla/standards-positions#105). The summary is that this is something we would like to do. But it requires time that we have not yet been able to invest. |
Hi, thanks for the update @felixhandte Still no time for this? Wouldn't the gain over brotli bring a bit better first loading experience of facebook's websites? Make the HTML, CSS, JS be ready a bit faster so it can display the text content while waiting for media content. (which should still take the same time) |
I think it is beneficial for everyone to extend zstd to HTTP/3. Since zstd can provide better compression ratio and speed than the existing scheme by using the appropriate dictionary, why not do it? Moreover, the compression algorithm used in the existing HTTP protocol does lack more modernization, such as multi-core support and better dictionaries. At this stage, there is really no compression algorithm more suitable for HTTP/3 than ZTSD. |
Somes people requested this feature at https://bugzilla.mozilla.org/show_bug.cgi?id=1301878 |
For dynamic content only. For static content brotli is still the best choice. |
You should implement cache with The results of implement Brotli before save the content in cache are very good, and it should reduce the response time x10, x15 (in heavy contents) |
On our end, I think we'd be interested in incorporating a web-focused dictionary as we consider implementing zstandard support. If we can drive even bigger wins for web content, that is an added bonus for the story for deploying zstandard in the browser (assuming there's a good way to indicate when the dictionary is in use, etc). |
Describe the solution you'd like
End goal is to have web browsers and servers use zstd the same way they now use brotli and gzip. IIUC the first step would be to have a dictionary optimized for web usage. Fyrd/caniuse#4065 (comment)
There doesn't seem to be a similar ticket. Feel free to close as dup if it's the case.
The text was updated successfully, but these errors were encountered: