postMessage()
This function is essentially an alias for navigator.serviceWorker.controller.postMessage(data), but it also checks if Service Worker is supported and if there is currently a controller, so it is safe to use…
This function is essentially an alias for navigator.serviceWorker.controller.postMessage(data), but it also checks if Service Worker is supported and if there is currently a controller, so it is safe to use…
To install the Nebula Service Worker, find the sw.js file in the Nebula Child resources directory and move it to the root directory. Then, enable Service Worker in Nebula Options….
…you may need to check to make sure you are acting on the correct one. To post a message to the service worker, use navigator.serviceWorker.controller.postMessage(data), or the more convenient Nebula…
The default filename for the Nebula service worker is sw.js and typical Nebula installation instructs for this file to be moved to the root directory. However, all of this can…
Have a question that isn’t answered here? Use the Discussions tab on the Github repo »…
This function looks for variables set between //BEGIN Automated edits and //END Automated edits in the service worker JavaScript file (default: sw.js)…
The Service Worker Nebula option must be enabled, and the service worker file must be in the proper location (default: root directory) for this function to send the HTTP2 Server…
The Service Worker Nebula option must be enabled, and the service worker file must be in the proper location (default: root directory) for this function to send the HTTP2 Server…
…URLs to prevent them from attempting to be added to the cache. It also manages the cache name automatically to match the Service Worker JavaScript. Deprecated in favor of Workbox….
If a service worker is being used (and Cache API is available), the resource will be fetched and added to the cache. Otherwise, it will attempt to prefetch with a…