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

This commit is contained in:
刘祥超
2021-08-01 14:54:06 +08:00
parent f5365e5420
commit a26f7941d5
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
}