PHP Classes
elePHPant
Icontem

cache_TS: Cache the output of PHP script in files

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-08-23 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 930 This week: 1All time: 3,703 This week: 1,047Up
Version License PHP version Categories
cache_ts 1GNU Lesser Genera...4.0Files and Folders, Cache
Description Author

This class can be used to cache the output of PHP script in files.

First it checks the cache file of a given cache key.

If the cache file exists and it has not expired, the class outputs the contents of the cache file.

If the cache file does not yet exist or it has expired, the class starts capturing the output of the script and stores it in the cache file.

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

Picture of Jacek Wloka
Name: Jacek Wloka <contact>
Classes: 6 packages by
Country: Poland Poland
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file clean_up_cache.php Example clean up cache
Accessible without login Plain text file example_1.php Example example 1
Accessible without login Plain text file example_2_SQL.php Example example 2 sql
Accessible without login Plain text file example_test.sql Data example database sql
Plain text file cache_ts.php Class class cache_TS

 Version Control Unique User Downloads Download Rankings  
 0%
Total:930
This week:1
All time:3,703
This week:1,047Up