Login   Register  
PHP Classes
elePHPant
Icontem

Smart File Cache: Store and retrieve variable values in cache files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-10-21 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 321 All time: 6,483 This week: 1,141Up
Version License PHP version Categories  
smart-file-cache 1.1GNU General Public Lice...5.0PHP 5, Files and Folders, Cache
Description Author  

This class can be used to store and retrieve variable values in cache files.

It can serialize the value of a given variable and store it in a cache file.

The class can also retrieve the original variable value from a cache file. Cache files are valid for a given expiry period.

A special cache file can be used to store application wide variables. The variable values in this cache file are loaded every time an object of this class is created.

The access to cached variables can be done by accessing class variables with the same names as the cache keys.

The class may also explicitly remove a given cached variable file.

Picture of chema garrido
Name: chema garrido <contact>
Classes: 12 packages by
Country: Spain Spain
Age: 30
All time rank: 40512 in Spain Spain
Week rank: 128 Up5 in Spain Spain Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example usage example
Plain text file fileCache.php Class class

 Version Control Unique User Downloads Download Rankings  
 0%Total:321All time:6,483
 This week:0This week:1,141Up