[TYPO3-core] RFC: #11260: Feature: Speed up xml2array by adding a two level cache

Steffen Kamper info at sk-typo3.de
Thu Jun 4 10:59:38 CEST 2009


Hi,

Ingo Renner schrieb:
> Fabrizio Branca wrote:
> 
> 
>>> When the XML parser fails with an error message (e.g. "Line x: no
>>> element found") that result can be in the runtime cache but should not
>>> enter the database cache. Checking whether the result of
>>> xml2arrayProcess() is an array should be enough here...
>>
>> Why shouldn't even this be cached?
> 
> cause there's little to no sense in caching erronious results?! ;)
> 

isn't that philosophical? :)

from technical side it saves time. The error happen in user manipulation 
of xml. But the error could throw an exception.

vg Steffen


More information about the TYPO3-team-core mailing list