Re: [SMARTY-GENERAL] Smarty 2.0.1 caching issue
| From: | Jason Sweat | Date: | Fri, 05 Apr 2002 18:49:53 +0000 |
| Subject: | Re: [SMARTY-GENERAL] Smarty 2.0.1 caching issue | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3524@lists.php.net to get a copy of this message | ||
Tried
$t->compile_check = true;
in the script with no effect on the below senarios.
I am also confused that my explicit call to
$t->clear_cache($tpl);
did not work. Any way this could be permissions
related?
--- Monte Ohrt <monte@ispi.net> wrote:
> If you have compile_check set to true, it should
> recompile & clear
> involved caches when a template gets updated.
>
> Jason Sweat wrote:
> > I have an application that I recently upgraded to
> > smarty 2.0.1 and I appear to have a cacheing
> issue.
...
> > I use this under a couple of senarios
> >
> > a) When I hit the page normally, it uses the
> cached
> > content as expected
> > a) When I change the template, it takes a long
> time
> > (compiling + running queries?), then uses the
> cached
> > content generated with the prior template.
> > b) When I change set the $my_clear_var true, it
> does
> > print the debug message, runs the expensive query,
> but
> > it still uses the cached content
> > c) When I delete everything in the cache directory
> by
> > hand gives me updated content
> >
> >
> >
> > I saw some other cache problems recently on the
> list,
> > but they did not appear to be related.
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/