this post was submitted on 17 Jul 2023
263 points (98.2% liked)

Liftoff!

4352 readers
1 users here now

A mobile client for Lemmy running on iOS and Android

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

It is a bit of wishful thinking, but could be cool if they had an AndroidX package with some kind of global caching system. Problem is though, how do you make a caching mechanism that can fit all use cases.

[โ€“] [email protected] 1 points 1 year ago

Start with LRU and maybe a frequency counter to keep frequently useful data. Then go from there. Same as most apps do themselves right now but redistribute as needed; slowly take a bit away from all other apps when one app needs more