I would like to know if there is a way to mount google cloud storage bucket as a folder for the first time and each time we read the file, cache it locally (so it won't use money/bandwidth).
Asked
Active
Viewed 1,879 times
1 Answers
2
GCSFUSE has two type of caching available, Stat caching and type caching. You can refer to this document which provide detailed information on these types of caching with there trade-offs.

Faizan
- 1,937
- 13
- 18
-
2That doesn't answer the question, though. gcsfuse does data caching only between `open()` and `close()` -- the cached (gcsfuse calls it "staged") file is removed after upload. An alternative would be `s3fs` which has a cache feature and can be told to connect to GCS (using S3 semantics). – Todd Vierling Aug 27 '17 at 05:37