flysystem-google-drive icon indicating copy to clipboard operation
flysystem-google-drive copied to clipboard

additionalField(s) missing cache

Open mrblur opened this issue 6 years ago • 2 comments

Hi,

Just enabled caching with Symfony's cache.app adapter and noticed that getContents listings read from cache are missing additional fields. I am fetching hasThumbnail with thumbnailLink fine from API, but miss them when read back from cache.

Is this a Flysystem's limitation?

mrblur avatar Apr 21 '18 17:04 mrblur

@mrblur Yes, it is probably a limitation of the FlySystem's cache mechanism. You may need to extend the cache mechanism.

nao-pon avatar Apr 24 '18 12:04 nao-pon

There is extra cache trait for param hasdir. https://github.com/nao-pon/flysystem-cached-extra/blob/master/src/Hasdir.php

nao-pon avatar Jun 11 '18 08:06 nao-pon