PHP Classes

Disk Cache Class: Store and retrieve cache data in disk files

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 285 This week: 1All time: 7,550 This week: 560Up
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
Age: 32
All time rank: 3265247 in Brazil Brazil
Week rank: 416 Up36 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:285
This week:1
All time:7,550
This week:560Up