Re: disable caching
| From: | LIMBOURG Arnaud | Date: | Wed, 17 Oct 2001 14:39:50 +0000 |
| Subject: | Re: disable caching | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1714@lists.php.net to get a copy of this message | ||
Well, this wouldn't be good for performances and would only make smarty like
fast template ...
yeah i know, thats the caching advantage, but IMO it would be cool to
disable this storing of compiled templates, this is not good for
performance, but you would only need this in cases i described.
If you want to make a product which is totally dependend on templates,
its not nice to output something directly in php only because
the user hasnt created a directory for template storing. (in fact
the user isnt creating any directory when my setup procedure is ready)
I am dreaming of a ability of smarty, that i can throw out templates
without being forced to have a compile Dir. This way i can present
the user template based setup screens. And template based Error
screens that the users havnt the correct rights set.
i know there are other ways, but this is all a workaround.
At the end something like display("my.tpl", false) would be nice
Or $smarty->disableStoring(true)
This way smarty would directly throw out the template, w/o any
storage in the compile dir
IMO a quite useful feature.
morelogs | Marc Logemann, chief evangelist
____________________________________________________________
Rellinghauser Str. 332 · D-45136 Essen · Germany
T: +49 201 84 188-177 · F: +49 201 84 188-199
mlogemann@morelogs.de · http://www.morelogs.de
---
You are currently subscribed to smarty as: arnaud.limbourg@cegetel.fr
To unsubscribe send a blank email to $subst('Email.Unsub')
Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/