Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

trun off caching

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
ptonev
Smarty Rookie


Joined: 21 Apr 2003
Posts: 13
Location: Bulgaria, Sofia

PostPosted: Mon Apr 21, 2003 11:06 am    Post subject: trun off caching Reply with quote

hi,

I want to trun off caching (total). Don't want to have template_c.

This is a possible Question
Back to top
View user's profile Send private message Visit poster's website
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Mon Apr 21, 2003 11:12 am    Post subject: Reply with quote

in short: no. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ptonev
Smarty Rookie


Joined: 21 Apr 2003
Posts: 13
Location: Bulgaria, Sofia

PostPosted: Mon Apr 21, 2003 11:25 am    Post subject: Re: trun off caching Reply with quote

messju wrote:
in short: no. Smile


bad, this is a very bad....

I look that Smarty have very weakness.
Can't trun off caching, don't have multi template folders...
_________________
dev@ptonev.com
www.ptonev.com
Back to top
View user's profile Send private message Visit poster's website
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Mon Apr 21, 2003 11:44 am    Post subject: Re: trun off caching Reply with quote

ptonev wrote:

bad, this is a very bad....

I look that Smarty have very weakness.
Can't trun off caching, don't have multi template folders...


the thing around templates_c is called "compiling" and has not much to do with caching and it is one of smarty's main strengths and not a weekness.

you can have as many template-folders as you want. just put them in in your templates-directory as subfolders, or use full paths for your template: {include file="file:/home/somewhere/foo/bar.tpl"}

if you mean multiple template-folders as a search-path where smarty takes the first template with a matching name, this can be achieved via ressources. (see: the discussion at http://www.phpinsider.com/smarty-forum/viewtopic.php?t=5 a solution is offered there). this is another of smarty's strenghts: extensibility via plugins. a lot of thigs can be left out of smarty's core and put in a plugin. so only users who need feature x have this loaded (often transparently) and all others, who don't need it, don't have to cope with it.

but as always: YMMV.

greetings
messju
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup 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