|
|
| Name: |
RS Cache |
| Base name: |
rscache |
| Description: |
Store and retrieve variables from cache files |
| Related classes: |
mysql cache, cache mysql |
| Version: |
- |
| PHP version: |
- |
| License: |
Free for non-commercial use |
| All time users: |
578 users |
| All time rank: |
4270 |
| Week users: |
0 users |
| Week rank: |
2356 |
| |
|
 |
|
Innovation award
 Nominee: 1x |
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.
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|
| File |
Role |
Description |
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. |
rscache.php |
Class |
Cache class itself |