ez.no / ezpublish / documentation / configuration / optimization / caching for improved speed
These documentation pages are no longer maintained. Please visit the new documentation site.
eZ publish has support for cache on different levels. Template code, template result and views can be cached.
There are two different caching mechanisms in eZ publish. Node tree caching and template compiling. These should not be used at the same time though.
Using eZ publish 3.1 or newer you should use template compling, since this is the most effictive way of caching template code.
You can enable caching in site.ini. Recommended settings from 3.1:
[TemplateSettings] NodeTreeCaching=disabled TemplateCompile=enabled ProcessCaching=enabled TemplateCache=enabled
The content cache is result caching of node view. E.g. an whole article, forum message or product view page.
You can enable this in site.ini:
[ContentSettings] ViewCaching=enabled
Comments
More options
Xavier Dutoit
Tuesday 28 March 2006 5:46:32 pm
http://ez.no/community/forum/general/ez_speed_optimisation_faq
Accurate?
Bruce Morrison
Thursday 23 October 2003 8:01:33 am
From the /var/settings/site.ini
# Note: The template compiling is currently experimental and may not render templates correctly yet.
TemplateCompile=disabled
Neither
ProcessCaching=enabled
TemplateCache=enabled
appear to be valid options in 3.1-1