|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
cola Smarty n00b
Joined: 18 Jul 2003 Posts: 1
|
Posted: Fri Jul 18, 2003 12:25 pm Post subject: Smarty lite cache sub class |
|
|
I think it was very useful. For example this code:
[php:1:b26e06a739]<?php
$smarty->new LiteSmarty();
if(!$smarty->is_cached(mytpl_file)){
//require normall smarty extend class
//do assign and other stuff
}
$smarty->display(mytpl_file);
?>[/php:1:b26e06a739]
Or something like this.
Main idea: not load all smarty if using caching system. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|