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
StarStar 33%Total: 641 All time: 4,971 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: 41
All time rank: 240223 in Hungary Hungary
Week rank: 312 Up6 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,971
This week:222Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:41%StarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:33%StarStar
Rank:4132