mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 03:26:36 +08:00
缓存条件支持反向匹配
This commit is contained in:
@@ -26,6 +26,8 @@ type HTTPCacheRef struct {
|
||||
|
||||
CachePolicy *HTTPCachePolicy `yaml:"cachePolicy" json:"cachePolicy"`
|
||||
|
||||
IsReverse bool `yaml:"isReverse" json:"isReverse"` // 是否为反向条件,反向条件的不缓存
|
||||
|
||||
lifeSeconds int64
|
||||
maxSize int64
|
||||
uppercaseSkipCacheControlValues []string
|
||||
|
||||
Reference in New Issue
Block a user