Top > All Packages in Directory > CacheIt

CacheIt - PHP class to facilitate caching

CacheIt is a PHP class to facilitate caching. You subclass Cachable and implement the get method of Cachable, and you instantiate it as well as instantiate CacheIt with arguments of the instance of your subclass of Cachable. Then both the path (ending in a trailing slash) to the directory that cached data will be kept, and the number of seconds that a cached entry can be kept before expiring. Then, just call the get method of the instance of CacheIt and caching happens automatically.

CacheIt doesn't do LRU--if you're concerned about the cache directory getting too large, have a cron job scan it occasionally and delete the oldest files.



Obtaining

Web pagehttp://www.andrewsw.com/wiki/moin.cgi/CacheIt
Source tarballhttp://www.andrewsw.com/text/CacheIt.class.inc.txt
Version 2003-02-11 (stable) released on 2003-02-11
Licensed under LGPL.
This is not a GNU package.

Support contacts

Help List<[email protected]>
Developer List<[email protected]>
Bug List<[email protected]>

Project contacts

Maintainers
Developers

Related information

Interfacescommand line
Source languagesPHP
Related programsSquid, SmartCache, CGI::Cache, Turck MMCache

Entry information

License verified byJanet Casey <[email protected]> on 2003-02-19
Entry compiled byJanet Casey <[email protected]>

Categories



The copyright licensing notice below applies to this text. The software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Copyright © 2000, 2001, 2002, 2003 Free Software Foundation, Inc.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of this license is included in the file COPYING.DOC.

Please report any problems in this page to [email protected], or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.