GVfs caching
@oholy
Submitted by Ondrej Holy Assigned to gvf..@..e.bugs
Link to original bug (#728375)
Description
Several backend has own caches. File info caches are implemenented e.g. in archive, ftp, gphoto2, obexftp backend. Caches are used for results of queryinfo/enumeration jobs or for different checks used in other operations. Those caches reduces trafic and speed up repetitious jobs. However it would be good to have one gvfs-wide cache. We could simplify some backends and have better control about the results.
File data caches are implemented e.g. in gphoto2, obexftp, webdav backend. Caches are used to emulate standard stream operations. Whole file is cached during open and readed from memory, or file is written to the memory and uploaded on close. Also gvfs-wide could siplify some backends if we could emulate those operations using push/pull.
I'm working on caching in gvfs as my master theses. There are listed some other reasons and ideas for caching in gvfs: https://thesis-managementsystem.rhcloud.com/topic/show/161/gvfs-caching-subsystem