PHP Classes

Classes of Alexander Stepanenko

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Alexander Stepanenko (1)  >  Mission progress status  >  Reputation  
Picture of Alexander Stepanenko
Name: Alexander Stepanenko <contact>
Classes: 1
Country: Ukraine Ukraine
Age: 43
All time rank: 148626 in Ukraine Ukraine
Week rank: 185 Up6 in Ukraine Ukraine Up
All time users: 2043
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image CacheManager  
Cache arbitrary data in files
This class can be used to cache arbitrary data in files.

It can check if the cache with a certain key already exists. If it exists and it is not expired, it can return the cached data. Otherwise it can store newly generated data in a cache file with the given key.

The class can be configured to set the cache life time and the root directory of where all the cache files will be stored.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z