Bug #94656
closedEpic #83669: Improve file list / file browser
File-browser becomes very slow when folder contains many files.
0%
Description
When using the file-browser in a record/element via "create new relation", the file-browser takes a long time to completely load the file-list when selecting a folder containing many files.
In my case, I have a folder containing some 4000 images:
- Without thumbnails, the list will be loaded in about 10 seconds.
- With thumbnails it takes twice as long at about 20 seconds.
Note, that I am referring to loading the actual html document, which ended up being +100k lines long at +10MB when using thumbnails.
I understand that a more sensible sorting of files into subfolders would remedy the situation, but clients often have many files in the same folder.
In addition to this, it would be great if there was an option to lazyload thumbnails to prevent loading thousands of images at once.