2017 © Pedro Peláez
 

library slim-redis-cache

Redis cache middleware for Slim framework

image

abouvier/slim-redis-cache

Redis cache middleware for Slim framework

  • Thursday, September 17, 2015
  • by abouvier
  • Repository
  • 2 Watchers
  • 11 Stars
  • 293 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

RedisCache

Redis cache middleware for Slim framework., (*1)

Installation

composer require abouvier/slim-redis-cache

Usage

Cache every successful HTTP response for 8 hours in the local Redis server., (*2)

$app = new \Slim\Slim();
// ...
$client = new \Predis\Client('tcp://localhost:6379', [
    'prefix' => $app->environment['SERVER_NAME']
]);
$app->add(new \Slim\Middleware\RedisCache($client, [
    'timeout' => 28800
]));
// ...
$app->run();

The Versions

17/09 2015

dev-master

9999999-dev https://github.com/abouvier/slim-redis-cache

Redis cache middleware for Slim framework

  Sources   Download

Apache-2.0

The Requires

 

by Avatar abouvier

middleware cache redis slim

06/09 2015

v0.1.0

0.1.0.0 https://github.com/abouvier/slim-redis-cache

Redis cache middleware for Slim framework

  Sources   Download

Apache-2.0

The Requires

 

by Avatar abouvier

middleware cache redis slim