即时加载:构建离线优先的渐进式 Web 应用 - Google I/O 2016
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Jake Archibald 即时加载:构建离线优先的渐进式 Web 应用
对于大多数网页,网络连接不佳会破坏用户体验。我们可以做得更好。在此专题演讲中,我们将参加一个仅在线运营的网站,并将其变为具有完全网络弹性且可离线使用的先进 Progressive Web App,无需从零开始重新构建;它将以小幅度迭代,逐步完成,每一步都会改善用户体验,无论他们是离线、在线还是介于两者之间。本课程将介绍 ServiceWorker、网络清单、添加到主屏幕横幅、IndexedDB 和 BackgroundSync API。
#io16
#GoogleIO
#GoogleIO2016
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The session demonstrates how to transform an online-only website into an offline-first, installable progressive web app incrementally, without a complete rebuild. It focuses on enhancing the user experience across various network conditions. Key actions include using ServiceWorker, web manifests, add-to-homescreen banners, IndexedDB, and BackgroundSync APIs. The talk emphasizes network resilience and improved user experience, even when offline. Additional links to Google I/O 2016 related contents and social channels were provided.\n"],null,[]]