Flushing S3 DiskCache for single image

时间:2015-09-29 00:43:03

标签: imageresizer

I am testing DiskCache with S3Reader2 for an imagecollection and it caches very nice and seemless. However I have a hard time finding any info on clearing the diskcache for an image - which I need after image-update.

Is that possible via querystring? Or via C# Code?

Thanks

1 个答案:

答案 0 :(得分:0)

S3Reader2 supports invalidation in V4+,带有滑动到期窗口。

你也可以采取简单的方法并附加"& cachebreaker = x"当您的基础文件更改时。这有利于立即开展工作并跨越CDN。