Login   Register  
PHP Classes
elePHPant
Icontem

Extremely Simple Cache: Cache page 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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-11-11 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 491 All time: 5,365 This week: 1,585Up
Version License PHP version Categories  
extremelysimplecache 1.0GNU General Public Lice...5.3PHP 5, Files and Folders, Cache
Description Author  

This class can cache page output in files.

It can capture the current script output and store it in a cache file.

Next time the same script is accessed, the class retrieves the contents from the cache file and outputs it.

The cache file expiry time and the directory where the cache files will be stored are configurable parameters.

Picture of Rodrigo Brandão
Name: Rodrigo Brandão <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 29
All time rank: 92066 in Brazil Brazil
Week rank: 458 Up35 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file cache.class.php Class The class
Accessible without login Plain text file example.html Data Sample
Accessible without login Plain text file example.php Example How to use the class

 Version Control Unique User Downloads Download Rankings  
 0%Total:491All time:5,365
 This week:0This week:1,585Up