|
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 |
md7 Smarty n00b
Joined: 02 Jun 2003 Posts: 1 Location: Vilnius, Lithuania
|
Posted: Mon Jun 02, 2003 3:27 pm Post subject: compiled tpls: how to disable this feature? |
|
|
why this feature need?
how to disable this?
I wish, that smarty not save compiled templates. In config file i not found var to disable this. |
|
Back to top |
|
sweatje Smarty Regular
Joined: 17 Apr 2003 Posts: 70 Location: Bettendorf, Iowa, USA
|
Posted: Mon Jun 02, 2003 4:18 pm Post subject: |
|
|
Because compiling the templates is the most expensive operation. If you do not save the compiled template, then you are forced to re-evaluate the entire template and re-parse with every page hit. This would be pointless, since your templates change very rarly compared with the frequency of use. _________________ Jason
jsweat_php AT yahoo DOT com |
|
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
|