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