cloudinary-developers / webperf-network-api

A concept to use the Network Information API and Service Workers to adaptively display lower quality images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a concept application showing the use of the Network Information API, Service Workers and Cloudinary to adaptively display lower quality images if required based on the network speed.

Install the dependencies

Make sure that you have Node.js installed.

To install the dependencies of this project, please execute npm i

Launch the application

Please remember to use Chrome version 63 or above

To start an HTTP server for serving the application execute npm start.

You can use any other HTTP server to serve index.html.

About

A concept to use the Network Information API and Service Workers to adaptively display lower quality images


Languages

Language:JavaScript 53.8%Language:HTML 46.2%