Comments (5)
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.
from react-native-img-cache.
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.
from react-native-img-cache.
Same, going to hold on using this lib until we can control cache expiration via headers or api
from react-native-img-cache.
Would love to see this introduced.
from react-native-img-cache.
I also would love this feature ! I've been jumping from lib to lib looking a cache that has expiration .
from react-native-img-cache.
Related Issues (20)
- hi! You can combine ‘react-native-fit-image’, add Add a function that makes it adaptive? HOT 1
- How can I determine whether the image is already cashed or not
- Is it possible to have a default picture. HOT 1
- support display local image HOT 2
- When add too many Images (At least 800 pictures) on the List, the App will crash! how to solve this question?
- Does it support remote SVG image? HOT 1
- Since immutable === true to execute getpath, what is the meaning of if(immutable === true) in getpath?
- 【We check here if IOS didn't delete the cache content】 what's mean?
- BUg
- How to easily migrate from react-native-fast-image
- Solution to ignore the URI query
- progress indicator is not work HOT 4
- Help! CachedImage in android become blur HOT 3
- [Request] - Please add TTL for cache
- How to load image from SD card?
- CachedImageBackground -- ImageBackground not available on RN 0.45 HOT 2
- React-Native-Fetch-Blob is NOT being maintained HOT 10
- Image doesn't show when the imageName contain spaces [IOS ONLY] HOT 2
- Cannot use with `react-native-fit-image` HOT 2
- ImageCache.getPath will get a wrong extension name while the uri like this:http://example.com/path?param=http%3A%2F%2Fexample.com%2Findex.html%3Ftype%3Dvalue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-img-cache.