Custom Sarvice Worker

Hi, in the thread below, you mention the possibility of downloading a custom service worker to work around certain limitations. Can you confirm that this feature is indeed available? I am looking to add pre-caching logic so that a registered user can access my application offline right from the first page.

The built-in PWA options in WeWeb are indeed pretty shallow, so you’re not missing anything obvious. Whether you can drop in a fully custom service worker and manifest depends on your plan and export access, if you can self-host the exported code you get full control over both. Worth confirming directly with WeWeb support since this touches export tiers. For robust offline pre-caching, a hand-rolled service worker with Workbox is the way to go.

Hey there :waving_hand:

You can override the default service worker and manifest by uploading your custom ones as files:

Make sure to set the path as shown in the screenshot above.

Code export is available on all paid plans but you don’t need the feature for the custom manifest and service worker to override the default ones.