migrate to Service Workers
AppCache is deprecated. We'll need to move to service workers to keep offline mode working.
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers
This may help: https://github.com/GoogleChrome/sw-precache
(issue migrated from https://secure.fefrei.de/redmine/issues/270)