Flex:加载程序如果已加载则不加载?
有没有办法检查您正在加载的内容是否已经在内存中并且不需要再次加载?
Is there some way to check if what you are loading is already in memory and don't need to be loaded a second time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信这不是问题。这种“加载”是由浏览器的缓存处理的。如果您加载图像,然后再次加载它并检查该场景中的网络流量,那么您实际上只会请求并下载该图像一次。
I believe this is a non-issue. That sort of "loading" is handled by the browser's cache. If you load an image and then go to load it again and inspect the network traffic during that scenario, you will only really request and download the image once.