expiration of cache of a folder template

Author Message

Massimiliano Bariola

Tuesday 08 November 2005 5:54:12 am

Hi all.

I have an override template for a folder object. this override just shows info about the contained objects.

I had put on it my version of google.tpl pager, set to appear when the number of objects contained in the folder is above 10.
After adding some objects above 10 in number, I discovered that the pager is not displayed until I disable the cache, so it seems to be a cache issue.

As this object is not modified / republished while the number of contained objects is, how can I ensure that contents are properly displayed / paged ?

About cache expiry: Shouldn't all caches expire after 2 hours? do I have to do anything specific (i.e. enabling eZ cronjobs) to have this functionality?

thanks in advance!

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 20 2025 17:23:42
Script start
Timing: Jan 20 2025 17:23:42
Module start 'layout'
Timing: Jan 20 2025 17:23:42
Module start 'content'
Timing: Jan 20 2025 17:23:43
Module end 'content'
Timing: Jan 20 2025 17:23:43
Script end

Main resources:

Total runtime0.8444 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.0058 593.8359151.2266
Module start 'layout' 0.00580.0032 745.062536.6797
Module start 'content' 0.00900.8345 781.7422459.5313
Module end 'content' 0.84340.0009 1,241.27347.8125
Script end 0.8443  1,249.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3671160.0002
Check MTime0.00130.1541160.0001
Mysql Total
Database connection0.00100.113510.0010
Mysqli_queries0.809395.8412460.0176
Looping result0.00050.0536440.0000
Template Total0.810696.020.4053
Template load0.00200.235320.0010
Template processing0.808695.760920.4043
Template load and register function0.00010.012810.0001
states
state_id_array0.00140.169810.0014
state_identifier_array0.00160.189720.0008
Override
Cache load0.00160.1864110.0001
Sytem overhead
Fetch class attribute can translate value0.00050.053510.0005
Fetch class attribute name0.00070.082220.0003
XML
Image XML parsing0.00040.048310.0004
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00080.0920170.0000
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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs