★ wanayoo — archive 1999 https://github.com/Baseflow/flutter_cache_manager/issues/4Nouvelle recherche | Portail wanayoo
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

How to manually add item to Cache Manager #4

Closed
FastNinja opened this issue Feb 10, 2018 · 3 comments
Closed

How to manually add item to Cache Manager #4

FastNinja opened this issue Feb 10, 2018 · 3 comments

Comments

@FastNinja
Copy link

@FastNinja FastNinja commented Feb 10, 2018

Hi Rene,
I am about to start using Cache Manager to cache documents.
Imagine a scenario where user selects a local document which is then uploaded to the Cloud.

All other users will use cache manager to download that document and see.

However the user who just uploaded document - should not need to download it again.

For example - chat app. I pick a local PDF document and send a message.
The document is uploaded. At this stage I want to give Cache manager document with certain path - so it won't download it .
Otherwise there is a massive delay - (as document needs to be downloaded) or very complicated logic on a client (we need to track whether the document was local and store local copy (as on iOS documents are accesible only for short period of time after picking))

@renefloor
Copy link
Collaborator

@renefloor renefloor commented Feb 14, 2018

That is indeed a nice feature. It has currently a very low priority for me, but I am willing to review a pull request.

@illia-romanenko
Copy link

@illia-romanenko illia-romanenko commented Oct 16, 2018

it would be nice to have this feature merged & available

@renefloor
Copy link
Collaborator

@renefloor renefloor commented Nov 24, 2018

Added this functionality in 0.3.0-alpha.2.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.