PHP Classes

Simple full site cache: Cache script output in files

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 961 All time: 3,753 This week: 488Up
Version License PHP version Categories
php-cache 0.7GNU General Publi...4.0Files and Folders, Cache


This class can write&read script output in files.

It can check if a cache file exists and is not expired. If so it may return the contents of the cached file.

If the cache file does not exist or it was expired, the class may start capturing the output of the current script and then it stores the captured output in a cache file.

Picture of Denis
Name: Denis <contact>
Classes: 1 package by
Country: Belarus Belarus
Age: 55
All time rank: 24179 in Belarus Belarus
Week rank: 280 Up3 in Belarus Belarus Up

  • cache_test.png
  Files folder image Files  
File Role Description
Plain text file cache.php Class Cache class
Plain text file example.php Example Example for Cache class
Plain text file ReadMe.txt Lic. ReadMe

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,753
This week:488Up