ibexa

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

CacheDir

Summary

Sets the directory where eZ publish stores cache files.

Usage

CacheDir=directory_name

Description

eZ publish creates many cache files to speed up execution. The cache files are stored within "var_dir/directory_name/" where "var_dir" is specified by the VarDir setting.

Note1: Don't change the default setting "cache" unless you know what you are doing.

Note2: Only directories relative to the eZ Publish root are supported. Absolute directories are NOT SUPPORTED. Bear in mind that using an absolute directory will be accepted, but it won't work with some features and is NOT SUPPORTED.

Warning: Assume view caching is on. The expected behavior would be that a cached node which is changed in the admin interface is removed from the cache and regenerated on first access. However, if you use different settings for CacheDir ([FileSettings]) for the site access "example" and "example_admin", then publishing a new version of a document (using example_admin) will not remove the cached node version of "example" (since the cache directories for both site accesses are different).

Examples

VarDir=var
CacheDir=cache

These settings will make eZ publish use the cache dir "var/cache/".

Frederik Holljen (13/04/2005 1:04 pm)

Andrea Melo (25/06/2012 10:13 am)

Frederik Holljen, Svitlana Shatokhina, Geir Arne Waaler, Andrea Melo


Comments

There are no comments.