Friday, March 11, 2016

Service worker offline cache

I continued my exploration of service workers today.  I looked at offline caching  mostly.  Actually a lot of my time was spent messing with some example code that seems incorrect or out of date. I'm going back to my working code now.  I'll just have to slowly modify it to do what I want.

My goal is to have some simple options that I can pass into my framework that would allow turning on an offline cache for a site.  This would include a list of pages and a way to specify other pages that would be dynamically cached.

Just now I had another thought.  I should think about what it would take to make an offline cache of changes to a dynamic site. Then sync those changes when you come back online.

No comments:

Post a Comment

AI and Aliens

 Maybe I'm just putting things together because they are both in the news recently, but I have come up with a theory about aliens. I thi...