Skip to content

minhtuanta/fun-with-sw-scope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fun experiment with Service Worker scope

This experiment is to confirm the following:

  • Service worker scope control everything that begins with the specified scope.
  • The scope path is case insensitive.

The scope registered is /fun which should match the following paths:

  • /fun/
  • /funstuff/
  • /fun/index.html
  • /funstuff/index.html
  • /funStuff/index.html

When browsing to those paths, you should see the log In fetch in the console.

How to run

First, run npm install. There's only one dev-dependency which is serve. You could you use a server of your chose if you don't want to use serve.

Run npm start when the installation is complete.

About

A fun experiment with service worker scope.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published