Re: Re: [SMARTY] Cache best practices
| From: | pt2002 | Date: | Mon, 07 Apr 2003 15:53:33 +0000 |
| Subject: | Re: Re: [SMARTY] Cache best practices | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9171@lists.php.net to get a copy of this message | ||
Hi,
thank you and sorry. I was using a 'webmail'...
Best regards
Rui
"Wom.Bat" <wom.bat@gmx.net> escreveu na mensagem
news:002d01c2fd1b$e89a5d10$0201a8c0@WOMBAT...
> > Hello,
> >
> > thank you for you answer. I think it very interesting the outputfilter
> > idea.
> >
> > But, in the firts case, if the template couldn´t really be cached is the
> > suggestion I made
> >
> > $smarty->display("header.tpl")
> > $smarty->cache = false;
> > $smarty->display("left.tpl")
> > $smarty->cache = true;
> > $smarty->display("center.tpl")
> > ....
> > ....
> >
> > correct ?
>
> yep, right :) but you should do a
> $smarty->cache = true;
> before the header inclusion
> by the way: don't forget to add the mailing list adress for "cc" the next
> time you reply to a message ;)
>
> Regards,
> David
>
>