当远程图像更改时,ImageResizer 提供的版本仍然是旧图像。如何最好地解决这个问题?
配置非常简单,如下所示:
<diskCache dir="~/imagecache" autoClean="true" enabled="true" />
<remotereader signingKey="58h4E#O!VAiDwpYcIG!ERv74jSUs6L1!" allowAllSignedRequests="true" allowRedirects="5">
<allow domain="domain.com" />
<allow domain="*.domain1.com" />
<allow domain="*.domain2.com" />
<!-- XML whitelisting requires V3.2 or higher
<allow domain="*.imageresizing.net" onlyWhenSigned="true"/> -->
</remotereader>