-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
A-archive-room-viewThe view to look at a room day by day in the archiveThe view to look at a room day by day in the archiveT-OtherQuestions, user support, anything else.Questions, user support, anything else.Z-Confidence-MediumMedium confidence in the enhancement or suggestion based on known factors, or as described.Medium confidence in the enhancement or suggestion based on known factors, or as described.
Milestone
Description
Currently, when viewing a room the backend has to connect to the Matrix server and fetch everything. This seems to take 1 to 2 seconds under normal conditions and I expect the process could take longer if the Matrix server is under load. This makes the website feel very sluggish to the user.
I suggest having the client load a static page and wait for the backend server to finish fetching the room. Once it's complete the client can load the room.
Potential solutions
View-Transitions API for multi-page apps
See #222 (comment)
Streaming server-side rendering
We're not using React but the streaming SSR ideas they have are interesting to inspire some solution for Hydrogen:
Metadata
Metadata
Assignees
Labels
A-archive-room-viewThe view to look at a room day by day in the archiveThe view to look at a room day by day in the archiveT-OtherQuestions, user support, anything else.Questions, user support, anything else.Z-Confidence-MediumMedium confidence in the enhancement or suggestion based on known factors, or as described.Medium confidence in the enhancement or suggestion based on known factors, or as described.
