75

现代化懒加载的方式

 6 years ago
source link: https://juejin.im/post/5a76bb955188257a79247cbd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
为什么需要懒加载 通常用户打开网页时,整个网页的内容将被下载并且呈现在一个页面中,虽然允许浏览器缓存页面,但是不能保证用户查看所有下载的的内容,例如一个照片墙应用,可能用户仅仅查看第一个图片之后离开,结果就是白白浪费了内存和带宽。因此我们需要当用户需要访问页面

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK