Imageflow
包在asp.net core
中调整图像大小。
它将图像缓存在
imageflow_cache
文件夹中。但是我不知道什么时候缓存的图片被删除了?
这是我的配置:
builder
.Services
.AddImageflowHybridCache(new HybridCacheOptions(Path.Combine(builder.Environment.WebRootPath,
"imageflow_cache"))
{
CacheSizeLimitInBytes = (long)1 * 1024 * 1024 * 1024 //1 GiB
});
何时删除
imageflow_cache
文件夹中的缓存图像?
我可以设置删除缓存图片的时间吗?