Forums / Developer / Cache block optimization

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 ! ;)