4 ms·
Read this overview: http://jakearchibald.com/2014/service-worker-first-draft/ http://jakearchibald.com/2014/service-worker-first-draft/
by wereHamster 12y ago
Read this overview: http://jakearchibald.com/2014/service-worker-first-draft/ http://jakearchibald.com/2014/service-worker-first-draft/
- walterbell 12y ago> It's like having a proxy server running on the client Is that "proxy server" under the control of the client or the origin site? e.g. can it perform content transformation? That post talks mostly about offline caching, are there other use cases driving the proposal?
- rictic 12y agoIt's under the control of the origin site (for client manipulation there are stable extension apis in most browsers for this already). The primary use case is caching and offline / partial connectivity, but it's full javascript and the service worker can construct arbitrary responses. Here's a good overview: https://www.youtube.com/watch?v=4uQMl7mFB6g https://www.youtube.com/watch?v=4uQMl7mFB6g