Path

ez.no / ezpublish / documentation / configuration / optimization / caching for improved speed


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.

Template caching

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

Content cache

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

Accurate?

I'm not sure how accurate the reccomended settings are for 3.1-1
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

Contents

Configuration

Configuration
Security
Optimization
    PHP Acceleration
    Disabling the cache
    Configuration tuning
    Caching for improved speed
    Speeding up acrobat pdf document inde...
Backup & Restore
Troubleshooting


Created

10/07/2003
3:27:16 pm
by Bård Farstad

Last updated

16/10/2003
7:40:07 am
by Björn Dieding@xrow.de

Authors

Bård Farstad
Björn Dieding@xrow.de
Tony Wood



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.