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
Use Brotli instead of Gzip #253
Comments
The problem with brotli compression is that browsers only accept brotli from an encrypted connection. By default BlueMap-Maps are |
I'm very much interested in this as I'm using a proxy server with TLS anyway. |
Is your feature request related to a problem? Please describe.
Considering that Brotli is supported by every major browser these days you should consider using it instead of Gzip. In my tests, JSON generated by BlueMap compressed around 20-30% smaller with Brotli compared to Gzip. This saves a lot of space storing the map and a lot of bandwidth serving the map.
Describe the solution you'd like
Enable Brotli compression to replace Gzip compression by default (or make it configurable). Existing Gzip files should either be unzipped and compressed again with Brotli as some sort of migration, or the map should re-render again (both are fine probably).
The text was updated successfully, but these errors were encountered: