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)
Coding
I'm not sure where I heard this, and it wasn't worded this way, but it helps to think about coding this way. Basically, any progra...

-
I continued working on my 2d project today. I was able to get some other npc characters to animate. I added one of the pre-made killzone o...
-
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 ...
-
A few days ago I read about the trolley problem. It was mentioned in an smbc-comics.com comic. I hadn't heard of this before, but I ha...
No comments:
Post a Comment