Forums / General / ViewCaching / Comment32626

Author Topic

Paul Forsyth

Thursday 15 December 2005 3:34:58 am

Comment32626

You could try turning off view caching in that template and then use cache blocks. That might work.

So put:

{set-block scope=global variable=cache_ttl}0{/set-block}

at the top.

But use {cache-block} to wrap everything else apart from your dynamic bit.

Another method which isnt as useful but might work for you is to put a timeout in the cache-block:

{set-block scope=global variable=cache_ttl}60{/set-block}

Which will expire every minute. Not sure if this helps though.

Paul