chrisben / imgcache.js

JS library based on the File API to cache images for offline recovery (target: cordova/phonegap & chrome)
Other
826 stars 216 forks source link

Would this work for mp3's? #114

Closed etiennea closed 9 years ago

etiennea commented 9 years ago

Just wondering because it is called imgcache but I don't see why it wouldn't work for other types of files.

chrisben commented 9 years ago

Even though its main purpose is caching images for offline browsing, you can use parts of this library to store and retrieve any kind of files using the primitive methods like cacheFile and getCachedFile. Let us know if you found some other interesting use cases.

etiennea commented 9 years ago

Ok thanks