ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

CachedViewModes

Summary

Sets which of the content view modes that use view cache.

Usage

 

CachedViewModes=view1[;view2][;view3]...

Description

This setting enables the viewcache for the specified view modes inside the "view" view of the content module. When view caching is enabled, the entire result of the module will be cached. The cache is stored for each possible role combination on your site. This means that your templates can have conditions based on roles even when caching is on.

In addition, you can enable view caching for the "pdf" view of the content module by specifying "pdf" in this setting. In this case, the actual PDF file will be cached. However, note that the "pdf" view of the content module is deprecated.

Note:Do not change this setting unless you know what you are doing.

Examples

CachedViewModes=full;sitemap;pdf

This makes eZ publish use view cache on the "full" and "sitemap" content view modes ("content/view/full" and "content/view/sitemap"). The output of the "pdf" view within the content module ("content/pdf") will also be cached.

Frederik Holljen (22/04/2005 2:18 pm)

Julia Shymova (18/01/2008 2:12 pm)

Balazs Halasy, Svitlana Shatokhina, Julia Shymova


Comments

There are no comments.