Author Topic

Gaetano Giunta

Sunday 05 June 2011 2:01:45 pm

Comment68483

A new ini setting is just a way to add new features while striving for maximum backwards compatibility - not testing if original template is still there is mostly safe, but what I propose is not to check if the original template is newer than the cached version, and this might have an impact.

About marking it as part of another issue: it's just about linking related issues together - for every possible topic there are at least a dozen issues already in the tracker, and before submitting code to close them it is good to have a broader overview. It also helps in closing old issues that otherwise linger forever...

Last but not least: if the original templates are present on the target server, you should be able to copy the compiled version after having produced it somewhere else. You'll just need to make sure that the timestamp of the compiled version is later than the one of the original template.

One more detail: for every 'page' shown by eZ, I think the check for presence of the original template applies in general to only 2 templates. All templates included via 'include' template operator calls are not checked for presence of the original or its timestamp...

Principal Consultant International Business
Member of the Community Project Board