Client-side

2 thoughts
last posted Nov. 11, 2016, 8:18 a.m.

1 later thought

0

The scope of a service worker is by default the path it's script is loaded from. Therefore for small apps you almost certainly want the script to be at the root of the url hierarchy.