PHP Classes

mb_cache: Cache page content output in files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 654 All time: 4,915 This week: 455Up
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

 

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:654
This week:0
All time:4,915
This week:455Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:41%StarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3531