Add support for service workers

Currently, there is not possible to add service workers to a website.

"A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don’t need a web page or user interaction. "
More info on Service Workers: Service worker overview - Chrome Developers

This is related to this thread: How to I add a JS file (service worker) to the root folder of website in Sitejet? - #3 by Natapol_Supmanu

2 Likes

I think the best solution would be to allow certain filetypes to be configured to not use the CDN URL and then instead be placed in either the root or if it’s inside a folder, a folder relative to the site root.

Not being able to add a simple service worker made my client want to change host, so I hope this will be something that will be fixed.