PHP Classes
elePHPant
Icontem

Really Simple Content Cache: Cache content in files

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-10-03 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 675 This week: 1All time: 4,588 This week: 1,047Up
Version License PHP version Categories
reallysimplecontentc 0.1GNU General Publi...5.0PHP 5, Cache
Description Author

This class can be used to cache content in files.

It can check if a given cache file exists and it has not expired. In that case it returns the cached content stored in the cache file.

If the cache file does not exist or the cached content has expired, the cache file may be refreshed with new content.

The class may also invalidate cached content by removing the respective file if it exists.

The cache expiry time and the cache file name extension are configurable details.

Picture of Rob Searles
Name: Rob Searles <contact>
Classes: 1 package by
Country: Germany Germany

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Demo of the ReallySimpleContentCache class for the simplest usage
Accessible without login Plain text file index2.php Example Demo for the ReallySimpleContentCache class, more advanced usage
Plain text file ReallySimpleContentCache.php Class Class file for the ReallySimpleContentCache class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:675
This week:1
All time:4,588
This week:1,047Up
User Comments (1)
Simple and useful, well done.
9 years ago (lecterror)
70%StarStarStarStar