This lab includes code example for
- webpack
- semver version management
- service worker
- precaching static resources
- caching dynamic content using sw-toolbox
- cache busting
- deleting old cache
- code to automated all the above tasks using gulp
- Clone repository using git clone https://github.com/noobandy/sw-lab
- cd sw-lab
- Run npm install (latest version of node js and npm needs to be installed)
- Run npm run static (it will create a build and serve it at localhost:8080)