In the default configuration, all of the major levels of caching are enabled. If you install a "white label" eZ Publish, the only level not enabled by default is the Smart Cache, which needs to be configured manually, as seen in the previous section.
When we develop our project, it is very inconvenient to have the ContentCache
setting enabled. This is because it means that we have to delete it every time we want to see the changes that we applied to a template.
To solve this problem, you can enable the DevelopmentMode
setting in the TemplateSettings
section of the global (or override) site.ini
file that performs many more checks on the cancellation time of a template. But that directive is effective only on the content's cache, and not on the layout cache block.
If you want to disable the cache in an absolute way, you must add the following configuration settings to the global (or siteaccess) site.ini.append.php
file:
[ContentSettings] ViewCaching=disabled [TemplateSettings...