Identify extension for cache-block?

Author Message

Nicklas Lundgren

Thursday 11 December 2003 4:04:27 am

Hi all,
I have a question regarding cache-block.
When trying to cache pages generated by an extension, I realize that there is no $module_result-array to use for identification of the block.

Has anybody got any ideas about what to use instead? Somehow I must find out what makes the extension unique. Could I get the url from some variable, for instance?

Any help greatly appreciated.

Regards,
Nicklas Lundgren

Björn Dieding@xrow.de

Thursday 11 December 2003 10:12:23 am

well ...

did you check the contents of $module (I think) in the php code

you can try to use one of this contents and make it avialable in the template

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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 19 2025 00:11:48
Script start
Timing: Jan 19 2025 00:11:48
Module start 'layout'
Timing: Jan 19 2025 00:11:48
Module start 'content'
Timing: Jan 19 2025 00:11:49
Module end 'content'
Timing: Jan 19 2025 00:11:49
Script end

Main resources:

Total runtime1.1897 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.9219152.6250
Module start 'layout' 0.00680.0042 740.546939.4609
Module start 'content' 0.01091.1772 780.0078521.6016
Module end 'content' 1.18810.0016 1,301.60948.1563
Script end 1.1897  1,309.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2963160.0002
Check MTime0.00130.1134160.0001
Mysql Total
Database connection0.00150.127810.0015
Mysqli_queries1.143196.0788540.0212
Looping result0.00060.0496520.0000
Template Total1.153697.020.5768
Template load0.00220.186820.0011
Template processing1.151396.771720.5757
Template load and register function0.00020.013310.0002
states
state_id_array0.00120.102810.0012
state_identifier_array0.00260.218520.0013
Override
Cache load0.00180.1475150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.050620.0003
Fetch class attribute name0.00110.091630.0004
XML
Image XML parsing0.00070.062220.0004
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00150.1246160.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs