darklight wrote:
thanks for your changes, not the request only takes 30 seconds simply displaying the messages also takes 30 seconds - so you improved the performance heavily!
Please test also r2674. I see there's at least one place for improvement. When message is added to cache then SELECT and INSERT/UPDATE are executed. I think there're situations when we could skip SELECT query. This should speed up messages and messages list displaying. I'll investigate it later.