Improve help descriptions for Brotli and Gzip compression settings

This commit is contained in:
Théophile Diot 2025-01-14 10:55:36 +01:00
parent 18a8c4611c
commit e8943e1da7
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
2 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@
"USE_BROTLI": {
"context": "multisite",
"default": "no",
"help": "Use brotli",
"help": "Enable or disable Brotli compression.",
"id": "use-brotli",
"label": "Use brotli",
"regex": "^(yes|no)$",
@ -26,7 +26,7 @@
"BROTLI_MIN_LENGTH": {
"context": "multisite",
"default": "1000",
"help": "Minimum length for brotli compression.",
"help": "Minimum response size (in bytes) for Brotli compression to apply.",
"id": "brotli-min-length",
"label": "Minimum length",
"regex": "^\\d+",
@ -35,7 +35,7 @@
"BROTLI_COMP_LEVEL": {
"context": "multisite",
"default": "6",
"help": "The compression level of the brotli algorithm.",
"help": "Compression level for Brotli (0 = no compression, 11 = maximum compression).",
"id": "brotli-comp-level",
"label": "Compression level",
"regex": "^([02-9]|1[01]?)$",

View file

@ -8,7 +8,7 @@
"USE_GZIP": {
"context": "multisite",
"default": "no",
"help": "Use gzip",
"help": "Enable or disable Gzip compression.",
"id": "use-gzip",
"label": "Use gzip",
"regex": "^(yes|no)$",
@ -26,7 +26,7 @@
"GZIP_MIN_LENGTH": {
"context": "multisite",
"default": "1000",
"help": "Minimum length for gzip compression.",
"help": "Minimum response size (in bytes) for Gzip compression to apply.",
"id": "gzip-min-length",
"label": "Minimum length",
"regex": "^\\d+$",
@ -35,7 +35,7 @@
"GZIP_COMP_LEVEL": {
"context": "multisite",
"default": "5",
"help": "The compression level of the gzip algorithm.",
"help": "Compression level for Gzip (1 = least compression, 9 = maximum compression).",
"id": "gzip-comp-level",
"label": "Compression level",
"regex": "^[1-9]$",
@ -45,7 +45,7 @@
"GZIP_PROXIED": {
"context": "multisite",
"default": "no-cache no-store private expired auth",
"help": "Which kind of proxied requests we should compress.",
"help": "Specifies which proxied requests should be compressed.",
"id": "gzip-proxied",
"label": "Proxied requests",
"regex": "^.*$",