How to improve ajax request performance

Hi,

Im running my nextcloud in docker on an pi 4.
The problem is with the preview, when opening a folder with images, all previews needs to be generated. already had a loth of previews pregenerated, but when there is no pre generated preview it does multiple AJAX calls for the previews. All those AJAX calls will full the full server capacity of my pi, maily because the resizing takes long because of the large photo file sizes.

Is there any way to just queue the preview so it will not do all the requests at te same time, of anothe way to speed up the preview generating process.

Perhaps you like disabling or configure preview.

https://docs.nextcloud.com/server/20/admin_manual/configuration_files/previews_configuration.html