cache_ttl not working

Author Message

Dan C

Monday 04 April 2005 3:29:09 pm

Hi,

I'm trying to get a page to refrain from caching. Certain overrides I have display different information/options depending on whether a user is logged in or not. If a 'user a' logs in, and is displayed the 'extra' content(specifically tailored to user a), once he logs out and another anonymous user or guest user goes to that page, they see the 'user a's content.

I've followed the instructions here:
http://www.ez.no/ez_publish/documentation/incoming/how_to_set_cache_expire_time_or_disable_cache_in_template

But they don't seem to be working. I believe it's related to this (closed)bug here:
http://www.ez.no/community/bugs/cache_ttl_problem

I'm not aware of how to troubleshoot this or get more debug info related to it. Any help/pointing in the right direction would be greatly appreciated.

Thanks,

Dan

Dan C

Monday 04 April 2005 10:34:31 pm

My mistake... it seems I had a stray cache-block :|

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 03:21:28
Script start
Timing: Jan 19 2025 03:21:28
Module start 'layout'
Timing: Jan 19 2025 03:21:28
Module start 'content'
Timing: Jan 19 2025 03:21:30
Module end 'content'
Timing: Jan 19 2025 03:21:30
Script end

Main resources:

Total runtime1.4116 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 589.1484152.6250
Module start 'layout' 0.00840.0037 741.773439.4453
Module start 'content' 0.01211.3980 781.2188425.0234
Module end 'content' 1.41010.0014 1,206.24228.1719
Script end 1.4116  1,214.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2498160.0002
Check MTime0.00150.1044160.0001
Mysql Total
Database connection0.00160.111610.0016
Mysqli_queries1.369897.0344520.0263
Looping result0.00050.0367500.0000
Template Total1.363696.620.6818
Template load0.00210.150720.0011
Template processing1.361496.445620.6807
Template load and register function0.00010.007210.0001
states
state_id_array0.00280.198510.0028
state_identifier_array0.00160.110520.0008
Override
Cache load0.00170.1230140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.033510.0005
Fetch class attribute name0.00090.064820.0005
XML
Image XML parsing0.00010.008610.0001
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00100.0711100.0001
String conversion0.00000.000640.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs