ibexa

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

ViewCacheTweaks

Summary

It enables the granular configuration of viewcaching behaviour per node

Usage

ViewCacheTweaks[<node_id>]=<setting>[;<setting2>]

Description

This setting is available since eZ Publish 4.1. It enables the granular configuration of viewcaching behavior per node.

The currently supported settings are: (Please also see the inline description in site.ini for up-to-date list on your version)

  • "disabled" is the same as setting cache_ttl=0 in template, but it is more efficient by knowing about it in advance
  • "pr_user" sets cache page pr user and is more efficient then disabling view cache and using cache-blocks
  • "ignore_discountlist" does not include users shop discountlist in cache hash.
  • "ignore_userroles" does not include users roles in cache hash
  • "ignore_userlimitedlist" does not include users limited policy assignment list in cache hash
  • "ignore_viewparameters" does not include view parameters in cache hash
  • "ignore_userpreferences" does not include users preferences in cache hash.
  • "ignore_siteaccess_name" does not include siteaccess name in cache path, but uses default siteaccess instead
  • "ignore_siteaccess_type" does not include siteaccess type in cache hash

Note that you can also set 'global' as <node_id> to set tweaks globally for all tweaks but then you should set it to "disabled", because there are other settings for that.

Ester Heylen (24/11/2009 11:38 am)

André R. (14/08/2013 2:25 pm)

Ester Heylen, André R.


Comments

There are no comments.