Recently on the service workers more and more research and discussion, today will give me to comb some resources, let everyone see quickly. 1. What is service workers.
We know the native app has rich offline experience, such as timed silent update, message notification push and other functions, was once a Web application "envy Envy hate" function. These features are also available with the service Worker,web app.
Simply put, Service workers gives web apps a great offline experience that gives developers the ability to manage offline data.
Please visit the following resources for more information: Html5rocks service workers introduction W3ctech translations for html5rocks introduction service Worker Get Started Wu Xiaojin report Game Rule Changer Service Worker service workers make Web app feel more like native app 2.Service workers ready to go. 2.1 Compatibility
For any new function, compatibility is not negligible, right, everyone front-end er.
Take a look at Caniuse data (as of 2015/11/16).
2.2 feature support and Polyfill
Here is the data from Isserviceworkerready.
3. How to use the service Workers.
To learn more about how service Wokers are used, API documentation, use cases, and sample apps. Official Document MDN service Worker API MDN using service Workers serviceworker:revolution of the Web Platform My First Service W Orker Css-tricks making a simple Site work Offline with Serviceworker ponyfoo.com making a Progressive App with Servicewor Ker Some cases Serviceworkersdemos an Offline Experience with Service Workers 4. Disclaimer
This article is starting with the geek headline. Love front end, music share. Fedfun hope to make progress together with you.
Welcome any kind of reprint, please indicate loading, keep this paragraph text.
Independent blog Http://whqet.github.io
Sina Weibo Http://weibo.com/FedFun
Geek Headlines