4 ms·
> Never use the application cache (or service workers) unless you actually need offline features. I disagree. Appcache is deprecated and you should never use i
by modeless 10y ago
> Never use the application cache (or service workers) unless you actually need offline features.
I disagree. Appcache is deprecated and you should never use it under any circumstances. On the other hand, service workers are cool and there are reasons to use them even if you don't need offline features.
- mschuster91 10y agoSafari 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.
- kinj28 10y agoDronaHQ does the same like PWA for all devices. Check it out