Image加载网络图片第一次读取图片是从网络中读取资源,后续加载图片都是从缓存中读取。 具体的图片缓存相关可以查看相关文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-system-app-V5\#setimagecachecount7文档中显示system.app已停止维护的接口,可由上面链接看到。暂时还是推荐使用ImageKnife,参考链接:https://gitee.com/openharmony-tpc/ImageKnife
Image加载网络图片第一次读取图片是从网络中读取资源,后续加载图片都是从缓存中读取。 具体的图片缓存相关可以查看相关文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-system-app-V5\#setimagecachecount7
文档中显示system.app已停止维护的接口,可由上面链接看到。暂时还是推荐使用ImageKnife,参考链接:https://gitee.com/openharmony-tpc/ImageKnife