增加${cache.key}变量

This commit is contained in:
GoEdgeLab
2021-12-07 09:28:15 +08:00
parent faf8116d4f
commit 46d979e695

View File

@@ -104,6 +104,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
}
this.cacheKey = key
this.varMapping["cache.key"] = key
// 读取缓存
storage := caches.SharedManager.FindStorageWithPolicy(cachePolicy.Id)