Skip to content

tapasbose/service-worker-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

service-worker-cache

Demonstration of Service Worker Offline Cache.

How to run

  • Install Python 3.
  • Navigate to cloned directory by cd service-worker-cache.
  • Execute python -m http.server 8080 to run HTTP Server.
  • Browse localhost:8080.

How to test

  • Open chrome://inspect/#service-workers in Chrome browser and you will see a service worker is registered for localhost:8080.
  • Stop the HTTP Server.
  • The site will still be accessible.

About

Demonstration of Service Worker Offline Cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published