TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

No More Excuses: Lazy Load Your Images

1 点作者 vzhou842将近 5 年前

1 comment

forgotmypw17将近 5 年前
Why does lazy-loading of images suck? Let me count the ways...<p>Lazy-loading sucks for anyone whose connection is not stable or always on.<p>It also sucks for offlining content you want to read later and archiving.<p>It&#x27;s also incompatible with many older browsers, not that anyone seems to care about that.<p>It&#x27;s also incompatible with nojs browsers, so most of the images on this blog are white space or blurry preloaders.<p>Even if everything is working perfectly, the user will see distracting movement as they scroll down the page.<p>Here is a quick demonstration: <a href="http:&#x2F;&#x2F;youtu.be&#x2F;watch?v=aGy9IL0qtw4" rel="nofollow">http:&#x2F;&#x2F;youtu.be&#x2F;watch?v=aGy9IL0qtw4</a>