Skip to content Skip to sidebar Skip to footer
Showing posts with the label Service Worker

React Scripts Build Service Worker Not Caching Custom Files

It has come to my attention that the service worker generated by the react-scrips build does not ca… Read more React Scripts Build Service Worker Not Caching Custom Files

Not Getting Service Worker With Create-react-app

lately, I have create two react application and in both of them the service worker is not present i… Read more Not Getting Service Worker With Create-react-app

Are Promises Lazily Evaluated?

Is the code below guaranteed to output HERE? var p = new Promise(() => console.log('HERE'… Read more Are Promises Lazily Evaluated?

An Unknown Error Occurred When Fetching The Script (service Worker)

When going offline, I get the following error by my service worker: (unknown) #3016 An unknown erro… Read more An Unknown Error Occurred When Fetching The Script (service Worker)

Domexception: Registration Failed - Permission Denied

I have a web notification script which works fine. However when i was testing in chrome version 43,… Read more Domexception: Registration Failed - Permission Denied

Expected Ratio Of Serviceworker Instances To Geolocation Updates

EDIT: There is a new version of my Brotkrumen Web App in the same location. Most important design/p… Read more Expected Ratio Of Serviceworker Instances To Geolocation Updates

Service Worker Not Returning Custom Offline Page It Is Instead Returning The Default "offline" Page

I have a service worker that I want to return an offline page if you're offline. I realized you… Read more Service Worker Not Returning Custom Offline Page It Is Instead Returning The Default "offline" Page

How Can I Claim A Client When Initializing A Serviceworker To Prevent Having To Reload The Page?

I'm having trouble to wrap my head around the Clients.claim API of the ServiceWorker. From what… Read more How Can I Claim A Client When Initializing A Serviceworker To Prevent Having To Reload The Page?

Understanding Fetch In Js

I checked out a few resources but don't really get the fetch method. What is the point in havin… Read more Understanding Fetch In Js

What Is The Storage Limit For A Service Worker?

Most of the browsers provide localStorage with the storage limit of 5MB per domain. Are there such … Read more What Is The Storage Limit For A Service Worker?

How To Load Website Offline From Base Url Using Service Workers And Cache Api?

When you visit this web site https://bugs.stringmanolo.ga/index.html, while navigating around the m… Read more How To Load Website Offline From Base Url Using Service Workers And Cache Api?

Using Service Workers To Both Use Cache *and* Update In Background

I understand that ServiceWorkers can grab responses out of cached network requests. That said, is i… Read more Using Service Workers To Both Use Cache *and* Update In Background

Show Progress While Caching Files Using A Service Worker

I'm not too familiar with JavaScript and have a hard time getting into service workers. I want … Read more Show Progress While Caching Files Using A Service Worker