Whilst it is true that ServiceWorker is experimental, AppCache is dangerous to use. The main issue is that AppCache does not require a secure origin, so there is a chance to have a man-in-the-middle attack replacing your code with malicious one. AppCache also makes it too easy for you to cache content endlessly and never get your end users to get a new experiences (as the file that references the AC will _always_ be cached, and thus should not be the main document but an empty one references in an iframe. AppCache sounded too easy to be real, and turned out to be exactly that.

Maker of web things. Ponderer of new technology. Lover of simplicity. Portfolio: http://christianheilmann.comhttp://developer-evangelism.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store