PHP Classes

File cache class: Cache arbitrary data in files.

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog (1)    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 8,551 All time: 192 This week: 488Down
Version License Categories
filecache 1.0.1BSD LicenseFiles and Folders, Cache


Class that can cache arbitrary data in files in order to reduce the time necessary to regenerate pages or other types of data that does not change every time it is requested.

It features:

- Safe locking of cache files to avoid data corruption caused by simultaneous accesses during cache file updates.
- Portable locking schemes. Tested under Linux, SunOS and Windows.
- Ability to set cache expiry date or timeout period.
- Cache files can store user-defined headers besides the cached data and also standard headers used in HTTP like content-length:, date:, expires:, etag:, etc..

Picture of Manuel Lemos
  Performance   Level  
Name: Manuel Lemos is available for providing paid consulting. Contact Manuel Lemos .
Classes: 45 packages by
Country: Portugal Portugal
Age: 55
All time rank: 1
Week rank: 5 Down1 in Portugal Portugal Equal

  Files folder image Files  
File Role Description
Accessible without login HTML file datacacheclass.html Doc. Base abstract data cache class documentation
Accessible without login HTML file filecacheclass.html Doc. File cache class HTML documentation with usage examples.
Plain text file filecacheclass.php Class File cache PHP class
Accessible without login Plain text file test_file_cache.php Example Example script that demonstrates how to use the class.

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:192
This week:488Down
User Ratings User Comments (1)
 All time
Its no longer working.
15 years ago (Moazam)