PHP Classes

Content cache class: Cache content in 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: 641 All time: 4,965 This week: 222Up
Version License PHP version Categories
cache_zip 1.0GNU General Publi...5.0PHP 5, Cache
Description 

Author

This class can be used to cache content in files.

It checks whether a given cache file exists. If it exists and is not expired, the class returns the cache file contents. If it has expired, the class removes the cache file.

If the cache file does not exist, the class can create a new cache file with from fresh content.

The path of the directory where the cache files are stored is configurable.

Picture of Szilágyi Gábor
Name: Szilágyi Gábor <contact>
Classes: 2 packages by
Country: Hungary Hungary
Age: 40
All time rank: 239623 in Hungary Hungary
Week rank: 578 Up8 in Hungary Hungary Up

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:641
This week:0
All time:4,965
This week:222Up