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

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.

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)

Svitlana Shatokhina (06/11/2006 12:35 pm)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.