PHP Classes

Simple full site cache: Cache script output in files

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 961 All time: 3,755 This week: 488Up
Version License PHP version Categories
php-cache 0.7GNU General Publi...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

Screenshots (1)  
  • cache_test.png
  Files folder image Files (4)  
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

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:961
This week:0
All time:3,755
This week:488Up