[TYPO3-core] RFC #12130: Improve performance of flashmessages

Martin Kutschker masi-no at spam-typo3.org
Tue Oct 6 12:57:24 CEST 2009


Xavier Perseguers schrieb:
> Hi Rupert,
> 
>> this is a SVN patch request.
>>
>> Type: performance improvement
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=12130
>>
>> Branches: Trunk
>>
>> Problem:
>> The current handling of flashmessages in the list module is very
>> unefficient and slows down the BE if there are a a lot of messages.
>> Every single flashmessage is stored in the DB causing a lot of
>> database load.
>>
>> Solution:
>> store the messages in a static object instead of using the DB.
> 
> Hum, this implies that flash messages are shown at the end of the script
> processing, before the request ends. Is it always the case?
> 
> Isn't it possible _yet_ that a request prepares flash messages that are
> shown with another HTTP request?

Whether storing the messages in the DB or some other external storage makes sense or not depends on
the context.

Masi


More information about the TYPO3-team-core mailing list