can I make rclone to discover the dir and cache it so when i use h5ai it won't lag?
i am current using these to mount --umask=0000 --default-permissions --allow-non-empty --allow-other --transfers=4 --buffer-size=32m --low-level-retries=200 --dir-cache-time=10m --vfs-read-chunk-size=32M --vfs-read-chunk-size-limit=1G
I am using the latest version. I will try the -vv in a few hours. By lag i mean that it really long to load the directory with the web directory Lister. I just wonder if there a way to somehow make rclone discover the directory before i decide to open it.
Sorry as I wasn't clear. The mount command needs a --rc added to it. I removed all the fluff from your mount that doesn't work and changed the cache-time to something larger.
rclone mount gdrive: /mountpoint --umask=0000 --default-permissions --allow-other --buffer-size=32m --dir-cache-time=96h --rc
Once the drive is mounted, you can run:
rclone rc vfs/refresh recursive=true
from the same machine the mount is running and that builds the directory / file cache in memory.
The refresh really isn't that much required to be honest, but it saves some time on startup. Once you walk the file system, it will stay cached for 96 hours barring any polling changes or updates to it.