I have started working on my service worker framework or module. I don't know if it will ever be useful to anyone but me, but I am learning a lot.
I created a base service worker that can be included in the one on my site. I played around with passing an options object to the service worker using postMessage. It is pretty interesting playing around with this stuff at this stage of the development. There seem to be a lot of odd things that can happen. You see a lot of messages and errors in the console. I haven't gotten it all sorted out yet.
I am using Chrome for testing this. You can easily see if you service worker has been registered in the Resources area of the dev tools. Then you can delete it so it can be re-registered. I'll try to keep posting more as I continue to work on this.
Subscribe to:
Post Comments (Atom)
Where Will We Go With AI
As AI becomes a more powerful coding tool I could see it taking us in two directions. One would be more and more bad high level code that ...
-
Some Android applications use space on your Google Drive to store data. You can't see this data by browsing drive the normal way. You ...
-
I started a new 3d unity project to play around with terrain creation. You can add a terrain object and then they have tools for raising a...
-
I have several apps published on the Apple Appstore. Four of them are using iAds and that service is going to be discontinued soon. I am g...
No comments:
Post a Comment