Vue.component("http-gzip-box", { props: ["v-gzip-config", "v-gzip-ref", "v-is-location"], data: function () { let gzip = this.vGzipConfig if (gzip == null) { gzip = { isOn: true, level: 0, minLength: null, maxLength: null, conds: null } } return { gzip: gzip, advancedVisible: false } }, methods: { isOn: function () { return (!this.vIsLocation || this.vGzipRef.isPrior) && this.vGzipRef.isOn }, changeAdvancedVisible: function (v) { this.advancedVisible = v } }, template: `
启用Gzip压缩
压缩级别

级别越高,压缩比例越大。

Gzip内容最小长度

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

Gzip内容最大长度

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

匹配条件
` })