viewcache.ini settings

Author Message

risto CMS user

Thursday 30 March 2006 12:09:44 am

Hi I need to set som viewcache.ini configurations. But I realy don know how.

My situation is as folows.

I have a multisite ez instalation and the firstpage of the sites fetches contetnt from spesific nodes "firstpage" in all sites. When I add content that I wont on the firstpage i add the location "firstpage" to the item. Its ez 3.6.6

How can I have the cache of the firstpage updatad automaticalu when this is done?

the top node of one of the fites is Object -ID 2473 so is this a start?

[forum]
DependentClassIdentifier[]
DependentClassIdentifier[]=Artikle
ClearCacheMethod=clear_object_and_relating_objects_caches
ObjectFilter[]
ObjectFilter[]=2473

Any ideas, sugestions?

Bertrand Dunogier

Friday 31 March 2006 2:09:18 am

If I understand correctly, you have nodes named firstpage at some places in your hierarchy, and when items are placed in here, you want them shown on the frontpage right ?

What I would suggest is that you make these firstpage nodes related items to the front page. That way, ViewCaching will clear the cache for the front page when a new item is published in one of those related nodes.

Relations are usually the way to go when dealing with ViewCaching.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

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

Main resources:

Total runtime0.0231 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.1328151.2109
Module start 'layout' 0.00440.0043 739.3438220.7031
Module start 'content' 0.00870.0130 960.0469997.8359
Module end 'content' 0.02180.0013 1,957.882829.9922
Script end 0.0231  1,987.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.2466140.0002
Check MTime0.00104.4278140.0001
Mysql Total
Database connection0.00062.609510.0006
Mysqli_queries0.003012.819730.0010
Looping result0.00000.051510.0000
Template Total0.00104.410.0010
Template load0.00083.439810.0008
Template processing0.00020.895210.0002
Override
Cache load0.00062.480710.0006
General
dbfile0.00114.541180.0001
String conversion0.00000.028840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs