0
Remove hardcoded gzip compression
Source: nextcloud/server#66574 · opened by @Forza-tng
Nextcloud is hardcoding some of its output as gzip, and doesn't allow for other encodings a browser may support.
I propose to have a config option to enable or disable internal compression.
A lot of people use compression via a reverse proxy, which may also support additional compression options like brotli and zstd. It would also move some of the encoding load from the php-fpm server to the reverse proxy.
There is also a tiny problem with the string matching, as it would provide a gzip encoding to a client that specifically states a qvalue of gzip;q=0. A a qvalue of 0 means "not acceptable".
I propose to have a config option to enable or disable internal compression.
A lot of people use compression via a reverse proxy, which may also support additional compression options like brotli and zstd. It would also move some of the encoding load from the php-fpm server to the reverse proxy.
There is also a tiny problem with the string matching, as it would provide a gzip encoding to a client that specifically states a qvalue of gzip;q=0. A a qvalue of 0 means "not acceptable".
No pledges yet. Be the first to back this.
Comments
Similar requests
Data Compression for Server Storage Optimization
4 votes · 0 comments
[Bug]: Compress zip files
1 vote · 0 comments
Locale for external SMB Storage is hardcoded to en_US.UTF-8
0 votes · 0 comments
Ship brotli level 11 precompressed assets as part of the release archive
0 votes · 0 comments
Per-event custom logo for iMIP invitation emails
0 votes · 0 comments
No comments yet.