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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: don't retransmit unchanged threads #10751

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

st3iny
Copy link
Member

@st3iny st3iny commented Feb 25, 2025

Each time a message/thread is opened the full history is transmitted over and over again. Now, it is only transmitted if it changed since the frontend requested it the last time.

We can't use HTTP caching here because the thread might change on the server. This happens when a new message is received or an existing one is deleted.

Screenshot

image

First row: Opened the thread for the first time => 3,03 KB response (depends on length of thread)
Second row: Opened the thread for the second time => 0 B response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant