diff --git a/etc/nginx/includes/compression_brotli.conf b/etc/nginx/includes/compression_brotli.conf index f3d6d3f..92b0ee0 100644 --- a/etc/nginx/includes/compression_brotli.conf +++ b/etc/nginx/includes/compression_brotli.conf @@ -66,9 +66,9 @@ brotli_buffers 16 8k; brotli_window 512k; # Up the minimum length a little to account for gzip overhead -# this means anything smaller than 50 bytes won't be compressed. +# this means anything smaller than 1024 bytes won't be compressed. # The default is 20 bytes, which is sooo tiny it's a waste to compress. -brotli_min_length 64; +brotli_min_length 1024; # Custom header. add_header X-Powered-By "LEMPer/Brotli"; diff --git a/etc/nginx/includes/compression_gzip.conf b/etc/nginx/includes/compression_gzip.conf index 30d0670..f308621 100644 --- a/etc/nginx/includes/compression_gzip.conf +++ b/etc/nginx/includes/compression_gzip.conf @@ -79,9 +79,9 @@ gzip_vary on; gzip_buffers 16 8k; # Up the minimum length a little to account for gzip overhead -# this means anything smaller than 50 bytes won't be compressed. +# this means anything smaller than 1024 bytes won't be compressed. # The default is 20 bytes, which is sooo tiny it's a waste to compress. -gzip_min_length 64; +gzip_min_length 1024; # Custom header. add_header X-Powered-By "LEMPer/Gzip";