Solution: Template Development Without Clearing Cache

You can do template development without having to constantly clear cache! This page is perhaps one of the most important to the largest number of users in the community.

Global Example

Simply add these settings to the following file and clear cache (one last time)

The following example works great with both eZ Publish 3.9 and even better (solution for the best template debug information) with 4.0.

Example File: setting/override/site.ini.append.php

[ContentSettings]
ViewCaching=disabled

[TemplateSettings]
TemplateCache=disabled
TemplateCompile=disabled
DevelopmentMode=enabled
CacheThreshold=0
ShowUsedTemplates=enabled
# TemplateOptimization=enabled
 # Debug=enabled

References

  • None