Skip to content

appdevcanada/Javascript-PWA

Repository files navigation

Progressive Web App

Progressive Web Application

A simple Progressive Web Application (PWA) using Service Worker (Workbox).

Test Offline

  1. Open the URL in a new tab
  2. Turn off the network/wi-fi
  3. Reload the page

Test Online

  1. Re-establish the network/wi-fi
  2. Reload the page

The Service Worker will detect a non-connection to the Internet and will load the page previewed for this case. Turning on the network will make it work as before.