![]() The trains one in particular highlights the performance benefits of ServiceWorker. ![]() DemosĬheck out ServiceWorkersDemos, which includes things like offline-first news, a clientside wiki, and some trains. If you're unsure if you've found a bug or some unexpected-but-correct behaviour, comment on this article (demos of the issue will help massively). ![]() You may create some cool shit, but there's also a chance you'll step in some uncool shit. Give the browser a restart, and you're ready to go! Enable experimental Web Platform featuresīy playing with this today, you'll become one of the first developers in the world to do. If you want to hack around with ServiceWorker, open Chrome Canary, go to chrome://flags and enable "experimental Web Platform features". The developer tooling in Canary makes it easier to use at the moment, but expect Firefox to ( catch up soon). Google & Mozilla are actively developing ServiceWorker. Is ServiceWorker ready? - feature support status across browsers.ServiceWorker is coming, look busy - 30min talk.If you want more of an overview on ServiceWorker, check out: I'm biased, but I think ServiceWorker changes the scope of the web more than any feature since XHR. You can use this to make stuff work faster, offline, or build new features. In terms of network control, it acts like a proxy server sitting on the client, you get to decide what to do on a request-by-request basis. ServiceWorker is a background worker, it gives us a JavaScript context to add features such as push messaging, background sync, geofencing and network control. The implementation for ServiceWorker has been landing in Chrome Canary over the past few months, and there's now enough of it to do some cool shit! Unnecessary representation of "cool shit" What is ServiceWorker?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |