PHP Classes


Recommend this page to a friend!
  Classes of V   MultiCache library   README   Download  
Role: Documentation
Content type: text/plain
Description: README
Class: MultiCache library
Cache data in files or memcached
Author: By
Last change: Text changed
Date: 5 years ago
Size: 903 bytes


Class file image Download
README (MultiCache class) ========================================= NAME: MultiCache class VERSION: 1.00 DESCRIPTION: MultiCache class class provides a convenient way to work with caches. It can use local file system, memcache or other external storage. Supported features: - File system cache and memcache. - Cache limit control. Check cache size and number of cached items. - Flexible cache clean logic (garbage collector). SYNOPSIS: <?php include 'MultiCache.class.php'; include 'MultiCacheFile.class.php'; $mc = new MultiCacheFile(); $mc->set('test', 'value', 10); print $mc->get('test'); ?> <?php include 'MultiCache.class.php'; include 'MultiCacheMemcache.class.php'; $mc = new MultiCacheMemcache(); $mc->set('test', 'value', 10); print $mc->get('test'); ?>