Login   Register  
PHP Classes
elePHPant
Icontem

File cache class

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

  Author  
Picture of Manuel Lemos
Name: Manuel Lemos <e-mail contact>
Packages: 32 Browse all classes by Manuel Lemos Browse all classes by
Country: Portugal Portugal - PHP jobs in Portugal
Age: 44
All time rank: 1
Week rank: 3 Down1 in Portugal Portugal Equal


  Detailed description   Download .zip .tar.gz  
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..

  Classes of Manuel Lemos  >  File cache class  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: File cache class
Base name: filecache
Description: Cache arbitrary data in files.
Version: -
PHP version: -
License: BSD License
All time users: 8098 users
All time rank: 173
Week users: 5 users
Week rank: 539 Down
 
  Groups   Freshmeat project   Rate classes User ratings  
  Dependents   Applications   Related links   Files Files  

  Groups  
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes


  Freshmeat project  
Project record: filecacheclass
Popularity score: 81.82
Vitality score: 4.17

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (86.5%)
Sufficient (75.0%)
Sufficient (71.2%)
Sufficient (66.7%)
-
-
Sufficient (64.6%)
500
Month:
Not yet rated by the users

  Packages that need this class  
Class Dependency Why it is needed
Freshmeat project query class
Conditional
If it is used the cached Freshmeat project records query support, this class can avoid the overhead of processing previously queried projects
Secure HTML parser and filter
Conditional
It is necessary to manage parsed DTD cache files

  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.

  Related links  
Link Description
MetaL project The code and the documentation of this class were written in the MetaL meta-programming language.

  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.

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