The odd bit

Once is an accident, twice is a coincidence, three times is an enemy action.

The odd bit - Once is an accident, twice is a coincidence, three times is an enemy action.

Development mode for templates

eZ systems‘ Jan Borsodi finally provided a solution for one of the biggest issues a developer encounters when developing with eZ publish: compiled templates don’t check the modified times of their source files.

Jan’s patch alleviates this problem by adding an ini setting DevelopmentMode. When enabled, compiled templates contain code to check their source files’ modified times and refresh when needed. It’s recommended to keep this setting disabled on live sites because it could cause slowdowns, but preliminary testing on Windows (which has slow I/O) shows little to no slowdown. It remains to be seen how the setting impacts a full-blown live site. The point releases posted today already contain this new feature.
Meanwhile, Jan has posted a second patch on the mailing list that will make the view cache expire when an “involved” template has been modified. It should be in the code RSN.

Thanks Jan!

Category: eZ publish
Tag:

Your email address will not be published. Required fields are marked *

*