Forums / Extensions / eZ Flow / Flow cache?
Pål Messenlien
Thursday 08 May 2008 1:35:06 am
I have trouble getting blocks to update dynamic content. On this page:http://www.hundrearsmalene.no/100aar/ForumWe have some polls who needs to be updated with the amount from each poll in a block. Tried to turn off cache with {set-block scope=root variable=cache_ttl}0{/set-block} in both the view template and the block template. Also tried to setup Smart viewcache rules, but nothing seems to work. Only way to update the content is to re edit the flow page and publish it again. This is also a problem with other blocks with news. How should we handle cache in flow pages?
-------------------------------------------- Høgskolen i Lillehammer Lillehammer University College http://www.hil.no -------------------------------------------- Messenlien IT http://messenlien.com -------------------------------------------
André R.
Sunday 11 May 2008 6:05:11 am
Tried scope=global?
{set-block scope=global variable=cache_ttl}86400{/set-block}
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
Tuesday 13 May 2008 2:56:13 pm
Thanks Andre! That worked!. I put it inside the block template. Not sure how much this will pull down the speed of the pages? The polls / surveys on these pages will be used quite heavy in the future.
Tuesday 27 May 2008 11:29:24 am
It worked.. .but it slowed down the webpage alot so we had to remove it.