1up-lab / OneupFlysystemBundle

A Flysystem integration for your Symfony projects.
MIT License
634 stars 118 forks source link

Cache Adapter instead of Filesystem #111

Closed BartVB closed 3 years ago

BartVB commented 8 years ago

Flysystem uses an adapter decorator to enable caching: http://flysystem.thephpleague.com/caching/

FlysystemBundle adds a cache to the filesystem: https://github.com/1up-lab/OneupFlysystemBundle/blob/master/Resources/doc/filesystem_cache.md

In most cases that doesn't make much of a difference, but when using an adapter which composites multiple adapters things are different. In these cases you would like to cache the individual adapters instead of the resulting filesystem.

Or am I missing something?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.