Free Software Foundation!

Join now

Browse wiki

This entry published by the Free Software Foundation.

CacheIt
Computer languages PHP  +
Full description CacheIt is a PHP class to facilitate cachi 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. occasionally and delete the oldest files.
Homepage URL http://www.andrewsw.com/wiki/moin.cgi/CacheIt  +
Interface command-line  +
Is GNU false  +
Keywords php  + , cache  + , Cachable  +
Last review by Janet Casey +
Last review date 19 February 2003  +
License LGPL +
License verified by Janet Casey  +
License verified date 19 February 2003  +
Name CacheIt  +
Real name Andrew Chen  +
Related projects Squid + , SmartCache + , CGI Cache + , Turck MMCache + , Foocache + , PhpCache +
Resource URL mailto:cacheit@andrewsw.com  +
Resource audience Bug Tracking  + , Developer  + , Support  +
Resource kind E-mail  +
Revisionid 6,803  +
Revisiontimestamp 12 April 2011 15:23:53  +
Revisionuser WikiSysop +
Role Maintainer  +
Short description PHP class to facilitate caching  +
Submitted by Database conversion +
Submitted date 1 April 2011  +
System-administration backup  +
Use system-administration  +
User level none  +
Version comment 2003-02-11 stable released 2003-02-11
Version date 11 February 2003  +
Version download http://www.andrewsw.com/text/CacheIt.class.inc.txt  +
Version identifier 2003-02-11  +
Version status stable  +
Modification dateThis property is a special property in this wiki. 25 May 2012 02:44:00  +
Page has default formThis property is a special property in this wiki. Entry  +
EmailThis property is a special property in this wiki. cacheit@andrewsw.com  +
hide properties that link here 
CacheIt#3 + License of
CacheIt#1 + Person of
CGI Cache + , Foocache + , PhpCache + , SmartCache + , Squid + , Turck MMCache + Related projects
CacheIt#2 + Resource of
 

 

Enter the name of the page to start browsing from.

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

The copyright and license notices on this page only apply to the text on this page. Any software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.


The FSF is a charity with a worldwide mission to advance software freedom — learn about our history and work.

Copyright © 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.

Licensed under the GNU Free Documentation License, version 1.3 or later.

The FSF also has sister organizations in France, Latin America, Europe and India.

Powered by MediaWiki and Semantic MediaWiki

Toolbox