mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 06:10:26 +08:00
缓存设置中增加“支持分片内容”选项,用来支持Chunked内容
This commit is contained in:
@@ -13,7 +13,8 @@ Vue.component("http-cache-ref-box", {
|
||||
skipCacheControlValues: ["private", "no-cache", "no-store"],
|
||||
skipSetCookie: true,
|
||||
enableRequestCachePragma: false,
|
||||
conds: null
|
||||
conds: null,
|
||||
allowChunkedEncoding: true
|
||||
}
|
||||
}
|
||||
if (ref.life == null) {
|
||||
@@ -72,6 +73,13 @@ Vue.component("http-cache-ref-box", {
|
||||
<size-capacity-box :v-value="ref.maxSize" @change="changeMaxSize"></size-capacity-box>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-show="moreOptionsVisible">
|
||||
<td>支持分片内容</td>
|
||||
<td>
|
||||
<checkbox name="allowChunkedEncoding" value="1" v-model="ref.allowChunkedEncoding"></checkbox>
|
||||
<p class="comment">选中后,Gzip和Chunked内容可以直接缓存,无需检查内容长度。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-show="moreOptionsVisible">
|
||||
<td>状态码列表</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user