Thursday 05 July 2012 10:51:58 am
This is a common mistake about viewcaching and how eZ Publish trash the viewcache for siteaccess
Viewcache are used to cache the HTML result from $module_result.content in the pagelayout. eZ Publish manage viewcaches siteaccess by siteaccess and automatically trash viewcaches when objects are edited. By default, when editing an object, eZ Publish only trash the viewcache of the current object for the current siteaccess.
If you want to trash the viewcache of the current object on other siteaccess (commonly as editing object on the back and trash viewcache on the front), you'll have to linked them each other with the INI array in site.ini[SiteAccessSettings]RelatedSiteAccessList. eZ Publish look in this array to trash viewcache for all related siteaccess.