Skip to the content
Documentation

PreviewCacheUsers

No ratings yet

Summary

Sets the users that should have view cache generated when an object is published.

Usage

PreviewCacheUsers[]=anonymous|current|user_id1

PreviewCacheUsers[]=anonymous|current|user_id2
...

Description

By default eZ publish will generate view cache for the anonymous user. Using this setting you can specify additional user IDs that eZ publish will generate view cache for.
You must enable PreViewCache for this setting to have any effect.

Examples

PreviewCacheUsers[]=anonymous
PreviewCacheUsers[]=current
PreviewCacheUsers[]=23

Using these settings eZ publish will generate view cache for the anonymous user, the current user and the user with ID 23 when an object is published.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.