element-hq / element-hq/element-web
Use local seshat index for backscroll/backfill instead of hitting the server
Open
A-Electron
A-Indexing
O-Uncommon
S-Minor
T-Enhancement
T-Feature
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Your use case
#### What would you like to do?
Instead of hitting the server for events, why not use the local seshat index when backscrolling in an E2EE room if you have seshat enabled?
#### Why would you like to do it?
- Saves bandwidth
- Lessens load on server
- Much faster experience when backscrolling
#### How would you like to achieve it?
Take some of the search logic and use it to get events instead of issuing requests to the server if E2EE is enabled and the user has seshat.
### Have you considered any alternatives?
None
### Additional context
Nil
Contributor guide
Assessment
This issue has not been assessed yet.