Re: semi dynamic contents
| From: | Linus McCabe | Date: | Fri, 16 Nov 2001 18:22:38 +0000 |
| Subject: | Re: semi dynamic contents | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1929@lists.php.net to get a copy of this message | ||
Of course you're right!
After some debugging I realized caching was never turned on although I thought it was.
thanks
/Linus
Monte Ohrt wrote:
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/ --- You are currently subscribed to smarty as: linus@mccabe.nu To unsubscribe send a blank email to $subst('Email.Unsub') Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/