Caching parts of a page
| From: | MishY | Date: | Mon, 22 Apr 2002 19:43:37 +0000 |
| Subject: | Caching parts of a page | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3839@lists.php.net to get a copy of this message | ||
Hey,
I have Smarty working great apart from this one problem :
I have a poll on the site I'm working on, and with caching turned on in
Smarty the poll is obviously cached.
Is there a way to not cache the poll specifically, and still cache the rest
of the page.
I have read this :
http://www.phpinsider.com/php/code/Smarty/docs/language.function.insert.html
But because I did not write the poll script I'm not familiar with which
function does what exactly and what I would need to pass to the function in
that insert command.
So is there a way of seperating cached, and not-to-be cached items from the
template ?
Thanks :-)