Re: disable caching
| From: | Hans-Peter Oeri | Date: | Sun, 14 Oct 2001 19:46:17 +0000 |
| Subject: | Re: disable caching | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1698@lists.php.net to get a copy of this message | ||
Hi!
On Sun, 14 Oct 2001, Marc Logemann wrote:
> hmmm, shared memory is not enabled in PHP by default, so even this
> would work, its not a good choice for me. The killer reason against is
> that it is not supported on Win32.
Who would use win32? *grin* I really thought about generic storage
containers this week-end and will present a suggestion rsn. We are then
free to use whatever storage we like...
> Perhaps someone can explain to me in detail why the templates are stored on
> disk. Is there another reason than caching? I mean, lets suppose
Because they are only compiled ONCE and then stored. The next calls
don't compile the templates again. That's one BIG advantage of smarty!
> Of course and i could go the easy way, in just presenting the first
> setup screens without using templates, but this feels a little bit
> uncool :)
You don't have to display anything but an error in case the right are not
given. If everything is ok, you can go with smarty right away! This really
is three or four lines on top of the first script...
> I just wanna ask if an effort (by myslelf) like using smarty without
> compile dir is (a) possible at all in a normal timeframe (b) useful
> for others?
Depending on what a "normal" timeframe is ;) It's surely not worth
patching some other support in (IMHO), but the generic approach would be
nice (and clean)!
Don't conform!
IkKampfCaspar75