aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2024-01-16 14:53:43 +0000
committerSven-Hendrik Haase <svenstaro@gmail.com>2024-01-16 14:53:43 +0000
commit13dff1cc657dcbc9540e7046f17df2abfec14616 (patch)
tree85ac0931e2dc935ead0653f1c5d6ccd0097d4120 /README.md
parentReformat args help (diff)
downloadminiserve-13dff1cc657dcbc9540e7046f17df2abfec14616.tar.gz
miniserve-13dff1cc657dcbc9540e7046f17df2abfec14616.zip
Update README for -C
Diffstat (limited to '')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index fda2c4d..03c10d7 100644
--- a/README.md
+++ b/README.md
@@ -294,6 +294,15 @@ Options:
[env: MINISERVE_ENABLE_ZIP=]
+ -C, --compress-response
+ Compress response
+
+ WARNING: Enabling this option may slow down transfers due to CPU overhead, so it is disabled by default.
+
+ Only enable this option if you know that your users have slow connections or if you want to minimize your server's bandwidth usage.
+
+ [env: MINISERVE_COMPRESS_RESPONSE=]
+
-D, --dirs-first
List directories first