static cache - generate sibling node

Author Message

stephane couzinier

Friday 23 February 2007 6:36:41 am

I need to find a way to generate the sibling nodes of an object.
In 1 folder I have 3 articles, on each article I put:
- 2 links next and previous news.
- the position of the news
- On the first news I have only 1 link Next news
- On the last there is only the link Previous news.

When I create a news, the position of all news change so I need to generate the static cache for each article.

If somebody have an idea?

don't flush the cache

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 30 2025 22:22:36
Script start
Timing: Jan 30 2025 22:22:36
Module start 'layout'
Timing: Jan 30 2025 22:22:36
Module start 'content'
Timing: Jan 30 2025 22:22:36
Module end 'content'
Timing: Jan 30 2025 22:22:36
Script end

Main resources:

Total runtime0.0246 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.2578151.2266
Module start 'layout' 0.00570.0035 739.4844220.7188
Module start 'content' 0.00920.0140 960.2031993.7266
Module end 'content' 0.02310.0014 1,953.929729.9922
Script end 0.0246  1,983.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002811.2351140.0002
Check MTime0.00104.2442140.0001
Mysql Total
Database connection0.00072.784310.0007
Mysqli_queries0.002610.579130.0009
Looping result0.00000.044510.0000
Template Total0.00104.210.0010
Template load0.00083.112310.0008
Template processing0.00031.059410.0003
Override
Cache load0.00052.199010.0005
General
dbfile0.00208.301780.0003
String conversion0.00000.029040.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