Skip to the content
Documentation

No reaction using this

No ratings yet

Hi!
I've set up EZ Publish with the ezflow-extention, but i need some parts of the templates to not be cached. Using this doesnt give any results.
Are there any other ways to disable cache for a section of a template? like {dont-cache} somecode {/dont-cache}
I tried putting:
{set-block scope=root variable=cache_ttl}0{/set-block}
On the very top of event_view_calendar_tpl for instance. But it still caches the template. Is there any pitfalls on this topic?
Thanks!
John

Comments (2 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: No reaction using this

    Luc ·

    Check any template that calls event_view_calendar.tpl for their own set-block.

  2. Re: No reaction using this

    André R. ·

    Always use:
    {set-block scope=global variable=cache_ttl}0{/set-block}
    When you want to disable view cache.
    But this has no effect for cache-blocks.