-
Bug
-
Resolution: Fixed
-
Critical
-
3.6
-
MOODLE_36_STABLE
-
MOODLE_36_STABLE
-
MDL-64139-master -
At the moment we render the conversation counts on the server which means they happen on each page load. This is unnecessary since the user may not event open the message drawer on each page load.
More importantly it's turning out to be a very complex SQL query to calculate the counts which is going to make performance a real issue.
Instead we should just send an ajax request for the conversation counts when the message drawer is opened. This will save us big time on performance.