eZ Community » Forums » Extensions » eZ Flow » Flow cache?
expandshrink

Flow cache?

Flow cache?

Thursday 08 May 2008 10:35:06 am - 3 replies

I have trouble getting blocks to update dynamic content.
On this page:http://www.hundrearsmalene.no/100aar/Forum
We 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?

Sunday 11 May 2008 3:05:11 pm

Tried scope=global?

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

Tuesday 13 May 2008 11: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 8:29:24 pm

It worked.. .but it slowed down the webpage alot so we had to remove it.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from