We apologize for the instability of composr.app and appreciate your patience. We are working on the statistics addon and trying to find an optimal way to store and render data. Unfortunately, we have yet to find a solution that can handle the traffic (and therefore, tens of millions of statistical records) of composr.app. We're working hard on one.
$member_id is the from member. We need the to member. Which is not necessarily the same as get_member() (as an admin could be viewing anyone's notification).
delete_cache_entry('_get_notifications', null, $member_id);
$member_id is the from member. We need the to member. Which is not necessarily the same as get_member() (as an admin could be viewing anyone's notification).
2) core_notifications.js has this code
$dom.html(spot, $dom.html(display[0]));
$dom.html(button.firstElementChild, $dom.html(unread[0]));
Which is horrible and needs re-factoring. Pretty sure it's the cause.