|
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 |
Bindu Smarty n00b
Joined: 30 Apr 2012 Posts: 4
|
Posted: Mon Apr 30, 2012 3:46 pm Post subject: Smart render template issue |
|
|
I am using smarty framework. My php website with smarty framework taking too much time to load. When i checked the performance with webgrind i found smarty rendertemplate and smarty display function and fetch function taking too much time to load. It is taking more than 17 seconds to load. It making our website slow. How we can resolve this?
Please help me.. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon Apr 30, 2012 4:04 pm Post subject: |
|
|
17 seconds is far too long. Are the templates already compiled? Are you using caching? are the compile/cache files getting written to disk ok? Are there any errors in the php error log? Is your server under any extreme traffic loads? |
|
Back to top |
|
Bindu Smarty n00b
Joined: 30 Apr 2012 Posts: 4
|
Posted: Wed May 02, 2012 8:49 am Post subject: Smarty template performance issue |
|
|
The templates are already compiled and also cached, srver is not under any traffic. Then also it is taking too much time. I think it is taking too much time to work smarty-> display, smarty-> fetch functio nand also renderTemplate function |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Wed May 02, 2012 2:10 pm Post subject: |
|
|
Something is up, that is far from normal. Does a vanilla installation of Smarty do this? Can you profile your code? |
|
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
|