CachedViewPreferences[viewmode1]=setting1[=defaultvalue1];setting2[=defaultvalue2]...
CachedViewPreferences[viewmode2]=setting1[=defaultvalue1];setting2[=defaultvalue2]...
...
Sometimes you have conditions based on user preferences in the templates of cached view modes. eZ publish needs to know the preferences you use per view mode in order to make sure that the caches are correct. You should use this setting if at least one of your templates (including override templates) use a condition based on a user preference.
A typical symptom of a missing CachedViewPreferences setting is if you change a preference setting and the interface is not updated until you clear the cache. Refer to "Configuring the view cache" for more information.
CachedViewPreferences[full]=mysetting;myothersetting=1 CachedViewPreferences[pdf]=myothersetting=1
This example shows a site where at least one of the templates of the "full" view mode uses the mysetting and myothersetting. One of the templates in the "pdf" view also uses the myothersetting setting.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.