Adding service workers for third party services

One of our customers asked us to drop a file in the document root for an integration with the ‘Subscriber’ service.

I’ve been looking around on how to do this in a clean way. I do see some references to service workers in the plugin registry but can’t find an example of any plugin code using this.

  • Will this ever work?
  • Is using a plugin to register a service worker the way to go?
  • Does anyone have a code example for this?
2 Likes