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

Fix asset preview performance #804

Open
wants to merge 2 commits into
base: 1.7
Choose a base branch
from

Conversation

cuca24
Copy link
Contributor

@cuca24 cuca24 commented Dec 26, 2024

Currently the performance of asset preview routes are still very poor with this fix: https://github.com/pimcore/admin-ui-classic-bundle/pull/767/files for non admin users.

For example total number of assets: 500k it takes about ~13s for select query and additional ~13s for additional count query which barely avoids timeout of 30 seconds.

@kingjia90 i added also call to grid helper functions for assets preview, which makes the performance the same for listing and preview. Is there any reason why we should not use it for preview like i did in PR?

Copy link

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

@cuca24 cuca24 changed the title Refactor permission handling in asset folder content preview. Fix asset preview performance Dec 26, 2024
@cuca24
Copy link
Contributor Author

cuca24 commented Dec 26, 2024

I have read the CLA Document and I hereby sign the CLA

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

Successfully merging this pull request may close these issues.

2 participants