caching all but parts of the template
| From: | Rainer Collet | Date: | Sun, 25 Aug 2002 11:07:03 +0000 |
| Subject: | caching all but parts of the template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5824@lists.php.net to get a copy of this message | ||
hi all!
i am very interested in having a smarty feature to exclude some parts of a
template from caching, because insert-functions are very weak i think. what
should i do, if i want to exclude an if-statment? something like
{nocache}...{/nocache} would be very nice. i already tried to imlement it on
my own through a block-function plugin, but block-functions are cached as
well :-(
i saw this feature on the todo-list of smarty. but can anyone tell me what
priority it has? i need it very quickly. perhaps i can implement it on my
own by patching smarty, but i have no idea where to start.
smarty source-code is very bad documented i think, so its hard to hack in
;-) what do you think about using phpDocumentor (http://www.phpdoc.org) for
documenting smarty source? then it would be much easier to understand it and
it would give me the possibility to do the nocache-job on my on in an
acceptable time.
thanks,
rainer