diff --git a/web/public/js/components/server/http-compression-config-box.js b/web/public/js/components/server/http-compression-config-box.js index da127979..ed00550c 100644 --- a/web/public/js/components/server/http-compression-config-box.js +++ b/web/public/js/components/server/http-compression-config-box.js @@ -15,7 +15,7 @@ Vue.component("http-compression-config-box", { isOn: false, useDefaultTypes: true, types: ["brotli", "gzip", "zstd", "deflate"], - level: 3, + level: 0, decompressData: false, gzipRef: null, deflateRef: null, @@ -26,7 +26,9 @@ Vue.component("http-compression-config-box", { extensions: [".js", ".json", ".html", ".htm", ".xml", ".css", ".woff2", ".txt"], exceptExtensions: [".apk", ".ipa"], conds: null, - enablePartialContent: false + enablePartialContent: false, + onlyURLPatterns: [], + exceptURLPatterns: [] } } @@ -232,12 +234,26 @@ Vue.component("http-compression-config-box", {

支持对分片内容(PartialContent)的压缩;除非客户端有特殊要求,一般不需要启用。

+ + + 例外URL + + +

如果填写了例外URL,表示这些URL跳过不做处理。

+ + + + 限制URL + + +

如果填写了限制URL,表示只对这些URL进行压缩处理;如果不填则表示支持所有的URL。

+ 匹配条件 - +