-
Notifications
You must be signed in to change notification settings - Fork 152
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 using zopfli to generate .gz files #402
Comments
It is slower... wikipedia:
Whitenoise already adds a considerable overhead to deploys by doing so much work compressing up front, in serial (often including third party files that aren't served). I wouldn't want to slow it down further for savings when Brotli is already supported, and widely supported by browsers. It could perhaps be an option, but I'd like to see more evidence that it's really desirable. Is |
Agreed, there's a tradeoff here. I doubt it's worthwhile for large files. I just wanted to make sure you were aware it exists. Unfortunately I don't have any data on .gz vs .br hit rates to share.
The only other one I've found is pyzopfli which appears unmaintained. IIRC I selected
|
Okay. I think the best course of action right now is to leave this open, and if others show support for the feature then we can look into it. |
Description
The Zopfli compressor generates gzip-compatible compressed files smaller than zlib, and often pretty close to Brotli. For example I use the Python bindings to compress some web assets here:
The main downside is that Zopfli is much slower than zlib, like Brotli.
The text was updated successfully, but these errors were encountered: