Optimizing elFinder: How to Minimize Folder Listing Time and Disable Unnecessary Features #3733
-
|
I am seeking advice on how to improve the performance of elFinder by reducing the time it takes to list files within a folder. I am using elFinder on a traditional Linux file system, on the same machine where the application is running—no cloud services like AWS involved. At the moment, I only have the basic navigation and operation buttons enabled (back, forward, upload, download, and delete). I do not require any of the other features, such as file compression, extraction, or previews. My goal is to streamline the tool to its essential functions, as I primarily use it for uploading and organizing files that I’ll be working on the server. I’d greatly appreciate any advice on how to disable unnecessary features, so I can improve speed and ensure it’s as efficient as possible for my needs. Thank you for your time and assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.

If anyone ever reads this...
I greatly improved performance by doing the following:
Disable folder size calculation
Disable subdirectory searching
Disable reading the file owner
Set 'mimeDetect' to 'internal'
Set 'imgLib' to 'gd'.
These were the options I added:
'tmbBgColor' => 'transparent'
'mimeDetect' => 'internal' // avoid using fileinfo if it's slow
'imgLib' => 'gd' // gd is faster than imagick
'statOwner' => false // don't get file owner
'checkSubfolders' => false // don't check subfolders when listing
'dirSize' => false // don't calculate folder sizes
'disabled' => array('resize','tmb') // disables slow operations