serious bug? insert tags are cached???

From: Date: Thu, 15 Aug 2002 13:40:48 +0000
Subject: serious bug? insert tags are cached???
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5727@lists.php.net to get a copy of this message
hi all, i played a little bit with insert tags and caching, and wondered, that insert tags seem to be cached. i tried it in the default Smarty 2.3.0 distribution and saw it worked. so i searched for the difference between smarty 2.3.0 and my Framework using an unmodified smarty 2.3.0. in the framework i extended smarty with custom template functions via plugins which call $smarty->display itself. that seems to be the reason why insert tags in cached pages are cached nevertheless. if such a template function is before the insert tag, the insert tag becomes cached. if such a function is after the insert tag, its quite more serious, because then the first call to the template works, but afterwards (when the template is cached) instead of the output of the insert tag you see something like hat: f8d698aea36fcbead2b9d5359ffca76f{insert_cache a:2:{s:4:"name";s:4:"TEST";s:3:"xyz";s:7:"INSERT2";}}f8d698aea36fcbead2b9d53 59ffca76f can anybody countersign this? i think it could be a bug. or did i anything wrong? thanks, rainer

« previous php.smarty.general (#5727) next »