缓存策略可以根据Key前缀进行批量删除

This commit is contained in:
GoEdgeLab
2021-05-23 22:49:53 +08:00
parent b11c7f4ffb
commit e8ef4b45aa
3 changed files with 57 additions and 36 deletions

View File

@@ -31,4 +31,9 @@ Tea.context(function () {
this.done = function () {
this.isRequesting = false
}
});
/**
* 操作类型
*/
this.type = "key" // key | prefix
})