Re: Smarty compiling & caching issues - possible solution

From: Date: Mon, 08 Oct 2001 07:24:10 +0000
Subject: Re: Smarty compiling & caching issues - possible solution
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1626@lists.php.net to get a copy of this message
Hi, Monte Ohrt wrote:
The CONS: Anyone who currently has caching on and compile_check on will no longer benefit from caching, the behavior CHANGED.
This is a *very big* con. I want my sites to benefit from caching, but if the user changes his templates (I have a webbased system where users can do that), I want the change to be reflected immediately. Your proposed change means that I can no longer use caching. Viewed from a functionality standpoint, it's very illogical to have it this way. Ok, force_compile could and should disable caching. But to have even compile_check disable caching seems illogical. It would be more logical to clear the cache once compile_check indicates that the template needs to be recompiled. If no recompilation is necessary, then why should I not be able to use the cache? Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

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