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 All time: 7,552 This week: 455Up
Version License PHP version Categories
disk-cache 1.0.0GNU Free Document...5.3PHP 5, Files and Folders, Cache


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: 33
All time rank: 3267247 in Brazil Brazil
Week rank: 305 Up24 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  
This week:0
All time:7,552
This week:455Up