PHP Classes

RS Cache: Store and retrieve variables from cache files

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-09-09 (12 years ago) RSS 2.0 feedNot enough user ratingsTotal: 595 All time: 5,045 This week: 621Up
Version License Categories
rscache 1.0Free for non-comm...Cache, Data types
Description Author

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.

Name: V. Yanson <contact>
Classes: 8 packages by
Country: United States United States
Age: 31
All time rank: 51360 in United States United States
Week rank: 1040 Down102 in United States United States Down
Innovation award
Innovation award
Nominee: 1x

  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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,045
This week:621Up