Re: disable caching

From: Date: Fri, 12 Oct 2001 13:29:04 +0000
Subject: Re: disable caching
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1688@lists.php.net to get a copy of this message
I experimented using shared memory with Smarty once. I found this to be a big pain and no help from the php mailing list, so I gave it up. If you want to use shared memory, let the OS take care of it. Save your scripts into /tmp/, I believe Solaris and Linux use shared memory for this directory, and it should be world writable. Hans-Peter Oeri wrote: > > Hi! > > On Fri, 12 Oct 2001, Marc Logemann wrote: > > > > i didnt have a smarty compile dir. > > > Now it would be extremly cool to disable caching for some screens, and > > > enable > > > it, in the moment where i am sure that a compile dir created by setup. > > In the current situation, smarty does only support different storage > containers for source templates and whole depends on files for compiled > templates. > > While it should theoretically be possible to rewrite the engine to use > eval and some sort of definable storage container for compiled templates. > Actually, quite an interesting project, too. ( We would loose, however, > the possibility to apc/zend-cache the resulting file!) > > For the moment, you should probably start with a little test-script that > just aborts with an error message, if rights are not given. The error > message itself does not have to depend on smarty. > > Don't conform! > IkKampfCaspar75 > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.smarty.general (#1688) next »