SmartViewCache and removing objects

Author Message

Mike Melli

Sunday 26 July 2009 3:48:48 pm

Hello -

I have a simple SmartViewCache rule for clearing my site's home page when a new comment is posted:

[ViewCacheSettings]
SmartCacheClear=enabled

[comment]
AdditionalObjectIDs[]
AdditionalObjectIDs[]=248

This seems to work fine when publishing an object, however when I remove a comment via the admin siteaccess, the home object is not cleared. Shouldn't removing an object trigger the same cache rules as publishing?

Anything I can do to remedy this?

Mike Melli

Sunday 26 July 2009 3:54:57 pm

Nevermind.

Stupid mistake. Had my viewcache.ini.append.php in the front-end siteaccess. That's what I get for working on Sundays.

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 15:16:42
Script start
Timing: Jan 18 2025 15:16:42
Module start 'layout'
Timing: Jan 18 2025 15:16:42
Module start 'content'
Timing: Jan 18 2025 15:16:43
Module end 'content'
Timing: Jan 18 2025 15:16:43
Script end

Main resources:

Total runtime0.6590 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.0047 589.0469152.6250
Module start 'layout' 0.00470.0025 741.671939.4609
Module start 'content' 0.00720.6505 781.1328422.9766
Module end 'content' 0.65770.0013 1,204.10948.1563
Script end 0.6590  1,212.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4629160.0002
Check MTime0.00120.1895160.0001
Mysql Total
Database connection0.00060.097610.0006
Mysqli_queries0.623594.6135520.0120
Looping result0.00040.0610500.0000
Template Total0.634896.320.3174
Template load0.00190.283620.0009
Template processing0.632996.039720.3165
Template load and register function0.00010.019710.0001
states
state_id_array0.00100.146710.0010
state_identifier_array0.00100.157720.0005
Override
Cache load0.00150.2286110.0001
Sytem overhead
Fetch class attribute can translate value0.00050.079210.0005
Fetch class attribute name0.00090.143620.0005
XML
Image XML parsing0.00010.022810.0001
class_abstraction
Instantiating content class attribute0.00000.001320.0000
General
dbfile0.00060.0839100.0001
String conversion0.00000.000940.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
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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs