PHP Classes

Disk Cache Class: Store and retrieve cache data in disk 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: 285 All time: 7,555 This week: 455Up
Version License PHP version Categories
disk-cache 1.0.0GNU Free Document...5.3PHP 5, Files and Folders, Cache
Description 

Author

This class can store and retrieve cache data in disk files.

It can store a given data variable serialized in a cache file in a given directory.

The class can also check if the cache file exists and it did not expire, so it can retrieve its contents and return the unserialized data.

Existing cache files may also be explicitly deleted.

The path of the cache file directory and the expiry time are configurable parameters.

Picture of Luciano Filho
  Performance   Level  
Name: Luciano Filho <contact>
Classes: 3 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (1)  
File Role Description
Plain text file class.cache.php Class Class file

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:285
This week:0
All time:7,555
This week:455Up