element-hq / element-hq/element-web

Use local seshat index for backscroll/backfill instead of hitting the server

Open
#32,214 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.