diff --git a/internal/db/models/http_cache_policy_dao.go b/internal/db/models/http_cache_policy_dao.go index f7f28523..78159385 100644 --- a/internal/db/models/http_cache_policy_dao.go +++ b/internal/db/models/http_cache_policy_dao.go @@ -174,7 +174,8 @@ func (this *HTTPCachePolicyDAO) CreateDefaultCachePolicy(tx *dbs.Tx, name string } var storageOptions = &serverconfigs.HTTPFileCacheStorage{ - Dir: "/opt/cache", + Dir: "/opt/cache", + EnableMMAP: true, MemoryPolicy: &serverconfigs.HTTPCachePolicy{ Capacity: &shared.SizeCapacity{ Count: 1,