PHP Classes

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 (3)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 679 All time: 4,772 This week: 560Up
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
Age: 45
All time rank: 2866171 in Germany Germany
Week rank: 4338 Down225 in Germany Germany Down

  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:679
This week:0
All time:4,772
This week:560Up
User Comments (1)
Simple and useful, well done.
16 years ago (lecterror)
70%StarStarStarStar