[TYPO3-core] RFC: #11260: Feature: Speed up xml2array by adding a two level cache
Steffen Kamper
info at sk-typo3.de
Fri Jun 5 23:22:12 CEST 2009
Hi,
Niels Fröhling schrieb:
>
> You're sure the parser is initiated always the same? (yes we know this
> is a 100 line piece of code, and it's a cake to take of it) One day
> somebody moves the parser out and gives him hints, and the init-state of
> he parser isn't so clear anymore.
>
> It's not a philosophical question, it's a practical one. Error may be
> even related to memory corruption, or a broken XML-module or whatever.
> By caching errors you steal the user the ability to fix a external
> dependency and continue working.
>
> I'm fine with a "slower" BE in the presence of errors. If one user
> makes the error transpire all the way to the FE despite all the
> warnings, well ...
>
if you develop and you want to find errors, there are many way. E.g. you
can disable the cache, or configure cache_hash with nullbackend (ah, an
usecase for it :) )
If error occurs and an exception is thrown, the process will be stopped
and no currupted data will be stored in cache.
vg Steffen
More information about the TYPO3-team-core
mailing list