3.7.3.6. Offline Capabilities

Experimental!

The technologies listed below are not supported by all browsers yet (e.g. service workers are not yet implemented in Safari).

Currently, together with the Polymer we offer to use Progressive Web Applications techniques such as web app manifest 2 to have native-like presence on the user’s home screen. See the manifest.json file in Polymer client module.

There are two main approaches:

  • Service Workers which primarily used to cache the app itself. Take a look at sw-precache-config.js file generated with Polymer client. In order to enable service worker generation set "addServiceWorker": true in polymer.json.

More info on how to setup and use service workers can be found here.