New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs/vfs: unclear description of --vfs-cache-max-age #5793
Comments
The age used in the So I think the VFS already works how you'd like it to! |
Sorry but My logic here was like this: set the max age as high as possible and rclone will loop over files beginning from those oldest ones to newer and that's what's going to get deleted in order to make some room. But if it's about the age of files in terms of when they were last opened, then that's perfect! I think this issue may be closed but maybe you guys want to discuss how docs could be extended to make this a bit clearer. |
@albertony @sevospl |
Yes, it is definitely confusing! I was using the word "age" as a bit of caching jargon - meaning how long since the file has last been accessed, rather than anything to do with the modification time of the file. I agree that could be a lot clearer in the docs.
I think the only mention of "age" in the docs is
We can't change the name of the flag, but we could adjust the help. How about
? |
Hi! I think it's a good starting point, however I'd like to make it a bit verbose. While you could keep the short description as is, it wouldn't hurt to add a broader explanation because that could be beneficial for some people. E.g.: --vfs-cache-age duration When I'm not a native speaker so feel free to rewrite this :) |
Hi. First of all, kudos to you for the VFS cache - it's really brilliant. I have one request though.
For a little background, as of now I'm using the following settings:
I allocate 500 GB to the VFS cache. Right now, because of how
vfs-cache-max-age
is set, when I run out of space - the oldest files will be removed to free it up. It's already a nice solution, however I'd like to have a bit more flexibility:1 - Delete cache files that haven't be accessed is X days
2 - When you run out of space => delete the least opened files
The first option would be nice because oldest != less relevant.
There may be very old files that still get accessed and shouldn't be removed.
What do you guys think? I think it would be a nice thing to have.
The text was updated successfully, but these errors were encountered: