延迟加载VS无限滚动 [英] Lazy Load VS infinite scrolling

查看:53
本文介绍了延迟加载VS无限滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以为延迟加载"和无限滚动"是相同的东西,但是今天我听说这是两个不同的东西. 是真的吗?

I thought Lazy Loading and infinite scrolling are same things, But today I heard that these are two different things. Is that true?

推荐答案

延迟加载是指将任何类型的内容的加载推迟到必要时再进行.例如,在长页面上,不需要加载当前不可见的图像.只有当用户在页面上方或附近滚动页面时,它们才会从服务器中获取.

Lazy loading refers to deferring loading of any kind of content until it becomes necessary. For example, on a long page, images which are not currently visible do not need to be loaded. Only when the user scrolls the page over or near them do they get fetched from the server.

无限滚动是指到达页面末尾时正在加载新内容,因此会产生无限长页面的效果(主要是避免繁琐的分页).

Infinite scrolling refers to new content being loaded when the end of the page is reached, so the effect of an infinitely long page is created (mostly to avoid tedious paging).

是的,它们是不同的,但是相关.

So yes, they're different, but related.

这篇关于延迟加载VS无限滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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