This is a little tutorial to illustrate the usage of service workers
What is included
Registration of the service worker
/js/main.js for the registration of the service worker.
The lifecycle events
activate are implemented with some dummy code. Please change it to your needs.
Currently only the functional event
fetch is implemented in order to see that caching is working.