服务工作者是否打算取代或与Appcache共存? [英] Is Service Worker intended to replace or coexist with Appcache?

查看:87
本文介绍了服务工作者是否打算取代或与Appcache共存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ServiceWorker 旨在取代 Appcache ,还是两者共存的意图?另外一种说法是,appcache将会被弃用吗?

解决方案

Blink的Service Worker团队热衷于贬低AppCache通常的意图弃用流程)。我们相信Service Worker是一个更好的解决方案。此外,它应该很容易为在SW之上构建的AppCache提供一个嵌入式替代品。我们将首先收集使用情况指标并进行一些宣传。

AppCache和Service Worker应该共存,没有任何问题,因为通过AppCache为不支持服务工作者的浏览器提供脱机支持是一个有效的用例。
@ flo850如果无效,请通过提交错误告诉我们。


Is ServiceWorker intended to replace Appcache, or is the intention that the two will coexist? Phrased another way, is appcache about to become deprecated?

解决方案

Blink's Service Worker team is keen on deprecating AppCache (We will follow our usual intent to deprecate process). We believe that Service Worker is a much better solution. Also, it should be pretty easy to offer a drop-in replacement for AppCache built on top of SW. We'll start by collecting usage metrics and do some outreach.

AppCache and Service Worker should coexist without any issue since offering offline support via AppCache for browsers that don't support Service Workers is a valid use case. @flo850 If it's not working, please let us know by filing a bug.

这篇关于服务工作者是否打算取代或与Appcache共存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆