AwesomeCache
AwesomeCache copied to clipboard
Is usable to cache downloaded files ?
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
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.