Skip to content
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

Consider a compressed file format with pre-shared dictionary. #75

Open
pmeenan opened this issue Apr 13, 2019 · 0 comments
Open

Consider a compressed file format with pre-shared dictionary. #75

pmeenan opened this issue Apr 13, 2019 · 0 comments

Comments

@pmeenan
Copy link

pmeenan commented Apr 13, 2019

The binast files should benefit from using brotli as a file compression format with a binast-specific dictionary (that is part of the spec and built into the clients). Similar to how woff2 specifies brotli as part of the file format for the file itself. Presumably the pre-shared dictionary can contain the binast structures/tags as well as the full DOM and ES6 API's.

By making the compression part of the file format itself it will be done at build time and will also be more likely to use higher compression levels than most servers use at transfer time.

The dictionary may age as new interfaces become popular but it will still be at least as good as using brotli without a custom dictionary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant