Disabling caching from inside the template
| From: | Ivo Jansch | Date: | Fri, 29 Mar 2002 10:42:48 +0000 |
| Subject: | Disabling caching from inside the template | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3398@lists.php.net to get a copy of this message | ||
Hello,
is it possible to prevent a page from being cached from inside a tag handler? Suppose I have a tag {showstuff}. Depending on some parameters and some stuff in the database, the output by showstuff is either dynamic or cachable. Is it possible to call some smarty function that does something like 'hey Smarty, when you're finished rendering this page, don't cache it!' ?
Greetings,
Ivo
--
Ivo Jansch <ivo@ibuildings.nl>
ibuildings.nl BV - information technology
http://www.ibuildings.nl