WAF策略和缓存策略跟随集群

This commit is contained in:
GoEdgeLab
2021-08-01 14:54:06 +08:00
parent 678e7f2c2a
commit e723a64e68
4 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ import (
// 读取缓存
func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
cachePolicy := sharedNodeConfig.HTTPCachePolicy
cachePolicy := this.Server.HTTPCachePolicy
if cachePolicy == nil || !cachePolicy.IsOn {
return
}