|
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 |
atu Smarty Regular
Joined: 18 Apr 2003 Posts: 51 Location: Luxembourg
|
Posted: Tue Aug 26, 2003 7:05 pm Post subject: fetch() vs. display() |
|
|
Hi,
Is it normal that :
$output = $smarty->fetch() ;
echo $output;
is faster than :
$smarty->display()
???
I'am using 2.6.0 rc1 |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Tue Aug 26, 2003 7:27 pm Post subject: |
|
|
In general, display is supposed to be faster, since display uses output buffering while fetch does not. Of course, output buffering may already be turned on in your php.ini. I don't know if that would have an additional impact or not, though. |
|
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
|