Login   Register  
PHP Classes

RS Cache: Store and retrieve variables from cache files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of V. Yanson
Name: V. Yanson <e-mail contact>
Packages: 8 Browse all classes by V. Yanson Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 28
All time rank: Not yet ranked
Week rank: 46745 in United States United States
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
This class can be used to store and retrieve variables in cache files.

It provides a function to store the value of a variable of any type in a file of a given folder.

The file name is determined by a given unique identifier and an integer number that indicates the time when the cache file was created.

The class also provides a function to retrieve the cached variable value given its original unique identifier.

The cache life time limit is configurable. If it has already elapsed the life time limit when a cached variable is retrieved, the cache retrieval function returns false.

The class also provides a function to delete the cache files stored in the current cache folder.

  Classes of V. Yanson  >  RS Cache  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: RS Cache
Base name: rscache
Description: Store and retrieve variables from cache files
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 591 users
All time rank: 4681
Week users: 0 users
Week rank: 2192 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Cache Classes for managing cached pages View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes

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

  Applications that use this class  
No application links were specified for this class.
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
Accessible without login Plain text file cached_mysql_query.php Example Small script to show how you can implement the rscache class to cache mysql queries. Should only be implemented with SELECT queries.
Plain text file rscache.php Class Cache class itself

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