Tuesday 11 May 2004 8:52:10 pm
I am using 3.3-4 and in my pagelayout.tpl files I have used the following cache blocks: {cache-block keys=array('my_cache_block_2',$uri_string,$current_user.role_id_list|implode(',')) expiry=86400}
Which have helped speed the site a good deal. But I have several templates that used ezmatrix datatypes and I can not allow caching on those or they stop working. I have tried adding both {set-block scope=root variable=cache_ttl}0{/set-block}
and even {cache-block expiry=0}
code
{/cache-block}
to the attribute tpl for matrix rows and even to the edit.tpl but they still get cached. :( Also worth noting is that if I edit from the admin area everything works fine. Can anyone shed any light as to why this happens?
www.dbinformatics.com.au
We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.
|