AwesomeCache icon indicating copy to clipboard operation
AwesomeCache copied to clipboard

Is usable to cache downloaded files ?

Open matteopiccioni opened this issue 7 years ago • 1 comments

Hello, is this library usable for caching different type of contents downloaded from internet like images, videos, doc, pdf, etc ? Can I cache[hashfile] = contents of file ?

thanks

matteopiccioni avatar Oct 19 '16 17:10 matteopiccioni

Sure you can. However, you'd probably want to create different instances of Cache for different kinds of content. Alternatively, you may create a Cache<Data> and serialize all you content to the Data format.

aschuch avatar Nov 15 '16 21:11 aschuch