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

Loading UI is too slow / crashing on "big" ZIMs #284

Closed
benoit74 opened this issue Aug 2, 2024 · 0 comments · Fixed by #289
Closed

Loading UI is too slow / crashing on "big" ZIMs #284

benoit74 opened this issue Aug 2, 2024 · 0 comments · Fixed by #289
Assignees
Labels
Milestone

Comments

@benoit74
Copy link
Collaborator

benoit74 commented Aug 2, 2024

See e.g. https://library.kiwix.org/content/crashcourse_en_all_2024-07/index.html

Especially on first load, and more visible on "low-end" devices like a phone, the UI takes a lot of time to load.

What is concerning:

  • there is no indication that work is ongoing, so it is confusing (I believed at first there is a bigger bug where the ZIM contains 0 video) => should we add a spinner until everything is ready?
  • I believe (I do not have measures) that it is consuming lots of CPU (and maybe memory) since it is even way slower on CPU-limited devices like our users are using (it makes Chrome crash after about 2 minutes loading videos thumbnails in the UI on Orange tablet v2 for instance)

Issue is present on home page, but also on any video page since we load here the list of videos in the "playlist" component.

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

Successfully merging a pull request may close this issue.

2 participants