PHP Classes

mb_cache: Cache page content output in files

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 652 All time: 4,897 This week: 216Up
Version License PHP version Categories
mb_cache 1.0GNU Lesser Genera...5.0PHP 5, Files and Folders, Cache
Description Author

This class can be used to cache page content output in files.

It can check if a cache file for the current page exists and whether it is still valid.

If the cache file does not exist or it is expired, the class starts capturing the current page output and stores it the cache file when the scripts exits.

If the cache file exists and has not yet expired, the class outputs the contents of the cache file and exits.

Picture of James Blond
Name: James Blond <contact>
Classes: 2 packages by
Country: Germany Germany
Age: 40
All time rank: 2553159 in Germany Germany
Week rank: 597 Up33 in Germany Germany Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php Example example script
Plain text file cache.class.php Class caching class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,897
This week:216Up
For more information send a message to info at phpclasses dot org.