Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
.gitignore
README.md
data.js
gulpfile.js
package-lock.json
package.json
server.js

README.md

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 build folder.

Serve the application

In order to serve the contents of the build folder and to see the final solution execute npm start.

Please note that you need to launch the application on localhost and 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 https or localhost because service workers require a Secure Context. This is determined by the value of window.isSecureContext.

You can’t perform that action at this time.