Login   Register  
PHP Classes
elePHPant
Icontem

Content cache class: Cache content in files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-10-12 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 629 All time: 4,553 This week: 1,889Up
Version License PHP version Categories  
cache_zip 1.0GNU General Public Lice...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: 32
All time rank: 221121 in Hungary Hungary
Week rank: 1125 Up11 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:629All time:4,553
 This week:0This week:1,889Up