diff --git a/pkg/serverconfigs/http_cache_storage_file.go b/pkg/serverconfigs/http_cache_storage_file.go index a43c11b..9b9c328 100644 --- a/pkg/serverconfigs/http_cache_storage_file.go +++ b/pkg/serverconfigs/http_cache_storage_file.go @@ -15,5 +15,13 @@ func (this *HTTPFileCacheStorage) Init() error { return err } } + + if this.MemoryPolicy != nil { + err := this.MemoryPolicy.Init() + if err != nil { + return err + } + } + return nil }