Closed ahelpingchip closed 7 years ago
Thank you for your feature request! :+1:
I'd say it's a duplicate of #17, but you've added some useful information. I've always thought about a cache that clears itself after every "session". You are proposing a persistent cache.
Furthermore, this persistent cache might replace many use cases of the offline functionality proposed in #44 and #45. Veeery interesting and I quite like the idea. It won't replace the offline functionality though, but I think it's an easier start, because there aren't any new UI elements other than additional settings.
I'll close this one in favor of #17, but I'll add the new information there.
Basic Info
This is a feature request.
I'm using iOS in version: iOS 10.2
I'm running Cryptomator in version: 1.2.0 (389)
Description
Hi! I've seen issues #44 and #45, but what I am suggesting is basic caching functionality, with a cap on the total cache size.
e.g. When the user opens a previously-unopened file, the file is stored in cache for future access. Subsequent accesses use the local cache, unless the file has been modified since. Files are expunged from cache when the cache is full, in reverse order of last accessed time. (Oldest files first.)
In terms of UI/UX and state management, I think this would be easier to do than manually defining files/folders to keep offline, and would suit the needs of most users while having a simpler interaction model.
There can be settings for enabling cache, the max cache size, and a flush cache button. Here's what it looks like on the old Boxcryptor (which I've replaced with Cryptomator) —
Thanks for Cryptomator! :)