Simple class extending CDI's Fastemplate Class (www.thewebmasters.net).
Implements methods to cache pages created from documents, allowing
different pages to have assigned different cache lifetimes.
GPL'ed code (see www.fsf.org)
It requires the FastTemplate package.
[UPDATE 2000-06-07] Modified the logic to decide the validity of a cached file
(thanks to Aaron Bush <email@example.com> for some of the code and for suggestions),
and also changed the logic for the cached lifetime, allowing the use of seconds/minutes/hours/days as
units of time, which should give some more flexibility on deciding caching on
a per-file basis. The example (test.php) has been changed to reflect the changes in the
cache validation logic.
[Note] See also the Generalized CachedTemplate class that is an enhancement of this one. I will discontinue development of the class here in favor of the more generalized class approach.
||Not yet rated by the users
||Applications that use this class
No application links were specified for this class.
If you know an application of this package, send a message to the author
to add a link here.
||The FastTemplate class package of which this class is a simple extension -- JMC
||A class I wrote based on the ideas of this one. It support several template classes and contains some enhancements
|IconGarden's cache class
||A general file caching class by Jacob Stetser that I found it after I submitted mine -- JMC