jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.86k stars 91 forks source link

[Request] Cache the whole file lists #335

Open L-Trump opened 1 year ago

L-Trump commented 1 year ago

Is it possible to cache the whole file list of all directories (not content), which may accelerates the file browsing?

jstaf commented 1 year ago

I suspect the reason file browsing is slow is probably actually your file browser trying to download every single file to create thumbnail images (I looked into this with GNOME's Nautilus and it's really difficult/impossible to disable this behavior). https://gitlab.gnome.org/GNOME/nautilus/-/issues/1209. I've been trying to think of a good way to disable this behavior to speed things up for awhile now.

L-Trump commented 1 year ago

Thanks for the reminder. I'v tried NNN and it works much better than Xfce's Thunar. It's interesting that Thunar appears to be able to recognize the FUSE-based remote file system, so it doesn't build thumbnails by default. However, it seems to download all the files of unknown or private type (e.g. docx, xlsx, dat), resulting in incredibly low speeds. I suppose it is designed to identify the file type from the file header.