Forums / Developer / Cache block optimization

Cache block optimization

Author Message

Antoine W.

Wednesday 10 August 2005 6:51:36 am

Hello everybody,
I'm trying to optimize my pagelayout with cache-blocks, and I have a few questions :
* Is it possible to set a cache block with more than one path for subtree_expiry ?
Something like :

{cache-block subtree_expiry=array('products/','services/')}
...
{/cache-block}

* Is it possible to set a cache block to expire only when specified classes will be published/deleted/updated ?
Something like :

{cache-block class_identifier_expiry=array('product','service')}
...
{/cache-block}

Thanks ! ;)