mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-13 08:28:21 +00:00
Set _min_lenght to 1kb
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user