Re: caching question
| From: | Monte Ohrt | Date: | Fri, 11 May 2001 16:54:28 +0000 |
| Subject: | Re: caching question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-746@lists.php.net to get a copy of this message | ||
And as for the templates that cannot be cached, take a look at the
{insert} command, those don't get cached.
Andreas Kaiser wrote:
>
> Hi,
>
> my template strukture looks like:
>
> header.tpl
> index_l.tpl
> |_ include template_x1.tpl
> |_ include template_x2.tpl
> xyz.tpl
> index_r.tpl
> footer.tpl
>
> and in my php file:
> $smarty->display('header.tpl');
> $smarty->display('index_l.tpl');
> $smarty->display('index.tpl');
> $smarty->display('index_r.tpl');
> $smarty->display('footer.tpl');
>
> The included templates and xyz.tpl consits of dynamic content. So I
> can not cache these templates.
> So what can I do, to cache only spezial templates and the others not?
>
> (Sorry for my english ;-)
>
> THX
> Andreas
>
> --
> vocote.de e.K. Internetapplikationen, Webdesign, Webhosting
> Neudörfeler Str. 4a - D-08543 Jocketa
> Telefon: +49-37439-77175 - Fax: +49-37439-77185
> WWW: http://www.vocote.de - email:
> mailto:info@vocote.de
>
> ---
> 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/