Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (26 sloc) 1.18 KB


Implements the CacheInteface using as < as the cache backend.

Requires REDIS extension.


__construct($host, $port, $timeout)
$host:Point to the host where redis is listening for connections. This parameter may also specify other transports like unix:///path/to/redis.sock to use UNIX domain sockets - default
$port:Point to the port where redis is listening for connections - default 6379.
$timeout:Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second - you can lose all the advantages of caching if your connection is too slow.


.. seealso::

   `Cache Examples <>`_.