PHP Classes

Content cache class: Cache content in files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 33%Total: 642 All time: 4,979 This week: 455Up
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: 42
All time rank: 240423 in Hungary Hungary
Week rank: 164 Up3 in Hungary Hungary Up

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:642
This week:0
All time:4,979
This week:455Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:41%StarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:33%StarStar
Rank:4232