Login   Register  
PHP Classes
elePHPant
Icontem

mb_cache: Cache page content output in files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-10-02 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 600 All time: 4,710 This week: 1,467Up
Version License PHP version Categories  
mb_cache 1.0GNU Lesser General Publ...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: 32
All time rank: 2373156 in Germany Germany
Week rank: 1862 Up89 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  
 0%Total:600All time:4,710
 This week:0This week:1,467Up