Download .zip |
Info | Example | View files (7) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-08-04 (3 hours ago) | Not yet rated by the users | Total: 567 | All time: 5,201 This week: 885 |
Version | License | PHP version | Categories | |||
multicache-library 1.01 | GNU Lesser Genera... | 5.0 | PHP 5, Files and Folders, Cache |
Description | Author | ||||||||||||||
This package can be used to cache data in files or memcached server. |
|
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'); ?> |
Files |
File | Role | Description |
---|---|---|
MultiCache.class.php | Class | MultiCache class |
MultiCacheFile.class.php | Class | MultiCacheFile class |
MultiCacheMemcache.class.php | Class | MultiCacheMemcache class |
example.php | Example | Example |
README | Doc. | README |
ChangeLog | Data | ChangeLog |
LICENSE | Lic. | LICENSE |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.