I'm currently using Shrine to upload files to DigitalOcean (via s3 sdk). It works nicely, it's perfect. However, in the guide there's a storage option to make a temporary copy of the uploads, specified by the 'cache' prefix.
How is this cache used? Or, put differently, what features does it provide?
Since I'm totally unaware of its use, currently all I'm seeing are duplicates of my uploads in my Spaces (bucket) resource. Are these files ever disposed of?
Finally, if the cached files are for data retrieval purposes, wouldn't it make sense to make a local cache, rather than it being sent to the S3 resource?
I apologize if all of this is general knowledge, it didn't seem clear to me as I was rushing in to get it implemented.