TYPO3 10.4.10: Opening a file information popup takes a very long time
we face another issue with the latest security update in a large university project (with a lot of files in fileadmin).
When an editor (or admin) opens a textmedia element in backend, the edit view is shown. Switching to tab Images shows the related images to this content element.
If you click on the i-icon (info) of the sys_file_reference record, a popup is shown.
In this project it takes more then 40 seconds to show the file information and the preview image. I could reproduce this behaviour in a smaller project but with better times (about 10 seconds). In a naked installation I don't see a difference (with only a few images in fileadmin).
I also tested to remove the fileadmin/.htaccess file - but this does not help. Rolling back to 10.4.9 increases performance from 40s to 2s.
Any hints how to handle this?
BTW: The effected url/script in the AJAX call is /typo3/index.php?route=%2Frecord%2Finfo&token=abc&table=_FILE&uid=123
Updated by Georg Ringer 7 months ago
- Status changed from New to Needs Feedback
can you check the changes done in https://review.typo3.org/c/Packages/TYPO3.CMS/+/66752 if it is solved for you?
Updated by Alex Kellner 7 months ago
Yes, I just tested https://gist.github.com/smichaelsen/bde0aab6590e0a3fdf0bef153c39a557 and it solves the problem. Issue can be closed.