CampusDownWiki
累计引用 16,021한국어KO 2,699EnglishEN 11,007日本語JA 772中文ZH 1,543
CampusDown(韩语)↗
简体中文

离线模式

⚙️ 工程与技术 作者 CampusDown 维基编辑部 最后更新
离线模式指无网络时用本地数据使用应用,联网后同步更改的设计。
目录
  1. 1. 为何考虑离线
  2. 2. 连接状态提示
  3. 3. 待发送与同步
  4. 4. 常见问题
  5. 5. 参考文献

为何考虑离线

先用本地数据渲染(Android Developers, n.d.;Kleppmann et al., 2019),网页用缓存(MDN, n.d.-a;web.dev, n.d.)。

连接状态提示

显示平和的横幅(MDN, n.d.-b;Miller, 1968),配合进度指示与空状态,并播报(WCAG 2.2 4.1.3)。

待发送与同步

排队稍后发送,冲突自动合并或让用户选择(Kleppmann et al., 2019),并支持撤销。

常见问题

所有功能都要离线?
从常用功能开始。
如何准确检测?
结合实际请求失败判断。

来源核查日期:2026-10-27

参考文献

  1. MDN Web Docs. (n.d.-a). Service Worker API. 用Service Worker缓存。
  2. MDN Web Docs. (n.d.-b). Navigator: onLine property. 在线状态检测。
  3. web.dev. (n.d.). The offline cookbook. 缓存策略。
  4. Android Developers. (n.d.). Build an offline-first app. 离线优先架构。
  5. Kleppmann, M., Wiggins, A., van Hardenberg, P., & McGranaghan, M. (2019). Local-first software: You own your data, in spite of the cloud. In Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (pp. 154–178). ACM. 本地优先理念。
  6. Miller, R. B. (1968). Response time in man-computer conversational transactions. In Proceedings of the December 9–11, 1968, Fall Joint Computer Conference, Part I (pp. 267–277). ACM. 响应时间阈值。
  7. World Wide Web Consortium. (2023). Web Content Accessibility Guidelines (WCAG) 2.2. 4.1.3状态消息。

运用该理论的报告与资料(韩语)

目前还没有专门讨论该理论的资料,但你可以在 CampusDown 资料库(韩语)中搜索相关报告。

查找更多报告 · 查看“오프라인 모드”搜索结果 →

推荐阅读的理论

最新文章查看全部 ›

大学学习与作业实用新文章(韩语)

本文最后更新于2026年10月27日。内容依据公认的原著和教科书整理;在报告中引用时,请务必核对下方参考文献中的原始出处。