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.

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 (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Typo in the example?

    Vittal Aithal ·

    The example shows:

    PreviewCache=enabled

    with a lower-case 'V', but the documentation states it should be PreViewCache with an upper-case 'V'
    vittal

Comments

Add a comment

Comments are read by a moderator before they appear.