From 03a3b8b38f91295f95b732b1521e63a24b439e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 31 Jul 2023 17:11:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E2=80=9C=E5=8C=BA=E9=97=B4=E2=80=9D?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E2=80=9C=E5=88=86=E7=89=87=E2=80=9D?= 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 ++++---- web/public/js/components/server/http-cache-refs-box.js | 2 +- .../js/components/server/http-cache-refs-config-box.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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 4d210313..71a6b387 100644 --- a/web/public/js/components/server/http-cache-ref-box.js +++ b/web/public/js/components/server/http-cache-ref-box.js @@ -275,17 +275,17 @@ Vue.component("http-cache-ref-box", { - 支持缓存区间内容 + 支持缓存分片内容 -

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

+

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

- 强制返回区间内容 + 强制返回分片内容 -

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

+

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

diff --git a/web/public/js/components/server/http-cache-refs-box.js b/web/public/js/components/server/http-cache-refs-box.js index a6543523..e31ce69b 100644 --- a/web/public/js/components/server/http-cache-refs-box.js +++ b/web/public/js/components/server/http-cache-refs-box.js @@ -55,7 +55,7 @@ Vue.component("http-cache-refs-box", { {{cacheRef.methods.join(", ")}} Expires 状态码:{{cacheRef.status.map(function(v) {return v.toString()}).join(", ")}} - 区间缓存 + 分片缓存 If-None-Match If-Modified-Since 支持异步 diff --git a/web/public/js/components/server/http-cache-refs-config-box.js b/web/public/js/components/server/http-cache-refs-config-box.js index 125e0167..ba8c0bb1 100644 --- a/web/public/js/components/server/http-cache-refs-config-box.js +++ b/web/public/js/components/server/http-cache-refs-config-box.js @@ -188,7 +188,7 @@ Vue.component("http-cache-refs-config-box", { {{cacheRef.methods.join(", ")}} Expires 状态码:{{cacheRef.status.map(function(v) {return v.toString()}).join(", ")}} - 区间缓存 + 分片缓存 If-None-Match If-Modified-Since 支持异步