In this section, we will summarize the configuration settings for caching of a quick site using eZ Publish.
In the global (or siteaccess) site.ini
file, we need to have the following settings enabled:
[RegionalSettings] ... TranslationCache=enabled ... [ContentSettings] ... ViewCaching=enabled PreViewCache=enabled ... [TemplateSettings] ... NodeTreeCaching=enabled TemplateCache=enabled TemplateCompile=enabled TemplateCompression=enabled TemplateOptimization=enabled ... [OverrideSettings] ... Cache=enabled ... [RoleSettings] ... EnableCaching=true UserPolicyCache=enabled ...
Next, in the global viewcache.ini
(or override) file, we need to have the following settings:
[ViewCacheSettings] ClearRelationTypes[]=common ClearRelationTypes[]=reverse_common ClearRelationTypes[]=reverse_embedded ClearRelationTypes[]=reverse_attribute SmartCacheClear=enabled
Moreover, as we said, the installation of an opcode accelerator like APC is also strongly recommended.
18.227.52.7