smarty 更改了代码$this->_plugins['block'][$tag_command] = array($plugin_func, null, null, null, true); 替换为
if($tag_command == 'cacheless'){
$this->_plugins['block'][$tag_command] = array($plugin_func, null, null, null, false);
} else {
$this->_plugins['block'][$tag_command] = array($plugin_func, null, null, null, true);
}实现了局部缓存
在实际使用过程中效果非常不错,但有一问题 只要页面上加了<{cacheless}><{、cacheless}> 那么网页最上门就会多空出一行,非常难看,没加之前是顶着网页头的。网页编码UTF-8的,网页内容DIV table都不行不清楚这是SMARTY的bug还是函数出错,有成功解决了这个Bug的指点!