how to exclude eZPrice template from caching

Author Message

Pascal Specht

Wednesday 09 July 2008 8:38:05 am

Hi!

I'd like to make sure that prices will always be recalculated on each rendering, so I tried to add the famous

{set-block scope=root variable=cache_ttl}0{/set-block}

at the beginning of <b>ezprice.tpl</b>. Unfortunately this does not work, it seems that eZ Publish keeps on caching the prices. I'm not sure if there's a way of doing what I want with eZ Publish 3.9.3?

Thanks in advance,
</Pascal>

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 19:19:34
Script start
Timing: Jan 18 2025 19:19:34
Module start 'layout'
Timing: Jan 18 2025 19:19:34
Module start 'content'
Timing: Jan 18 2025 19:19:35
Module end 'content'
Timing: Jan 18 2025 19:19:35
Script end

Main resources:

Total runtime0.7452 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.4766152.6406
Module start 'layout' 0.00630.0044 742.117239.4766
Module start 'content' 0.01070.7329 781.5938435.5547
Module end 'content' 0.74360.0015 1,217.14848.2813
Script end 0.7451  1,225.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4702160.0002
Check MTime0.00150.2043160.0001
Mysql Total
Database connection0.00100.139710.0010
Mysqli_queries0.701594.1416460.0153
Looping result0.00040.0562440.0000
Template Total0.708795.120.3544
Template load0.00230.311120.0012
Template processing0.706494.798920.3532
Template load and register function0.00010.016610.0001
states
state_id_array0.00280.369510.0028
state_identifier_array0.00150.206120.0008
Override
Cache load0.00190.2543100.0002
Sytem overhead
Fetch class attribute can translate value0.00080.113110.0008
Fetch class attribute name0.00080.110220.0004
XML
Image XML parsing0.00090.120410.0009
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00100.1368160.0001
String conversion0.00000.001240.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs