Share » Forums » Developer » How to disable ViewCache for some...

How to disable ViewCache for some class object ?

How to disable ViewCache for some class object ?

Saturday 10 May 2008 4:40:09 am - 1 reply

Modified on Saturday 10 May 2008 4:57:45 am by Martynas Bilevičius

Author Message

André R.

Sunday 11 May 2008 6:03:36 am

Put this in the first line of your full node view template for that class:

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

The number is cache time to live(ttl) in miliseconds for view cache (view as in module view, aka the module_result.content thing you see in your pagelayout).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu