Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
dfox426098yI'm not sure what you mean. The app is never supposed to try to access the network when the app isn't in use.
-
@dfox What I was trying to say is
when I try to access my profile, the app loads data from the server while the last time I updated this infos is last weeks...
It could be better if you store some data on device local storage so I can access unchanged data from the cache instead of spending my data plan -
dfox426098y@tresorunikin I see. Right, that's true. I thought you were saying it was making network requests when the app wasn't in the foreground which would be a bug.
Using local storage is on our list of todos, but right now it would be a huge undertaking for various parts of the app. Definitely one day though.
Related Rants
the DevRant app always request the server even when it is no use.
On Android you'd better use a local cache technique and
- Empty the cache when the data size reaches a given amount.
- Update the lastCache DateTime object
undefined
android
sqlite
cache
optimization