Author Topic

Quoc Huy Nguyen Dinh

Wednesday 13 April 2011 8:46:27 am

Comment67347

From your Source=node/view/line.tpl I guess you are using {node_view_gui...} to load the line.tpl file inside a full view tpl file (override/template/full/myclass.tpl for example). In that case {set-block scope=root variable=cache_ttl}0{/set-block} won't work as the output of line.tpl is cached inside the cache of {myclass.tpl}

Add it to the calling tpl file as well, or use Ajax (jquery/yui) to fetch the numbers and still benefit of the view caching.