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

Performance issues with large galleries #23714

Closed
slavicd opened this issue Jul 6, 2020 · 4 comments
Closed

Performance issues with large galleries #23714

slavicd opened this issue Jul 6, 2020 · 4 comments
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Feature] Media Anything that impacts the experience of managing media [Type] Performance Related to performance efforts

Comments

@slavicd
Copy link

slavicd commented Jul 6, 2020

Describe the bug
Having large galleries (~100+ images in the case of my browser) makes it pretty much impossible to edit gallery settings and even post, bringing the page execution to a halt.

It looks like the problem arises due to multiple ajax requests per image to wp-admin.

To reproduce
Steps to reproduce the behavior:

  1. install stock WP
  2. upload 100+ images
  3. create a gallery in a new post with all the 100+ images

Expected behavior
I expect to be able to edit the page/gallery without huge lags and crashes as possible before Gutenberg.

Editor version (please complete the following information):

  • WordPress version: 5.4.1
  • default block editor

Desktop (please complete the following information):

  • Fedora Linux
  • latest Firefox
@annezazu annezazu added [Block] Media & Text Affects the Media & Text Block [Feature] Media Anything that impacts the experience of managing media [Type] Performance Related to performance efforts [Block] Gallery Affects the Gallery Block - used to display groups of images and removed [Block] Media & Text Affects the Media & Text Block labels Jul 10, 2020
@annezazu
Copy link
Contributor

This perhaps might be related to this: #10994

@Mamaduka
Copy link
Member

Hi, @slavicd

Are you still able to reproduce the issue with the latest WP version? The request number should now be reduced. See #34389.

@Mamaduka
Copy link
Member

Mamaduka commented Jun 7, 2023

I'm going to close the issue. The fix (#34389) was shipped in WP a few versions back.

@slavicd, feel free to re-open the issue, if you're still experiencing the problem.

@Mamaduka Mamaduka closed this as completed Jun 7, 2023
@slavicd
Copy link
Author

slavicd commented Jun 7, 2023

Hi, @slavicd

Are you still able to reproduce the issue with the latest WP version? The request number should now be reduced. See #34389.

I haven't had the chance to test on recent versions. I'm sure if no one else reported it must've been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Feature] Media Anything that impacts the experience of managing media [Type] Performance Related to performance efforts
Projects
None yet
Development

No branches or pull requests

3 participants