2017 © Pedro Peláez
 

library imbo-plugin-image-cache

Create a cache of a storage-backend using another storage-backend

image

tv2/imbo-plugin-image-cache

Create a cache of a storage-backend using another storage-backend

  • Tuesday, January 10, 2017
  • by fangel
  • Repository
  • 3 Watchers
  • 0 Stars
  • 134 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Image-Cache Imbo plugin

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)

Installation

Setting up the dependencies

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",
    }
}

Configuring imbo

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)

License

Copyright (c) 2016, TV 2 Danmark A/S, (*5)

Licensed under the MIT license., (*6)

The Versions

10/01 2017

dev-master

9999999-dev

Create a cache of a storage-backend using another storage-backend

  Sources   Download

MIT

The Requires

 

by Morten Fangel

cache storage imbo