-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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(dashboard): Stop loading the viewer on the dashboard #43407
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, should it be considered a breaking change?
For example, if some community app uses dashboard api v1 and Viewer
b487ee8
to
3b6496b
Compare
@AndyScherzinger when emulating "fast 3G"-network connection on chrome the improvements are quite nice: If you start on the login page with an empty cache the loading time for the first page (dashboard) is reduced by 44%:
|
I would say mentioning it in the developer docs doesn't hurt. The fix is also easy (emit the event yourself) |
Which is also not really a fix, they should have done that since the beginning. |
Signed-off-by: Ferdinand Thiessen <[email protected]>
3b6496b
to
0773b87
Compare
Documentation: nextcloud/documentation#11513 |
Summary
Viewer is ~4MB of JS assets for loading, this is not needed on the dashboard and the sidebar is also not used on the dashboard - there is no sidebar at all.
Checklist