Re: disable caching

From: Date: Fri, 12 Oct 2001 11:28:13 +0000
Subject: Re: disable caching
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1684@lists.php.net to get a copy of this message
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

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