PHP Classes

CachedFastTemplate: Simple class extending CDI's Fastemplate Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2000-06-07 (14 years ago) RSS 2.0 feedStarStarStar 40%Total: 5,802 All time: 376 This week: 1,338Down
Version License Categories  
cachedfasttemplate 1.0GNU General Publi...HTML, Cache, Templates
Description Author  

Simple class extending CDI's Fastemplate Class (
Implements methods to cache pages created from documents, allowing
different pages to have assigned different cache lifetimes.
GPL'ed code (see
It requires the FastTemplate package.

[UPDATE 2000-06-07] Modified the logic to decide the validity of a cached file

(thanks to Aaron Bush <> 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.

Picture of Jesus M. Castagnetto
Name: Jesus M. Castagnetto <contact>
Classes: 4 packages by
Country: ???
Age: ???
All time rank: 186
Week rank: 1701 Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.CachedFastTemplate.php ??? Class allowing caching of Fastemplate based pages
Accessible without login Plain text file test.php ??? Simple script showing the use of the CachedFastTemplate class

 Version Control Unique User Downloads Download Rankings  
 0%Total:5,802All time:376
 This week:0This week:1,338Down
User Ratings User Comments (2)  
 All time
2 years ago (nikesh)
5 years ago (kishore kumar)