From 2565d5cab29ebf28a0ed10e0340c19e8b405a1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Thu, 15 Jun 2023 15:15:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E6=9D=A1=E4=BB=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0"=E5=BC=BA=E5=88=B6=E8=BF=94=E5=9B=9E=E5=8C=BA?= =?UTF-8?q?=E9=97=B4=E5=86=85=E5=AE=B9"=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/js/components/server/http-cache-ref-box.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/public/js/components/server/http-cache-ref-box.js b/web/public/js/components/server/http-cache-ref-box.js index 2099ec8f..0e8f7419 100644 --- a/web/public/js/components/server/http-cache-ref-box.js +++ b/web/public/js/components/server/http-cache-ref-box.js @@ -30,6 +30,7 @@ Vue.component("http-cache-ref-box", { simpleCond: null, // 简单条件 allowChunkedEncoding: true, allowPartialContent: true, + forcePartialContent: false, enableIfNoneMatch: false, enableIfModifiedSince: false, isReverse: this.vIsReverse, @@ -278,6 +279,13 @@ Vue.component("http-cache-ref-box", {

选中后,支持缓存源站返回的某个区间的内容,该内容通过206 Partial Content状态码返回。

+ + 强制返回区间内容 + + +

选中后,表示无论客户端是否发送Range报头,都会优先尝试返回已缓存的区间内容;如果你的应用有不支持区间内容的客户端(比如有些下载软件不支持206 Partial Content),请务必关闭此功能。

+ + 状态码列表