Skip to the content
Documentation

PreCacheSiteaccessArray

No ratings yet

Summary

Sets the siteaccesses that will have view cache created when an object is published.

Usage

PreCacheSiteaccessArray[]=siteaccess1

PreCacheSiteaccessArray[]=siteaccess2
...

Description

You must enable PreViewCache for this setting to have any effect. The "PreCacheSiteaccessArray" setting controls which siteaccesses the view cache should be generated for when an object is published. Please refer to the "Pre-generation of view cache" section for more information.

Examples

PreViewCache=enabled
PreCacheSiteaccessArray[]=admin
PreCacheSiteaccessArray[]=base

With these settings eZ publish will create view cache when an object is published for the admin and the base siteacesses.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.