barryvdh / elfinder-flysystem-driver

elFinder driver for Flysystem
183 stars 41 forks source link

[0.2] Caching by default #37

Open barryvdh opened 8 years ago

barryvdh commented 8 years ago

I've implemented a SessionStore and used that by default. Alternatively, a Memory store can be used (or false to disable).

For existing caches, this relies on https://github.com/thephpleague/flysystem-cached-adapter/pull/17 being merged, or passing the fscache option directly.

Also added the clearcache() method to flush the cache.

Can be tested by requiring barryvdh/elfinder-flysystem-driver:"^0.2@dev". See compare: https://github.com/barryvdh/elfinder-flysystem-driver/compare/v0.1.5...master

@nao-pon Thoughts?

nao-pon commented 8 years ago

@barryvdh OK I'll try it!