From 8301d3669bb83946d8e9fc009067ac76eed2fc44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Fri, 30 Dec 2022 11:43:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=8E=8B=E7=BC=A9=E4=B8=8D=E6=94=AF=E6=8C=81?= =?UTF-8?q?Partial=20Content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/server/http-compression-config-box.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 8425845d..312f0c5c 100644 --- a/web/public/js/components/server/http-compression-config-box.js +++ b/web/public/js/components/server/http-compression-config-box.js @@ -24,7 +24,8 @@ Vue.component("http-compression-config-box", { maxLength: {count: 0, "unit": "kb"}, mimeTypes: ["text/*", "application/javascript", "application/json", "application/atom+xml", "application/rss+xml", "application/xhtml+xml", "font/*", "image/svg+xml"], extensions: [".js", ".json", ".html", ".htm", ".xml", ".css", ".woff2", ".txt"], - conds: null + conds: null, + enablePartialContent: false } } @@ -231,6 +232,13 @@ Vue.component("http-compression-config-box", {

0表示不限制,内容长度从文件尺寸或Content-Length中获取。

+ + 支持Partial
Content + + +

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

+ + 匹配条件