dev-master
9999999-devCreate a cache of a storage-backend using another storage-backend
MIT
The Requires
- php >=5.4.0
- imbo/imboclient ~2.0.0
by Morten Fangel
cache storage imbo
Create a cache of a storage-backend using another storage-backend
Setup a cache of a storage-backend by using another storage-backend. Useful if you primary storage is a slow but cheap option, but you want a fast but expensive backend to serve as a cache of the most recently used images., (*1)
The original use-case was to use S3 for storage, but have a on-disk version of the images used in the last two weeks., (*2)
If you've installed Imbo through composer, getting the upstream plugin up and running is easy. Just add tv2/imbo-plugin-image-cache
as a dependency and run composer update
., (*3)
{ "require": { "tv2/imbo-plugin-image-cache": "dev-master", } }
Once you've got the plugin installed, you need to configure your upstream. An example configuration can be found in config/config.php.dist
. If you copy the file to your configuration-directory, rename it to something like image-cache.php
and adjust the parameters, you should be good to go., (*4)
Copyright (c) 2016, TV 2 Danmark A/S, (*5)
Licensed under the MIT license., (*6)
Create a cache of a storage-backend using another storage-backend
MIT
cache storage imbo