A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jgivoni/flysystem-cache-adapter below:

jgivoni/flysystem-cache-adapter: The PSR-6 compliant adapter decorator for Flysystem v3 that caches file metadata to improve performance.

This is the PSR-6 compliant cache adapter for Flysystem v3 you're looking for! The objective is to transparently cache file metadata and thereby improve performance when looking up whether a file exists, checking it's size or modification date etc. It can be easily configured to work with in-memory cache, Redis, Memcached, Doctrine or the filesystem or any of the other adapters available from Symfony.

This library is not a direct fork of any other repository but written from scratch by me. I aim to keep it maintained, but I already consider it mature and there are no plans to add any new features.

It supports Flysystem v3 and is currently maintained, which makes it superior to these other alternatives that I was able to find.

In case you're wondering, the first version is called version 3 to match the Flysystem version it corresponds to.

composer require jgivoni/flysystem-cache-adapter
$cache = new \Symfony\Component\Cache\Adapter\RedisAdapter(...);

$filesystemAdapter = new \League\Flysystem\AwsS3V3\AwsS3V3Adapter(...);

$cachedFilesystemAdapter = new \jgivoni\Flysystem\Cache\CacheAdapter($filesystemAdapter, $cache);

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4