V2EX  ›  英汉词典
Enqueued related words: Eager-loading

Lazy-loading

定义 Definition

lazy-loading(延迟加载/懒加载):一种在软件开发中常见的优化策略——先不立即加载资源或数据,等到真正需要时才加载(例如图片进入可视区域才加载、页面滚动到某组件才请求数据),以减少初始加载时间、节省带宽和提升性能。常见于网页前端、移动应用、数据库/ORM 等场景。

发音 Pronunciation (IPA)

/ˈleɪzi ˈloʊdɪŋ/

例句 Examples

The app uses lazy-loading to load images only when you scroll.
这个应用使用懒加载:只有当你滚动时才加载图片。

Lazy-loading can improve perceived performance, but it may also delay content for users on slow networks if not implemented carefully.
懒加载可以提升“体感性能”,但如果实现不当,在慢网络下也可能导致内容出现得更晚。

词源 Etymology

该词由 lazy(“懒的/不急于做的”)+ loading(“加载”) 组合而成,是计算机领域的比喻性用法:并非“真的懒”,而是指系统不在一开始就“勤快”地把所有东西都加载进来,而是按需加载。与之相对的概念常被称为 eager loading(立即/预先加载)

相关词 Related Words

文学与著作 Literary Works

  • High Performance Browser Networking(Ilya Grigorik)
  • Learning React(Alex Banks, Eve Porcello)
  • Web Performance in Action(Jeremy Wagner)
  • Designing Web APIs(Brenda Jin, Saurabh Sahni, Amir Shevat)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   816 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 17:57 · PVG 01:57 · LAX 09:57 · JFK 12:57
♥ Do have faith in what you're doing.