Adaptive image caching based on network speed with Workbox.js
In order to install the dependencies please execute
npm i from the project folder.
Once the dependencies have been installed, please run
npm run build.
Once the build is complete you can find the final, built project under the
Serve the application
In order to serve the contents of the build folder and to see the final solution execute
Please note that you need to launch the application on
localhostand not on an IP address nor
127.0.0.1, otherwise it will not function. This is due to the fact that we either need to serve the application on
localhostbecause service workers require a Secure Context. This is determined by the value of