Login   Register  
PHP Classes
elePHPant
Icontem

Class: cache_TS

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jacek Wloka  >  cache_TS  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: cache_TS
Base name: cache_ts
Description: Cache the output of PHP script in files
Related classes: , , ,
Version: 1
PHP version: 4.0
License: GNU Lesser General Public License (LGPL)
All time users: 367 users
All time rank: 5165
Week users: 2 users
Week rank: 1753
Picture of Jacek Wloka
Author: Jacek Wloka <e-mail contact>
Packages: 5 Browse this author's classes Browse this author's classes
Country: Poland Poland - PHP jobs in Poland
Age: 25
All time rank: 3938 in Poland Poland
Week rank: 47013 in Poland Poland
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  Groups  
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
Link Description
Package cache_TS Package zip class cache_TS
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file clean_up_cache.php Example clean up cache
Plain text file example_1.php Example example 1
Plain text file example_2_SQL.php Example example 2 sql
Plain text file example_test.sql Data example database sql
Plain text file cache_ts.php Class class cache_TS

Download all files: cache_ts.tar.gz cache_ts.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.