|
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 |
alouty Smarty Rookie
Joined: 07 Sep 2012 Posts: 8
|
Posted: Mon Oct 08, 2012 3:16 pm Post subject: Multiple calling same smarty var slow down website? |
|
|
If I calling same smarty var multiple time on same page will it slow down my website?
Let say I call {stats type='job views' period='months' employer=$GLOBALS.current_user.username} many times, using on flot charts multiple time and the output is arrays. I have many smarty var with different conditions.
<script type="text/javascript">
{stats type='job views' period='months' employer=$GLOBALS.current_user.username}
{stats type='regular jobs' period='months' employer=$GLOBALS.current_user.username}
{stats type='featured jobs' period='months' employer=$GLOBALS.current_user.username}
{stats type='priority jobs' period='months' employer=$GLOBALS.current_user.username}
{stats type='standout jobs' period='months' employer=$GLOBALS.current_user.username}
{stats type='applications' period='months' employer=$GLOBALS.current_user.username}
{stats type='job views' period='years' employer=$GLOBALS.current_user.username}
{stats type='regular jobs' period='years' employer=$GLOBALS.current_user.username}
{stats type='featured jobs' period='years' employer=$GLOBALS.current_user.username}
{stats type='priority jobs' period='years' employer=$GLOBALS.current_user.username}
{stats type='standout jobs' period='years' employer=$GLOBALS.current_user.username}
{stats type='applications' period='years' employer=$GLOBALS.current_user.username}
{stats type='job views' period='days' employer=$GLOBALS.current_user.username}
{stats type='regular jobs' period='days' employer=$GLOBALS.current_user.username}
{stats type='featured jobs' period='days' employer=$GLOBALS.current_user.username}
{stats type='priority jobs' period='days' employer=$GLOBALS.current_user.username}
{stats type='standout jobs' period='days' employer=$GLOBALS.current_user.username}
{stats type='applications' period='days' employer=$GLOBALS.current_user.username}
{sum_stats type='job views' period='months' employer=$GLOBALS.current_user.username}
</script> |
|
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
|