Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

compiled tpls: how to disable this feature?

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
md7
Smarty n00b


Joined: 02 Jun 2003
Posts: 1
Location: Vilnius, Lithuania

PostPosted: Mon Jun 02, 2003 3:27 pm    Post subject: compiled tpls: how to disable this feature? Reply with quote

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
View user's profile Send private message Send e-mail
sweatje
Smarty Regular


Joined: 17 Apr 2003
Posts: 70
Location: Bettendorf, Iowa, USA

PostPosted: Mon Jun 02, 2003 4:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP