PHP Classes

Cache Factory: Put and get data from different cache containers

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 434 All time: 6,286 This week: 455Up
Version License PHP version Categories
cache-factory 1.0BSD License5.0PHP 5, Cache


This package can put and get data from different cache containers.

It provides a factory class that can load a cache handler class according to the value of a configuration constant.

Several cache handling classes are provide for putting and getting data from different types of containers: MemCached, Redis, XCache and static class variables.

Each of the cache container classes implement an interface for storing, retrieving and deleting values from a given cache key.

Picture of Kacper Rowinski
  Performance   Level  
Name: Kacper Rowinski <contact>
Classes: 14 packages by
Country: Poland Poland
Age: 40
All time rank: 91626 in Poland Poland
Week rank: 73 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 8x

  Files folder image Files  
File Role Description
Files folder imagecacheFactory (5 files)
Plain text file cacheFactory.php Class main class
Accessible without login Plain text file example.php Example examples of usage

  Files folder image Files  /  cacheFactory  
File Role Description
  Plain text file cacheMemcached.php Class Memcached handler
  Plain text file cacheRedis.php Class Redis handler
  Plain text file cacheStatic.php Class Dummy test
  Plain text file cacheXcache.php Class Xcache
  Plain text file interfaceCache.php Class interface

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,286
This week:455Up