Cache from ZIP

This recipe illustrates how to cache contents from a zipfile.

Difficulty

Intermediate

Use Case

As a web developer I want to distribute my applications as individual zipped packages, so that I can reduce the number of HTTP requests and provide an implicit way of listing all the resources to offline.

Solution

While installing the SW, download the zipfile and decompress, caching each of resources.

Category

Beyond Offline


Has it been useful?

Tell us what you think of this recipe by leaving a comment!