Forums / General / ViewCaching problem / Comment33741

Author Topic

Łukasz Serwatka

Monday 26 June 2006 10:58:55 pm

Comment33741

You can disable view cache for that template and warp content which should be cache around {cache-blocks}.

Example:

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

Your price

{cache-block}
    Some cached content here
{/cache-block}

First line disable view cache for template.

http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/cache_block

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog