gcsf cache
Opened this issue · 1 comments
azaz111 commented
Does gcsf cache file metadata? or entire files, can I somehow cache data from Google Drive and unmount it so that the program uses only the cache?
someone can help me figure it out, I'll pay for the time spent
telegram @binot
harababurel commented
It caches a few different things:
- File list and metadata. This is populated at startup and then updated regularly depending on the value of
sync_interval
, as Google Drive reports remote changes which need to be applied locally - File contents. This is loaded and cached in RAM only when a file is read, such that subsequent reads are significantly faster. Can be controlled via
cache_max_seconds
andcache_max_items
. Note that unmounting the filesystem clears the cache. - Filesystem size and capacity (values reported by
df
), controlled withcache_statfs_seconds
.