CmsKit - Change cache parameter to SlidingExpiration from AbsoluteExpirationRelativeToNow

pull/7745/head
enisn 5 years ago
parent 8ea55c10f0
commit 9c80ebdf14

@ -29,7 +29,7 @@ namespace Volo.CmsKit.Public.Blogs
() => GetFromDatabaseAsync(blogId, featureName),
() => new DistributedCacheEntryOptions
{
AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(1)
SlidingExpiration = TimeSpan.FromMinutes(1)
});
}

Loading…
Cancel
Save