Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Why do I need a service worker? #559
The question was already “answered” (well, sort of) here: Why do I need a service worker? Whatever you believe, if the starting point example for an “app-like experience” is an empty service worker and you basically admit that it doesn’t make sense to check whether every web app has push messaging or offline (and why should they, there can be very legitimate web apps without such features the user really might want to add to the home screen), I highly doubt that the mechanism serves any actual purpose, it looks more like an esoteric requirement. If it's supposed to limit add to homescreen banner spam while surfing, I don’t see why the service worker wouldn’t be incorporated into every website generator which in this kind of business. I certainly won’t add a service worker without substantial technical reason and count this as another instance of evilness.