Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

viewcache.ini

[class_identifier]

SettingSummary
AdditionalObjectIDs Sets which arbitrary objects that the view caches will be cleared for when an object of the "class_identifier" class is changed.
ClearCacheBlocks This is a new optional setting for clearing cache blocks available in version 4.3 and upwards of eZ Publish
ClearCacheMethod Sets which method(s) to use when clearing the view caches for additional (parent) nodes.
DependentClassIdentifier Sets which content classes that will be considered as "dependent classes" when an object of the "class_identifier" class is changed.
MaxParents Limits clearing the view caches for additional nodes to a specified number of levels.
ObjectFilter Limits clearing the view caches for additional nodes to a specified list of object IDs.

[ViewCacheSettings]

SettingSummary
ClearRelationTypes Controls whether the view caches for objects related in various ways should be cleared or not.
SmartCacheClear Sets if the smart viewcache cleaning system is turned on/off.

Balazs Halasy (23/02/2005 12:41 pm)

Svitlana Shatokhina (19/04/2007 1:03 pm)

Frederik Holljen, Julia Shymova, Svitlana Shatokhina


Comments

  • Put settings only in override/viewache.ini

    eZ Publish 4.0.0 ignores viewcache settings if the ini is placed in the siteaccess settings.

    So always put your viewcache.ini settings in override/viewcache.ini.