6 ms·
Safari does not support Service Workers AT ALL, so not using AppCache effectively kills offline support for iOS (source: https://jakearchibald.github.io/isservi
by mschuster91 10y ago
Safari does not support Service Workers AT ALL, so not using AppCache effectively kills offline support for iOS (source: https://jakearchibald.github.io/isserviceworkerready/ https://jakearchibald.github.io/isserviceworkerready/). Also, according to http://caniuse.com/#feat=serviceworkers http://caniuse.com/#feat=serviceworkers, IE/Edge as well as Safari Desktop and Android 4.x do not support AppCache (compared to near-universal support for AppCache, http://caniuse.com/#feat=offline-apps http://caniuse.com/#feat=offline-apps). This means: use AppCache or lose offline on anything that's not FF/Chrome (on desktops, offline doesn't even matter that much!) or the newest Android.
Also, the Service Worker API just plainly sucks when compared with AppCache Manifests. It's a real pity that AC is going down the drain.
- mbrock 10y agoThe Service Worker API is very general so it's like a one time cost of implementing something like the AC manifest using the API.