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...
-
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 recently migrated a site from Magento 1 to Magento 2. The product image thumbnails work differently in Magento 2. In Magento 2 they use ...
-
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...
No comments:
Post a Comment