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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:21:26
Script start
Timing: Jan 18 2025 22:21:26
Module start 'layout'
Timing: Jan 18 2025 22:21:26
Module start 'content'
Timing: Jan 18 2025 22:21:26
Module end 'content'
Timing: Jan 18 2025 22:21:26
Script end

Main resources:

Total runtime0.0133 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.0313152.6250
Module start 'layout' 0.00490.0024 741.656339.4453
Module start 'content' 0.00730.0043 781.101685.3359
Module end 'content' 0.01160.0017 866.437530.3047
Script end 0.0132  896.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002116.1569140.0002
Check MTime0.00097.1327140.0001
Mysql Total
Database connection0.00075.257410.0007
Mysqli_queries0.002417.850730.0008
Looping result0.00000.113310.0000
Template Total0.001410.610.0014
Template load0.00075.142310.0007
Template processing0.00075.399410.0007
Override
Cache load0.00053.529510.0005
General
dbfile0.00031.940180.0000
String conversion0.00000.059340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs