CachedFastTemplate 1.0
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. It requires the FastTemplate package.
[UPDATE 2000-06-07] Modified the logic to decide the validity of a cached file:
(thanks to Aaron Bush <abush@microcenter.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.
More popular Cache
- Class Cache 1.0 (7 years, 7 months 20 days ago)
- Files folder image SharedMemory 1.0 (2 years, 4 months 27 days ago)
- sqlCache API Library 1.0 (2 years, 4 months 27 days ago)
- File Cache 1.0 (4 years, 2 months 11 days ago)
- PHP-Cache 1.0 (1 year, 4 months 23 days ago)
Listing Files

class.CachedFastTemplate.php- 4.9 KB
- 09/26/2008 05:46:45

test.php- 1.5 KB
- 09/26/2008 05:46:45
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
