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)
Canvas Paint
Here is another small JS project that I built quite a few years ago. It was basically just an exploration of the canvas tag, which was some...

-
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 ...
-
Sometimes you want to allow a limited set of HTML tags in user generated content. This can be done with the XMLValidate function in Coldf...
-
There has been a lot of talk on the subject of serializing queries using JSON. This has come up around the times of the last couple of majo...

No comments:
Post a Comment