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 71a6b387..5713df59 100644 --- a/web/public/js/components/server/http-cache-ref-box.js +++ b/web/public/js/components/server/http-cache-ref-box.js @@ -150,7 +150,7 @@ Vue.component("http-cache-ref-box", { } switch (condCategory) { case "simple": - dialog.style.width = "40em" + dialog.style.width = "45em" break case "complex": let width = window.parent.innerWidth @@ -267,13 +267,6 @@ Vue.component("http-cache-ref-box", {

内容尺寸如果低于此值则不缓存。

- - 支持分段内容 - - -

选中后,Gzip等压缩后的Chunked内容可以直接缓存,无需检查内容长度。

- - 支持缓存分片内容 @@ -281,13 +274,20 @@ Vue.component("http-cache-ref-box", {

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

- + 强制返回分片内容

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

+ + 强制Range回源 + + +

选中后,表示把所有包含Range报头的请求都转发到源站,而不是尝试从缓存中读取。

+ + 状态码列表 @@ -343,6 +343,13 @@ Vue.component("http-cache-ref-box", {

试验功能。允许客户端中断连接后,仍然继续尝试从源站读取内容并缓存。

+ + 支持分段内容 + + +

选中后,Gzip等压缩后的Chunked内容可以直接缓存,无需检查内容长度。

+ + 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 e31ce69b..f25efbf5 100644 --- a/web/public/js/components/server/http-cache-refs-box.js +++ b/web/public/js/components/server/http-cache-refs-box.js @@ -56,6 +56,7 @@ Vue.component("http-cache-refs-box", { Expires 状态码:{{cacheRef.status.map(function(v) {return v.toString()}).join(", ")}} 分片缓存 + Range回源 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 ba8c0bb1..671c740e 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 @@ -189,6 +189,7 @@ Vue.component("http-cache-refs-config-box", { Expires 状态码:{{cacheRef.status.map(function(v) {return v.toString()}).join(", ")}} 分片缓存 + Range回源 If-None-Match If-Modified-Since 支持异步