[TIMOB-17330] Set TiUIImageView cache expiration
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | TiAPI |
Labels | n/a |
Reporter | Rick Blalock |
Assignee | Unknown |
Created | 2014-07-15T13:16:11.000+0000 |
Updated | 2018-02-28T20:04:18.000+0000 |
Description
The remote image caching works great. One feature that would save developers time is allow them to choose when the cache expires. Currently you have to manage this yourself. Not hard to do...but if we're managing the cache for them, might as well give the developer the option when it should expire.
e.g.
Ti.UI.createImageView({
image: "someRemoteImageURL",
cachePolicy: Ti.CACHE_24_HOURS
});
No comments