Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is usable to cache downloaded files ? #90

Open
matteopiccioni opened this issue Oct 19, 2016 · 1 comment
Open

Is usable to cache downloaded files ? #90

matteopiccioni opened this issue Oct 19, 2016 · 1 comment

Comments

@matteopiccioni
Copy link

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

@aschuch
Copy link
Owner

aschuch commented Nov 15, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants