PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 330 All time: 7,144 This week: 488Up
Version License PHP version Categories
smart-file-cache 1.1GNU General Publi...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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:330
This week:0
All time:7,144
This week:488Up