cache problem with Image gallery

Author Message

Anders Jonasson

Thursday 10 January 2008 2:56:21 am

Hi! I wonder if someone please could help me with my problem with the Image galley.

The problem is that the priority of images in the imagegallery folder doesn't work until I clear the cache or uploading a new image after I set the priority.
When I'm in the full-view for Image in the imagegallery the backward and forward links doesn't work correctly because of the priority problem.

My viewcache.ini,append.php file looks like this.

[folder_image_gallery]
DependentClassIdentifier[]
DependentClassIdentifier[]=folder_root
DependentClassIdentifier[]=folder_toplevel
DependentClassIdentifier[]=folder
MaxParents=1
ClearCacheMethod=clear_object_and_relating_objects_caches

[image]
DependentClassIdentifier[]
DependentClassIdentifier[]=folder_root
DependentClassIdentifier[]=folder_toplevel
DependentClassIdentifier[]=folder
DependentClassIdentifier[]=folder_image_gallery
MaxParents=1
ClearCacheMethod[]
ClearCacheMethod[]=parent
ClearCacheMethod[]=object
ClearCacheMethod[]=siblings

I would be very grateful if someone could help me with this.

/Bisolar.

Ɓukasz Serwatka

Saturday 26 January 2008 1:49:22 pm

Hi,

Which version of eZ Publish do you use?

ClearCacheMethod[]=siblings is available since version 3.8:

ezwebin example:

[image]
DependentClassIdentifier[]=gallery
ClearCacheMethod[]=object
ClearCacheMethod[]=parent
ClearCacheMethod[]=relating
ClearCacheMethod[]=siblings

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.9155 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.0507 591.5313152.6250
Module start 'layout' 0.05070.0066 744.156339.4453
Module start 'content' 0.05720.8570 783.6016530.4297
Module end 'content' 0.91430.0012 1,314.03138.1563
Script end 0.9154  1,322.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3957160.0002
Check MTime0.00140.1562160.0001
Mysql Total
Database connection0.00230.248010.0023
Mysqli_queries0.808688.3264540.0150
Looping result0.00050.0569520.0000
Template Total0.795586.920.3977
Template load0.00220.236120.0011
Template processing0.793386.657220.3967
Template load and register function0.00010.014110.0001
states
state_id_array0.00660.718110.0066
state_identifier_array0.00080.086420.0004
Override
Cache load0.00180.1994340.0001
Sytem overhead
Fetch class attribute can translate value0.00090.103020.0005
Fetch class attribute name0.00170.180630.0006
XML
Image XML parsing0.00070.073320.0003
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00080.0843180.0000
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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs