FeatureFuel
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".

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests