Login   Register  
PHP Classes

Simple full site cache: Cache script output in files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-08-28 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 911 This week: 1All time: 3,603 This week: 1,435Up
Version License PHP version Categories  
php-cache 0.7GNU General Public Lice...4.0Files and Folders, Cache
Description Author  

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: 45
All time rank: 22288 in Belarus Belarus
Week rank: 1067 Up4 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  
 0%Total:911All time:3,603
 This week:1This week:1,435Up