mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-26 04:06:34 +08:00
缓存条件增加多个匹配方式/优化缓存设置界面
This commit is contained in:
@@ -3,18 +3,35 @@
|
||||
"type": "url-extension",
|
||||
"name": "URL扩展名",
|
||||
"description": "根据URL中的文件路径扩展名进行过滤",
|
||||
"component": "http-cond-url-extension"
|
||||
"component": "http-cond-url-extension",
|
||||
"isRequest": true
|
||||
},
|
||||
{
|
||||
"type": "url-prefix",
|
||||
"name": "路径前缀",
|
||||
"name": "URL前缀",
|
||||
"description": "根据URL中的文件路径前缀进行过滤",
|
||||
"component": "http-cond-url-prefix"
|
||||
"component": "http-cond-url-prefix",
|
||||
"isRequest": true
|
||||
},
|
||||
{
|
||||
"type": "url-eq",
|
||||
"name": "URL精准匹配",
|
||||
"description": "检查URL中的文件路径是否一致",
|
||||
"component": "http-cond-url-eq",
|
||||
"isRequest": true
|
||||
},
|
||||
{
|
||||
"type": "url-regexp",
|
||||
"name": "URL正则匹配",
|
||||
"description": "使用正则表达式检查URL中的文件路径是否一致",
|
||||
"component": "http-cond-url-regexp",
|
||||
"isRequest": true
|
||||
},
|
||||
{
|
||||
"type": "mime-type",
|
||||
"name": "内容MimeType",
|
||||
"description": "根据服务器返回的内容的MimeType进行过滤",
|
||||
"component": "http-cond-mime-type"
|
||||
"description": "根据服务器返回的内容的MimeType进行过滤。注意:当用于缓存条件时,此条件需要结合别的请求条件使用。",
|
||||
"component": "http-cond-mime-type",
|
||||
"isRequest": false
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user