We've lost offline support, and no longer cache the roomlist, so roomlist search doesn't work until AllRooms has reloaded. #937
Labels
A-Offline
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Steps to reproduce
This is because we backed out the cold cache in abc86b7 given its performance with sqlite was particularly bad (as per #876).
However, we do need a cold cache of some kind so that offline support works, and so app launch isn't bottlenecked on talking to the server, which should be much slower than simply loading some data from local disk. A better cold cache would presumably:
If it was me doing it, I'd be tempted to use the same API for SS as for the cache rather than having two different pagination/precaching mechanisms flying around - given the problem of "how do you efficiently load data O(1) from the server" is almost identical to the problem of "how do you efficiently load data O(1) from a local cache".
Outcome
What did you expect?
Offline support and reliable roomlist search.
What happened instead?
No offline support, and roomlist search isn't reliable until allrooms has loaded.
Your phone model
No response
Operating system version
No response
Application version
nightly 221
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: