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

[Question] How to set file expires #54

Open
anhtuank7c opened this issue Jun 12, 2017 · 5 comments
Open

[Question] How to set file expires #54

anhtuank7c opened this issue Jun 12, 2017 · 5 comments
Assignees

Comments

@anhtuank7c
Copy link

Please show me how to control cached files expires.

Thank you so much.

@Emilios1995
Copy link

I also have this question, @wcandillon.
Is the default behavior to persist the files until clear() is called?
It would be nice to specify a ttl and have the library automatically delete the file.

@danny-does-stuff
Copy link

This is the only piece missing that I would love to see! The cached images seem to be living forever right now. It would also be nice if you could set the image cache to conform to the http header Cache-Control. i.e. If the server responds with a maxAge for a specific image, then that image only lives for that amount of time.

@aaronbuchanan
Copy link

Same, going to hold on using this lib until we can control cache expiration via headers or api

@zachrnolan
Copy link

Would love to see this introduced.

@aalkhulaifi605
Copy link

I also would love this feature ! I've been jumping from lib to lib looking a cache that has expiration .

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

No branches or pull requests

7 participants