Forums / Install & configuration / how to disable caching of operators?

how to disable caching of operators?

Author Message

Vytautas Germanavičius

Friday 30 March 2007 4:50:27 pm

Hello,

i made operator, which shows current status of another database.
Problem : template requests operator only once - first time it is called and do not updates on page reload, until i clear cache.

how to disable caching of operators?

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

Bruce Morrison

Saturday 31 March 2007 12:30:36 am

Hi

I don't think it will be the operator thats cached but the template that it's called from.

Try adding

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

to that template and see it that helps

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish