利用 Service Worker 实现即时加载(2015 年 Chrome 开发者峰会)
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Service Worker 可以在离线状态下为您的 Web 应用提供支持,但他们也可以在线获得很多性能优势。我们将介绍如何设计 Web 应用的结构以优化初始访问者和回访者的加载时间,并介绍一些有用的 Service Worker 库,帮助您尽可能减少需要编写的样板代码量。
Jeff 是 Google Open Web Platform 开发技术推广团队的成员。在其他活动中,他帮助编写库,从 Service Worker 中取消“工作”。
观看 2015 年 Chrome 开发者峰会的更多演讲:https://goo.gl/e4c7vD
订阅 Chrome 开发者频道:https://goo.gl/OUF4e2
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[],["Service workers enhance web app performance both online and offline. The presentation explains how to structure web apps for optimal load times for new and returning users. It also covers libraries that reduce the amount of repetitive code needed for service workers. Jeff, from Google's Open Web Platform Developer Relations team, aids in creating these helpful service worker libraries. Links to additional content from Chrome Dev Summit 2015 and the Chrome Developers channel are provided.\n"]]