Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Story] 馃 Event cache storage #2405

Open
1 task
manuroe opened this issue Apr 24, 2024 · 2 comments
Open
1 task

[Story] 馃 Event cache storage #2405

manuroe opened this issue Apr 24, 2024 · 2 comments

Comments

@manuroe
Copy link
Member

manuroe commented Apr 24, 2024

Description

  • As a user
  • I do not want the app to reload timeline content every time
  • So that I enjoy a snappy app with timeline instantly displayed

This project is about to make the existing Event Cache API persistent. The event cache exists but it is a in-memory cache. We want it to be a on-disk cache.

Acceptance criteria

  • Live timeline events are permanently cached
  • This cache is reset in case of a gap in the timeline
  • The room list pre-fills this cache with X last messages so that the timeline instantly displays when the user opens a room
  • More to be discussed

Leads

Size estimate

None

Dependencies

  • None

Out of scope

  • Preload the cache from the notification service

Open questions

Questions

No tasks being tracked yet.

Subtasks

Android

No tasks being tracked yet.

iOS

No tasks being tracked yet.

Rust

Other

No tasks being tracked yet.

Sign-off

Android

  • Design sign-off on completion
  • QA sign-off on completion
  • Product sign-off on completion

iOS

  • Design sign-off on completion
  • QA sign-off on completion
  • Product sign-off on completion
@Hywan
Copy link
Member

Hywan commented Apr 25, 2024

This cache is reset in case of a gap in the timeline

Why? We get gaps pretty often, what's the goal of this feature?

The room list pre-fills this cache with X last messages so that the timeline instantly displays when the user opens a room

It has nothing to do with the event cache storage right? It's a sync requirement (which is already present).

@Hywan
Copy link
Member

Hywan commented Apr 25, 2024

The full issue that describes all the work is matrix-org/matrix-rust-sdk#3280.

@manuroe manuroe changed the title [Story] Event cache storage 馃 [Story] Event cache storage Apr 26, 2024
@manuroe manuroe changed the title 馃 [Story] Event cache storage [Story] 馃 Event cache storage Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants