-
Notifications
You must be signed in to change notification settings - Fork 267
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
Increased room loading times with link previews enabled (on desktop after v1.11.81) #1983
Comments
The change would be in element-web or matrix-react-sdk |
Element Desktop is just Element Web + Electron so that seems odd. v1.11.82 switched the room header implementation and there are complaints of performance issues with that: element-hq/element-web#28273 |
@t3chguy |
There is no Desktop code for URL previews, its just the Element web embedded within Electron responsible for it |
The issue you mentioned (about the new room headers) maybe not linked to this one after all, then:
But then URL previews may also have less or nothing to do with this problem... A recent unresolved issue(Media redirect target URL gets modified by Element Desktop #1924) leads me to suspect that recently introduced target URL rewriting may somehow negatively interfere with loading / fetching (or caching) of media-thumbnails in some reverse proxy or media content repository scenarios. The author also explicitly points out the different behavior between Element Web and Desktop in this regard. Please let me know if I can perform any more debugging steps to help narrow it down. |
Steps to reproduce
Additional info:
Issue first started with release 1.11.82 of Element Desktop (persists with .83/.84).
Reverting back to 1.11.81 fixes the issue (loading times back to normal 1-2 seconds and smooth scrolling).
Comparing 1.11.81...1.11.82 - not much changed there. Perhaps someone can spot the regression introduced...
Important: Element Web appears to be unaffected by this.
(Chrome DevTools) Performance - screenshot of room loading times
(Chrome DevTools) Console logs - nothing really helpful
vector-1731079305676.log
Outcome
What did you expect?
Short loading times of max. 1-2 seconds(when switching rooms) and smooth scrolling
What happened instead?
Loading times increased by a factor of 5 after v1.11.81
Operating system
Debian Linux
Application version
Element version: 1.11.84
How did you install the app?
https://packages.element.io/debian
Homeserver
Synapse 1.118.0
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: