Open
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: