Re: semi dynamic contents
| From: | Monte Ohrt | Date: | Thu, 15 Nov 2001 21:13:21 +0000 |
| Subject: | Re: semi dynamic contents | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1920@lists.php.net to get a copy of this message | ||
caching will cache the output of your template contents, so it should
work as expected.
Linus McCabe wrote:
>
> I'm new and all, so Hi everybody!
>
> I've been using smarty for a limited amount of time and I wonder if
> there is a way to do semi-dynamic contents;
>
> Ie, on every page on my site I display a category list on the side thats
> taken out of a database. The categories change very seldom, so I would
> like them to be staticly generated rather than fetched from the db on
> every pagerefresh.
>
> afaik from the docs and generated files, the cache only converts the
> template to php and does no data caching?
>
> Thanks
>
> /Linus
>
> ---
> 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/