如何避免图像缓存 [英] How to Avoid Image caching

查看:87
本文介绍了如何避免图像缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个功能,可以显示来自绑定的uri的图像-www.myserver.com/picture1.jpg.

I have a function which displays images from a binded uri  - www.myserver.com/picture1.jpg.

我发现了手机会缓存下载的图像.

I have found  that the phone caches the images that are downloaded.

有没有办法完全停止针对此特定页面的缓存?

Is there a way to stop this caching happening at all for this particular page?

注意:图像会定期更新,但名称仍相同,因此无需缓存.

Note: The images update regularly, but still have the same name, hence the need not to cache.

基本上是用户更改的个人资料图片.

Basically its profile image, which user changes.

谢谢

英国

推荐答案

嗨-您解决了这个问题吗?如果是这样,请您发布您的解决方案代码吗?

Hi - did you ever resolve this? If so please could you post your soluton code?

最好的问候


这篇关于如何避免图像缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆