PHP Classes

Extremely Simple Cache: Cache page 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 51%Total: 504 All time: 5,797 This week: 59Up
Version License PHP version Categories
extremelysimplecache 1.0GNU General Publi...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
  Performance   Level  
Name: Rodrigo Brandão <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 38
All time rank: 87560 in Brazil Brazil
Week rank: 206 Up18 in Brazil Brazil Up

  Files folder image Files (3)  
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

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:504
This week:0
All time:5,797
This week:59Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2519