Top "Service-worker" questions

A service worker is JavaScript code that, once registered with an associated origin and scope, will respond to browser-initiated events, even when the pages it controls are no longer open.

How do I uninstall a Service Worker?

After deleting /serviceworker.js from my root directory, Chrome still runs the service worker that I removed from my webroot. …

html google-chrome service-worker
Can I use Add to home screen in Chrome on an iOS device?

I know I can use Chrome on a desktop or Android device to “Add to Home screen”. I know I …

google-chrome installation service-worker progressive-web-apps
404 error when trying to register serviceWorker

I get this error when trying to register the service worker: Failed to register a ServiceWorker: A bad HTTP response …

javascript service-worker
Options for testing service workers via HTTP

I want to test service workers but I have a virtual host setup and I can't seem to be able …

javascript google-chrome service-worker progressive-web-apps
How to clear cache of service worker?

So, I have an HTML page with service worker, the service worker cache the index.html and my JS files. …

javascript html google-chrome service-worker
What is service worker in react js

When creating a react app, service worker is invoked by default. Why service worker is used? What is the reason …

javascript reactjs service-worker
Understanding Service Worker scope

I am trying to implement a Service Worker in a test page. My end goal is an application that operates …

javascript scope service-worker
Service Worker Registration Failed

I am currently working on service worker to handle push notification in browser. Currently I am having this "SW registration …

javascript browser service-worker web-push
Can you use a service worker with a self-signed certificate?

I have developer server that are used for testing. They have SSL self-signed certificates, which allow us to test the …

ssl https self-signed service-worker
Service Worker registration error: Unsupported MIME type ('text/html')

I'm using create-react-app with an express server. create-react-app has a pre-configured ServiceWorker that caches local assets (https://github.com/facebook/…

javascript reactjs express service-worker create-react-app