image标签加载https图片,小程序会缓存吗?

发布于 6 年前作者 lilin13382 次浏览最后编辑 6 年前来自 issues

问下,Image标签,加载Https图片,小程序会进行缓存吗?

现在每次进来都是重新请求服务器加载图片,如何才能缓存图片?

图片路径存在list对象中,如何通过image标签每次将加载出来的图片进行缓存呢?


<image src="https://image.xxx.com/test.png" ></image>
1 回复
bhu
bhu1 楼4 年前

由HTTP的响应信息来决定是否缓存