Description
cache-dir, disable-preview-resize, and disable-type-detection-by-header don't seem to be having any effect despite being all enabled in an attempt to help File Browser deal with directories with large number of files.
I run File Browser with this command:
filebrowser --config ~/.filebrowser/config.json
And these configurations:
{
"address":"0.0.0.0",
"database":"/home/mediacenter/.filebrowser/filebrowser.db",
"root":"/run/media/mediacenter/Seagate Expansion Drive",
"disable-preview-resize": true,
"disable-type-detection-by-header": true,
"cache-dir": "/home/mediacenter/.cache/filebrowser"
}
However, it's not caching anything. Directories keep getting reloaded every time I do an operation, which takes very long time when there are many files (currently testing on a folder with 11k+ files and 261 subdirectories) and it's extremely tedious. The specified cache directory is always empty, with File Browser not storing anything in it.
Expected behaviour
It should store a cache in the specified directory, making the browsing much faster and not reloading thumbnails and the list of files every time.
What is happening instead?
It's not caching anything and the browsing is as slow as when not using any of the parameters.
Additional context
I'm using File Browser 2.20.1 on Manjaro Linux. The files are stored in an external Seagate HDD with NTFS; however, I also did an experiment by moving a folder with many files (2500+) to the local Ext4 file system, and the result was the same. It was still not caching and the browsing was as slow as with the external HDD.
How to reproduce?
Run File Browser with those configurations on a Linux distro and while browsing a directory with a few thousand files.
Description
cache-dir,disable-preview-resize, anddisable-type-detection-by-headerdon't seem to be having any effect despite being all enabled in an attempt to help File Browser deal with directories with large number of files.I run File Browser with this command:
filebrowser --config ~/.filebrowser/config.jsonAnd these configurations:
{ "address":"0.0.0.0", "database":"/home/mediacenter/.filebrowser/filebrowser.db", "root":"/run/media/mediacenter/Seagate Expansion Drive", "disable-preview-resize": true, "disable-type-detection-by-header": true, "cache-dir": "/home/mediacenter/.cache/filebrowser" }However, it's not caching anything. Directories keep getting reloaded every time I do an operation, which takes very long time when there are many files (currently testing on a folder with 11k+ files and 261 subdirectories) and it's extremely tedious. The specified cache directory is always empty, with File Browser not storing anything in it.
Expected behaviour
It should store a cache in the specified directory, making the browsing much faster and not reloading thumbnails and the list of files every time.
What is happening instead?
It's not caching anything and the browsing is as slow as when not using any of the parameters.
Additional context
I'm using File Browser 2.20.1 on Manjaro Linux. The files are stored in an external Seagate HDD with NTFS; however, I also did an experiment by moving a folder with many files (2500+) to the local Ext4 file system, and the result was the same. It was still not caching and the browsing was as slow as with the external HDD.
How to reproduce?
Run File Browser with those configurations on a Linux distro and while browsing a directory with a few thousand files.