# Custom Sarvice Worker

**URL:** https://community.weweb.io/t/custom-sarvice-worker/21506
**Category:** How do I?
**Tags:** pwa
**Created:** [August 10, 2026, 8:39am UTC](https://community.weweb.io/t/custom-sarvice-worker/21506 "2026-08-10T08:39:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Herve](https://avatars.discourse-cdn.com/v4/letter/h/2acd7d/32.png) [@Herve](https://community.weweb.io/u/Herve)
#### Post date: [August 10, 2026, 8:39am UTC](https://community.weweb.io/t/custom-sarvice-worker/21506/1 "2026-08-10T08:39:55Z")

</div>

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.

> [@PWA in weweb help](https://community.weweb.io/t/pwa-in-weweb-help/20807):
>
> I`m planning on pwa wrapping my weweb app to stores using pwa builder, weweb offers a built in pwa setup but it seems very shallow and it doesnt seems to work sometimes. background color option does not work download does not work on iOS (i guess that is a iOS only issue maybe) no start url option is there a way to upload and use a custom manifest.json and serviceworker other than these shallow options weweb offers? Thanks

---

<div class="post-metadata">

### Author: ![viktoriyanavrotskaya](https://avatars.discourse-cdn.com/v4/letter/v/59ef9b/32.png) [@viktoriyanavrotskaya](https://community.weweb.io/u/viktoriyanavrotskaya)
#### Post date: [August 10, 2026, 4:05pm UTC](https://community.weweb.io/t/custom-sarvice-worker/21506/2 "2026-08-10T16:05:01Z")

</div>

> [@Herve](#):
>
> 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 [website](https://tropical-casino.com/) user can access my application offline right from the first page.
> 
> > [@](#):
> >
> > I`m planning on pwa wrapping my weweb app to stores using pwa builder, weweb offers a built in pwa setup but it seems very shallow and it doesnt seems to work sometimes. background color option does not work download does not work on iOS (i guess that is a iOS only issue maybe) no start url option is there a way to upload and use a custom manifest.json and serviceworker other than these shallow options weweb offers? Thanks

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.

---

<div class="post-metadata">

### Author: ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)
#### Post date: [August 11, 2026, 1:23pm UTC](https://community.weweb.io/t/custom-sarvice-worker/21506/3 "2026-08-11T13:23:39Z")

</div>

Hey there 👋

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

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/841817c4ea62b6c1cbc20b9d17f2dc1c7c89a849.png)

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.
