Forums / Install & configuration / viewcache.ini settings

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

eZ debug

Timing: Jan 30 2025 21:23:07
Script start
Timing: Jan 30 2025 21:23:07
Module start 'content'
Timing: Jan 30 2025 21:23:07
Module end 'content'
Timing: Jan 30 2025 21:23:07
Script end

Main resources:

Total runtime0.0312 sec
Peak memory usage6,144.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 587.9453370.2969
Module start 'content' 0.00790.0156 958.24221,001.5625
Module end 'content' 0.02350.0076 1,959.804770.7031
Script end 0.0311  2,030.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00258.0772120.0002
Check MTime0.00113.4046120.0001
Mysql Total
Database connection0.00072.327110.0007
Mysqli_queries0.003310.604840.0008
Looping result0.00000.087220.0000
Template Total0.007223.010.0072
Template load0.00072.288810.0007
Template processing0.006520.709110.0065
Override
Cache load0.00051.633810.0005
General
dbfile0.006119.4518100.0006
String conversion0.00000.019930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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