home.social

#workbox โ€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #workbox, aggregated by home.social.

fetched live
  1. Regarding local development of apps that have service workers, a simpler fix is to open them in an Incognito / Private Browsing window. That way the SW gets reinstalled and you start fresh. Never have an old SW sitting around ready ruin your day.

    social.tchncs.de/@teleclimber/

    I got this by reading through the #Workbox docs: developer.chrome.com/docs/work

    #PWA #serviceworker

  2. Regarding local development of apps that have service workers, a simpler fix is to open them in an Incognito / Private Browsing window. That way the SW gets reinstalled and you start fresh. Never have an old SW sitting around ready ruin your day.

    social.tchncs.de/@teleclimber/

    I got this by reading through the #Workbox docs: developer.chrome.com/docs/work

    #PWA #serviceworker

  3. Regarding local development of apps that have service workers, a simpler fix is to open them in an Incognito / Private Browsing window. That way the SW gets reinstalled and you start fresh. Never have an old SW sitting around ready ruin your day.

    social.tchncs.de/@teleclimber/

    I got this by reading through the #Workbox docs: developer.chrome.com/docs/work

    #PWA #serviceworker

  4. Regarding local development of apps that have service workers, a simpler fix is to open them in an Incognito / Private Browsing window. That way the SW gets reinstalled and you start fresh. Never have an old SW sitting around ready ruin your day.

    social.tchncs.de/@teleclimber/

    I got this by reading through the #Workbox docs: developer.chrome.com/docs/work

    #PWA #serviceworker

  5. Regarding local development of apps that have service workers, a simpler fix is to open them in an Incognito / Private Browsing window. That way the SW gets reinstalled and you start fresh. Never have an old SW sitting around ready ruin your day.

    social.tchncs.de/@teleclimber/

    I got this by reading through the #Workbox docs: developer.chrome.com/docs/work

    #PWA #serviceworker

  6. Hmm, seems like the 500ing is only when I load the page in an incognito window... it's probably still my #workbox cache in the #serviceWorker, but I'm going to replace the `StaleWhileRevalidate` strategy with `NetworkFirst`. This will mean that the page will have to wait for a network response, but it will maintain my offline support so the #PWA install prompt will still appear. #WebDev

  7. Hmm, seems like the 500ing is only when I load the page in an incognito window... it's probably still my #workbox cache in the #serviceWorker, but I'm going to replace the `StaleWhileRevalidate` strategy with `NetworkFirst`. This will mean that the page will have to wait for a network response, but it will maintain my offline support so the #PWA install prompt will still appear. #WebDev

  8. Hmm, seems like the 500ing is only when I load the page in an incognito window... it's probably still my #workbox cache in the #serviceWorker, but I'm going to replace the `StaleWhileRevalidate` strategy with `NetworkFirst`. This will mean that the page will have to wait for a network response, but it will maintain my offline support so the #PWA install prompt will still appear. #WebDev

  9. Hmm, seems like the 500ing is only when I load the page in an incognito window... it's probably still my cache in the , but I'm going to replace the `StaleWhileRevalidate` strategy with `NetworkFirst`. This will mean that the page will have to wait for a network response, but it will maintain my offline support so the install prompt will still appear.

  10. Hmm, seems like the 500ing is only when I load the page in an incognito window... it's probably still my #workbox cache in the #serviceWorker, but I'm going to replace the `StaleWhileRevalidate` strategy with `NetworkFirst`. This will mean that the page will have to wait for a network response, but it will maintain my offline support so the #PWA install prompt will still appear. #WebDev

  11. Who still thinks writing a Service Worker for basic features (performance with cache, offline fallback) is cumbersome?

    Using #Workbox recipes make it so easy!

    Here's the Service Worker for pack11ty.dev ๐Ÿ˜

    github.com/nhoizey/pack11ty/bl

    #PWA #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  12. Who still thinks writing a Service Worker for basic features (performance with cache, offline fallback) is cumbersome?

    Using #Workbox recipes make it so easy!

    Here's the Service Worker for pack11ty.dev ๐Ÿ˜

    github.com/nhoizey/pack11ty/bl

    #PWA #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  13. Who still thinks writing a Service Worker for basic features (performance with cache, offline fallback) is cumbersome?

    Using #Workbox recipes make it so easy!

    Here's the Service Worker for pack11ty.dev ๐Ÿ˜

    github.com/nhoizey/pack11ty/bl

    #PWA #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  14. Who still thinks writing a Service Worker for basic features (performance with cache, offline fallback) is cumbersome?

    Using #Workbox recipes make it so easy!

    Here's the Service Worker for pack11ty.dev ๐Ÿ˜

    github.com/nhoizey/pack11ty/bl

    #PWA #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  15. Who still thinks writing a Service Worker for basic features (performance with cache, offline fallback) is cumbersome?

    Using #Workbox recipes make it so easy!

    Here's the Service Worker for pack11ty.dev ๐Ÿ˜

    github.com/nhoizey/pack11ty/bl

    #PWA #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  16. If someone is creating service workers with #Workbox recipes and injectManifest, a build with #esbuild, and doesn't have any issues, I'm interested! ๐Ÿ˜…

    I have a very strange issue:

    github.com/GoogleChrome/workbo

    Bonus points if this is with @eleventy

    #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  17. If someone is creating service workers with #Workbox recipes and injectManifest, a build with #esbuild, and doesn't have any issues, I'm interested! ๐Ÿ˜…

    I have a very strange issue:

    github.com/GoogleChrome/workbo

    Bonus points if this is with @eleventy

    #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  18. If someone is creating service workers with #Workbox recipes and injectManifest, a build with #esbuild, and doesn't have any issues, I'm interested! ๐Ÿ˜…

    I have a very strange issue:

    github.com/GoogleChrome/workbo

    Bonus points if this is with @eleventy

    #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  19. If someone is creating service workers with #Workbox recipes and injectManifest, a build with #esbuild, and doesn't have any issues, I'm interested! ๐Ÿ˜…

    I have a very strange issue:

    github.com/GoogleChrome/workbo

    Bonus points if this is with @eleventy

    #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  20. If someone is creating service workers with #Workbox recipes and injectManifest, a build with #esbuild, and doesn't have any issues, I'm interested! ๐Ÿ˜…

    I have a very strange issue:

    github.com/GoogleChrome/workbo

    Bonus points if this is with @eleventy

    #ServiceWorker

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  21. Is it ok to use Workbox's `injectManifest` with the recent recipes `warmCache` option?

    I tried this without success in the Service Worker in Pack11ty:

    ```javascript
    staticResourceCache({
    warmCache: self.__WB_MANIFEST,
    });
    ```

    Other caches are warmed up, not this one.

    #ServiceWorker #Workbox

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  22. Is it ok to use Workbox's `injectManifest` with the recent recipes `warmCache` option?

    I tried this without success in the Service Worker in Pack11ty:

    ```javascript
    staticResourceCache({
    warmCache: self.__WB_MANIFEST,
    });
    ```

    Other caches are warmed up, not this one.

    #ServiceWorker #Workbox

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  23. Is it ok to use Workbox's `injectManifest` with the recent recipes `warmCache` option?

    I tried this without success in the Service Worker in Pack11ty:

    ```javascript
    staticResourceCache({
    warmCache: self.__WB_MANIFEST,
    });
    ```

    Other caches are warmed up, not this one.

    #ServiceWorker #Workbox

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  24. Is it ok to use Workbox's `injectManifest` with the recent recipes `warmCache` option?

    I tried this without success in the Service Worker in Pack11ty:

    ```javascript
    staticResourceCache({
    warmCache: self.__WB_MANIFEST,
    });
    ```

    Other caches are warmed up, not this one.

    #ServiceWorker #Workbox

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  25. Is it ok to use Workbox's `injectManifest` with the recent recipes `warmCache` option?

    I tried this without success in the Service Worker in Pack11ty:

    ```javascript
    staticResourceCache({
    warmCache: self.__WB_MANIFEST,
    });
    ```

    Other caches are warmed up, not this one.

    #ServiceWorker #Workbox

    โš“๏ธ nicolas-hoizey.com/notes/2023/

  26. Today, nearing release of 1.0, the SvelteKit Docs added an example hand-rolled Service Worker Implementation and also points to Vite Plugin PWA, but I personally prefer to use Workbox Modules myself to not write the low-level bits myself but still own the logic.

    Right on time, because I just released my article on how to do it:

    Create an offline-first and installable PWA with SvelteKit and workbox-precaching

    sarcevic.dev/offline-first-ins

    #Svelte #PWA #workbox #offlinefirst

  27. Today, nearing release of 1.0, the SvelteKit Docs added an example hand-rolled Service Worker Implementation and also points to Vite Plugin PWA, but I personally prefer to use Workbox Modules myself to not write the low-level bits myself but still own the logic.

    Right on time, because I just released my article on how to do it:

    Create an offline-first and installable PWA with SvelteKit and workbox-precaching

    sarcevic.dev/offline-first-ins

    #Svelte #PWA #workbox #offlinefirst

  28. Today, nearing release of 1.0, the SvelteKit Docs added an example hand-rolled Service Worker Implementation and also points to Vite Plugin PWA, but I personally prefer to use Workbox Modules myself to not write the low-level bits myself but still own the logic.

    Right on time, because I just released my article on how to do it:

    Create an offline-first and installable PWA with SvelteKit and workbox-precaching

    sarcevic.dev/offline-first-ins

    #Svelte #PWA #workbox #offlinefirst

  29. Today, nearing release of 1.0, the SvelteKit Docs added an example hand-rolled Service Worker Implementation and also points to Vite Plugin PWA, but I personally prefer to use Workbox Modules myself to not write the low-level bits myself but still own the logic.

    Right on time, because I just released my article on how to do it:

    Create an offline-first and installable PWA with SvelteKit and workbox-precaching

    sarcevic.dev/offline-first-ins

    #Svelte #PWA #workbox #offlinefirst

  30. Today, nearing release of 1.0, the SvelteKit Docs added an example hand-rolled Service Worker Implementation and also points to Vite Plugin PWA, but I personally prefer to use Workbox Modules myself to not write the low-level bits myself but still own the logic.

    Right on time, because I just released my article on how to do it:

    Create an offline-first and installable PWA with SvelteKit and workbox-precaching

    sarcevic.dev/offline-first-ins

    #Svelte #PWA #workbox #offlinefirst

  31. I'm writing a guide on how make a #SvelteKit web app installable, with offline support thanks to the power of #PWA #ServiceWorkers and #Workbox ๐Ÿ“๐Ÿ˜

  32. I'm writing a guide on how make a #SvelteKit web app installable, with offline support thanks to the power of #PWA #ServiceWorkers and #Workbox ๐Ÿ“๐Ÿ˜

  33. I'm writing a guide on how make a #SvelteKit web app installable, with offline support thanks to the power of #PWA #ServiceWorkers and #Workbox ๐Ÿ“๐Ÿ˜

  34. I'm writing a guide on how make a #SvelteKit web app installable, with offline support thanks to the power of #PWA #ServiceWorkers and #Workbox ๐Ÿ“๐Ÿ˜