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: 677 All time: 4,714 This week: 377Up
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: 41
All time rank: 2811171 in Germany Germany
Week rank: 719 Up32 in Germany Germany Up

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

For more information send a message to info at phpclasses dot org.